RollbackSim struct
TRollbackMode policy for LogicThread — owns all rollback state and logic.
Template method bodies live in RollbackImpl.h; non-template bodies in RollbackSim.cpp.
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.
- std::vector<uint8_t> GroundTruthBackup
- Authority state captured for post-resim diff.