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;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mForceCorrection;
22 ::ll::TypedStorage<1, 1, bool> mShouldReportNextCorrectionTelemetry;
23 ::ll::TypedStorage<1, 1, bool> mIsCorrectionTelemetryEnabled;
24 ::ll::TypedStorage<1, 1, uchar> mDivergenceCounter;
25 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorHistory>> mHistory;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IReplayStatePolicy>> mPolicy;
27 ::ll::TypedStorage<8, 8, uint64> mCurrentTick;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI ::AdvanceFrameResult _applyCorrection(
39 ::std::shared_ptr<::IMovementCorrection> correction,
40 ::Actor& actor,
41 uint64 destinationTimestamp,
42 bool addInput
43 ) const;
44
45 MCAPI ::ReplayCorrectionResult
46 applyFrameCorrection(::Actor& actor, ::std::shared_ptr<::IMovementCorrection> correction, uint64 frame);
47
48 MCAPI ::ReplayStateComponent& operator=(::ReplayStateComponent&&);
49
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCAPI void $dtor();
57 // NOLINTEND
58};
Definition ActorHistory.h:10
Definition Actor.h:104
Definition ReplayStateComponent.h:17
Definition IMovementCorrection.h:15
Definition IReplayStatePolicy.h:15