LeviLamina
Loading...
Searching...
No Matches
ActorHistory Class Reference

Classes

struct  Snapshot

Public Member Functions

MCAPI void addCorrectionToFrame (::std::shared_ptr<::IMovementCorrection > correction, uint64 frame)
MCAPI_C void addFrame (::EntityContext &entity, uint64 frame, ::EntityRegistry &registry)
MCAPI void queueCorrection (::std::shared_ptr<::IMovementCorrection > correction)

Static Public Member Functions

static MCAPI_C ::ActorHistory::Snapshot createSnapshot (::EntityContext const &entity, ::EntityRegistry &registry, ::std::unique_ptr<::IReplayableActorInput > input)

Public Attributes

::ll::TypedStorage< 8, 8, uint64 const > mHistoryWindow
::ll::TypedStorage< 8, 40, ::std::deque<::ActorHistory::Snapshot > > mSnapshots
::ll::TypedStorage< 8, 8, uint64 > mOldestFrame
::ll::TypedStorage< 4, 4, ::std::bitset< 2 > > mPendingCorrections
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::IMovementCorrection > > > mQueuedCorrection
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IReplayableActorInput > > mNextInput

The documentation for this class was generated from the following file: