AnimNotifyState struct

Per-tick deduplication state for animation notifies; prevents double-fire within a loop iteration. Not persistent across ticks — Clear() is called by AnimConstruct::BeginAnimTick each frame.

Public static variables

static uint32_t MaxFireRecords constexpr

Public functions

void Clear()
Reset all fire records at the start of a tick.
auto HasFiredThisLoop(NotifyID id, uint32_t slot, SimFloat loopStart) const -> bool
Returns true if id has already been fired for slot at or after loopStart this tick.
void RecordFire(NotifyID id, uint32_t slot, SimFloat time)
Record that id was fired for slot at time; silently drops if the buffer is full.
void ClearLoopedRecords(uint32_t slot, SimFloat newLoopStart)
Remove all records for slot whose fire time predates newLoopStart (loop wrap occurred).

Public variables

NotifyFireRecord fired
uint32_t firedCount