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
11
class
EntityContext
;
12
class
PlayerAuthInputPacket
;
13
struct
MovementCorrection
;
14
// clang-format on
15
16
class
ServerCorrectionPolicy
:
public
::IReplayStatePolicy
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::UntypedStorage<8, 8>
mUnk2554b0;
21
::ll::UntypedStorage<8, 16>
mUnk2fab45;
22
::ll::UntypedStorage<4, 20>
mUnk93eaea;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
ServerCorrectionPolicy
& operator=(
ServerCorrectionPolicy
const
&);
28
ServerCorrectionPolicy
(
ServerCorrectionPolicy
const
&);
29
ServerCorrectionPolicy
();
30
31
public
:
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
58
public
:
59
// destructor thunk
60
// NOLINTBEGIN
61
62
// NOLINTEND
63
64
public
:
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
83
public
:
84
// vftables
85
// NOLINTBEGIN
86
MCAPI
static
void
** $vftable();
87
// NOLINTEND
88
};
EntityContext
Definition
EntityContext.h:16
PlayerAuthInputPacket
Definition
PlayerAuthInputPacket.h:27
ServerCorrectionPolicy
Definition
ServerCorrectionPolicy.h:16
IReplayStatePolicy
Definition
IReplayStatePolicy.h:15
MovementCorrection
Definition
MovementCorrection.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
entity
components
ServerCorrectionPolicy.h
Generated on Sat Apr 26 2025 05:55:35 for LeviLamina by
1.12.0