RLMeshStepEvent
Contexts are shared and retained independently from hook invocation. Every protocol slot is required; NULL slots fail with INVALID_ARGUMENT.
struct RLMeshStepEventFields
- struct_size
size_t struct_size - episode
int64_t episode - has_seed
bool has_seed - seed
int64_t seed - step
int64_t step - observation
const RLMeshValue* observation - action
const RLMeshValue* action - reward
double reward - terminated
bool terminated - truncated
bool truncated - info
const RLMeshValue* info - predict_ms
double predict_ms - step_ms
double step_ms - context
const RLMeshRunContext* context
struct_size
field[source]size_t struct_sizeepisode
field[source]int64_t episodehas_seed
field[source]bool has_seedseed
field[source]int64_t seedstep
field[source]int64_t stepobservation
field[source]const RLMeshValue* observationaction
field[source]const RLMeshValue* actionreward
field[source]double rewardterminated
field[source]bool terminatedtruncated
field[source]bool truncatedinfo
field[source]const RLMeshValue* infopredict_ms
field[source]double predict_msstep_ms
field[source]double step_mscontext
field[source]const RLMeshRunContext* context