LeviLamina
Loading...
Searching...
No Matches
ServerCorrectionPolicy.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
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 3
35 virtual ::MovementCorrection shouldCorrectMovement(
36 ::EntityContext& entity,
37 ::PlayerAuthInputPacket const& packet,
38 uint64 frame,
39 uchar const currentCounter
40 ) /*override*/;
41
42 // vIndex: 2
43 virtual bool canRewind(::EntityContext const&) /*override*/;
44
45 // vIndex: 1
46 virtual bool isReplayNeeded(::AdvanceFrameResult) const /*override*/;
47
48 // vIndex: 4
49 virtual bool validateFrameSupport(::EntityContext&) /*override*/;
50
51 // vIndex: 5
52 virtual void notifyOfExternalCorrection(uint64 frame) /*override*/;
53
54 // vIndex: 0
55 virtual ~ServerCorrectionPolicy() /*override*/ = default;
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI ::MovementCorrection $shouldCorrectMovement(
68 ::EntityContext& entity,
69 ::PlayerAuthInputPacket const& packet,
70 uint64 frame,
71 uchar const currentCounter
72 );
73
74 MCFOLD bool $canRewind(::EntityContext const&);
75
76 MCFOLD bool $isReplayNeeded(::AdvanceFrameResult) const;
77
78 MCFOLD bool $validateFrameSupport(::EntityContext&);
79
80 MCAPI void $notifyOfExternalCorrection(uint64 frame);
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
Definition EntityContext.h:16
Definition PlayerAuthInputPacket.h:27
Definition ServerCorrectionPolicy.h:16
Definition IReplayStatePolicy.h:15
Definition MovementCorrection.h:5
Definition Alias.h:14