dao::commands::SubAction

struct

One step of a command. Times are in milliseconds of the creature’s own clock.

Declared in dao/SubActions.h.

Fields

Field Type  
delayMs std::int32_t = 0 time still to wait before the step runs
durationMs std::int32_t = 0 0 if the step is untimed, or timed but not yet started
elapsedMs std::int32_t = 0 how much of the duration has passed
type std::uint32_t = 0 the kind of step, such as 37 for an animation