LeviLamina
Loading...
Searching...
No Matches
ReplayStateComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/entity/components/ReplayCorrectionResult.h"
7#include "mc/entity/utilities/AdvanceFrameResult.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class ActorHistory;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mForceCorrection;
23 ::ll::TypedStorage<1, 1, bool> mShouldReportNextCorrectionTelemetry;
24 ::ll::TypedStorage<1, 1, bool> mIsCorrectionTelemetryEnabled;
25 ::ll::TypedStorage<1, 1, uchar> mDivergenceCounter;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorHistory>> mHistory;
27 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IReplayStatePolicy>> mPolicy;
28 ::ll::TypedStorage<8, 8, uint64> mCurrentTick;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI ::AdvanceFrameResult _applyCorrection(
35 ::std::shared_ptr<::IMovementCorrection> correction,
36 ::Actor& actor,
37 uint64 destinationTimestamp,
38 bool addInput
39 ) const;
40
41 MCAPI ::ReplayCorrectionResult
42 applyFrameCorrection(::Actor& actor, ::std::shared_ptr<::IMovementCorrection> correction, uint64 frame);
43
44#ifdef LL_PLAT_C
45 MCAPI ::IReplayableActorInput* getCurrentCapturedInput();
46#endif
47
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCAPI void $dtor();
55 // NOLINTEND
56};
Definition ActorHistory.h:16
Definition Actor.h:113
Definition ReplayStateComponent.h:18
Definition IMovementCorrection.h:15
Definition IReplayStatePolicy.h:15
Definition IReplayableActorInput.h:29