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/utilities/AdvanceFrameResult.h"
8
9// auto generated forward declare list
10// clang-format off
11class EntityContext;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 1
34 virtual bool isReplayNeeded(::AdvanceFrameResult result) const /*override*/;
35
36 // vIndex: 2
37 virtual bool canRewind(::EntityContext const& entity) /*override*/;
38
39 // vIndex: 3
40 virtual ::MovementCorrection
41 shouldCorrectMovement(::EntityContext&, ::PlayerAuthInputPacket const&, uint64, uchar) /*override*/;
42
43 // vIndex: 4
44 virtual bool validateFrameSupport(::EntityContext& entity) /*override*/;
45
46 // vIndex: 5
47 virtual void notifyOfExternalCorrection(uint64) /*override*/;
48
49 // vIndex: 0
50 virtual ~ClientReplayStatePolicy() /*override*/ = default;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI bool _checkSupportedFrame(::EntityContext& entity) const;
57 // NOLINTEND
58
59public:
60 // static functions
61 // NOLINTBEGIN
62 MCAPI static bool _isSupportedMovementMode(::EntityContext const& entity);
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCFOLD bool $isReplayNeeded(::AdvanceFrameResult result) const;
75
76 MCAPI bool $canRewind(::EntityContext const& entity);
77
78 MCAPI ::MovementCorrection $shouldCorrectMovement(::EntityContext&, ::PlayerAuthInputPacket const&, uint64, uchar);
79
80 MCAPI bool $validateFrameSupport(::EntityContext& entity);
81
82 MCFOLD void $notifyOfExternalCorrection(uint64);
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCAPI static void** $vftable();
89 // NOLINTEND
90};
Definition ClientReplayStatePolicy.h:16
Definition EntityContext.h:16
Definition PlayerAuthInputPacket.h:27
Definition IReplayStatePolicy.h:15
Definition MovementCorrection.h:5
Definition Alias.h:14