RollbackSim struct

TRollbackMode policy for LogicThread — owns all rollback state and logic.

Template method bodies live in Core/Private/RollbackImpl.h (included only by LogicThread.cpp, which instantiates them); non-template bodies in RollbackSim.cpp.

Public types

struct GroundTruthSnapshot
Snapshot of the ground-truth ECS frame captured before rollback resimulation.

Public static variables

static bool Enabled constexpr
Enables rollback paths in LogicThread.
static uint32_t RollbackFrameCount constexpr
Frames of history kept for resimulation.

Public variables

TrinyxMPMCRing<EntityTransformCorrection> IncomingCorrections
Lock-free; net/worker threads push, Logic thread drains.
TrinyxMPMCRing<EntityTransformCorrection> IncomingPredictedCorrections
Lock-free; net/worker threads push, Logic thread drains.
std::vector<EntityTransformCorrection> PendingCorrections
Logic-thread staging; drained from IncomingCorrections each tick.
std::queue<EntityTransformCorrection> PendingPredictedCorrections
Logic-thread staging; drained from IncomingPredictedCorrections each tick.
std::vector<uint8_t> TemporalSlabBackup
Pre-rollback slab snapshot for determinism validation.
std::vector<uint8_t> VolatileSlabBackup
Pre-rollback slab snapshot for determinism validation.
GroundTruthSnapshot GroundTruth
Populated by ExecuteRollbackTest before calling ExecuteRollback.