LeviLamina
Loading...
Searching...
No Matches
ClientReplayStatePolicy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/entity/components/IReplayStatePolicy.h"
8#include "mc/entity/components/ReplayStateConfig.h"
9#include "mc/entity/utilities/AdvanceFrameResult.h"
10
11// auto generated forward declare list
12// clang-format off
13class Dimension;
14class EntityContext;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 8, ::std::optional<::DimensionType>> mLastDimension;
24 ::ll::TypedStorage<4, 20, ::ReplayStateConfig> mConfig;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 1
31 virtual bool isReplayNeeded(::AdvanceFrameResult result) const /*override*/;
32
33 // vIndex: 2
34 virtual ::MovementCorrection
35 shouldCorrectMovement(::EntityContext&, ::PlayerAuthInputPacket const&, uint64, uchar, bool) /*override*/;
36
37 // vIndex: 3
38 virtual void notifyOfExternalCorrection(uint64) /*override*/;
39
40 // vIndex: 0
41 virtual ~ClientReplayStatePolicy() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCFOLD bool $isReplayNeeded(::AdvanceFrameResult result) const;
48
49 MCAPI ::MovementCorrection
50 $shouldCorrectMovement(::EntityContext&, ::PlayerAuthInputPacket const&, uint64, uchar, bool);
51
52 MCFOLD void $notifyOfExternalCorrection(uint64);
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCAPI static void** $vftable();
59 // NOLINTEND
60};
Definition ClientReplayStatePolicy.h:19
Definition Dimension.h:83
Definition EntityContext.h:16
Definition PlayerAuthInputPacket.h:27
Definition IReplayStatePolicy.h:15
Definition MovementCorrection.h:9