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/entity/components/IReplayStatePolicy.h"
7#include "mc/entity/components/ReplayStateConfig.h"
8#include "mc/entity/utilities/AdvanceFrameResult.h"
9#include "mc/world/level/dimension/DimensionType.h"
10
11// auto generated forward declare list
12// clang-format off
13class EntityContext;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 8, ::std::optional<::DimensionType>> mLastDimension;
23 ::ll::TypedStorage<4, 20, ::ReplayStateConfig> mConfig;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual bool isReplayNeeded(::AdvanceFrameResult result) const /*override*/;
30
31 virtual ::MovementCorrection
32 shouldCorrectMovement(::EntityContext&, ::PlayerAuthInputPacket const&, uint64, uchar, bool) /*override*/;
33
34 virtual void notifyOfExternalCorrection(uint64) /*override*/;
35 // NOLINTEND
36
37public:
38 // virtual function thunks
39 // NOLINTBEGIN
40 MCFOLD bool $isReplayNeeded(::AdvanceFrameResult result) const;
41
42 MCAPI ::MovementCorrection
43 $shouldCorrectMovement(::EntityContext&, ::PlayerAuthInputPacket const&, uint64, uchar, bool);
44
45 MCFOLD void $notifyOfExternalCorrection(uint64);
46
47
48 // NOLINTEND
49
50public:
51 // vftables
52 // NOLINTBEGIN
53 MCAPI static void** $vftable();
54 // NOLINTEND
55};
Definition ClientReplayStatePolicy.h:18
Definition EntityContext.h:17
Definition PlayerAuthInputPacket.h:27
Definition IReplayStatePolicy.h:15
Definition MovementCorrection.h:9