28 ::ll::TypedStorage<8, 32, ::OwnerPtr<::EntityContext>> mSnapshotState;
29 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::IMovementCorrection>>> mCorrections;
30 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IReplayableActorInput>> mCapturedInput;
31 ::ll::TypedStorage<1, 1, bool> mIsCorrection;
54 ::ll::TypedStorage<8, 8, uint64 const> mHistoryWindow;
55 ::ll::TypedStorage<8, 40, ::std::deque<::ActorHistory::Snapshot>> mSnapshots;
56 ::ll::TypedStorage<8, 8, uint64> mOldestFrame;
57 ::ll::TypedStorage<4, 4, ::std::bitset<2>> mPendingCorrections;
58 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::IMovementCorrection>>> mQueuedCorrection;
59 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IReplayableActorInput>> mNextInput;
69 MCAPI
explicit ActorHistory(uint64 historyWindow);
71 MCAPI
void addCorrectionToFrame(::std::shared_ptr<::IMovementCorrection> correction, uint64 frame);
77 MCAPI
void clearFrames();
80 MCFOLD ::ActorHistory::Snapshot
const* getFrame(uint64 frame)
const;
83 MCFOLD ::ActorHistory::Snapshot* getFrame(uint64 frame);
86 MCFOLD uint64 getHistoryWindow()
const;
89 MCFOLD uint64 getOldestFrame()
const;
91 MCAPI ::IReplayableActorInput* getOrCreateNextFrame();
93 MCAPI
void queueCorrection(::std::shared_ptr<::IMovementCorrection> correction);
95 MCAPI
void setSnapshotAsCorrection(uint64 frame);
97 MCAPI ~ActorHistory();
104 MCAPI static ::ActorHistory::Snapshot createSnapshot(
107 ::std::unique_ptr<::IReplayableActorInput> input
110 MCAPI
static void prepareEntityForRewindFromCapture(
123 MCAPI
void* $ctor(uint64 historyWindow);
Definition EntityContext.h:17
Definition ActorHistory.h:24