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: 2
35
virtual ::MovementCorrection shouldCorrectMovement(
36
::EntityContext
& entity,
37
::PlayerAuthInputPacket
const
& packet,
38
uint64 frame,
39
uchar
const
currentCounter,
40
bool
isStrictMovement
41
)
/*override*/
;
42
43
// vIndex: 1
44
virtual
bool
isReplayNeeded(::AdvanceFrameResult)
const
/*override*/
;
45
46
// vIndex: 3
47
virtual
void
notifyOfExternalCorrection(uint64 frame)
/*override*/
;
48
49
// vIndex: 0
50
virtual
~ServerCorrectionPolicy
()
/*override*/
=
default
;
51
// NOLINTEND
52
53
public
:
54
// virtual function thunks
55
// NOLINTBEGIN
56
MCNAPI ::MovementCorrection
$shouldCorrectMovement
(
57
::EntityContext
& entity,
58
::PlayerAuthInputPacket
const
& packet,
59
uint64 frame,
60
uchar
const
currentCounter,
61
bool
isStrictMovement
62
);
63
64
MCNAPI
bool
$isReplayNeeded
(::AdvanceFrameResult)
const
;
65
66
MCNAPI
void
$notifyOfExternalCorrection
(uint64 frame);
67
// NOLINTEND
68
69
public
:
70
// vftables
71
// NOLINTBEGIN
72
MCNAPI
static
void
**
$vftable
();
73
// NOLINTEND
74
};
EntityContext
Definition
EntityContext.h:16
PlayerAuthInputPacket
Definition
PlayerAuthInputPacket.h:27
ServerCorrectionPolicy
Definition
ServerCorrectionPolicy.h:16
ServerCorrectionPolicy::$notifyOfExternalCorrection
MCAPI void $notifyOfExternalCorrection(uint64 frame)
ServerCorrectionPolicy::$isReplayNeeded
MCAPI bool $isReplayNeeded(::AdvanceFrameResult) const
ServerCorrectionPolicy::$shouldCorrectMovement
MCAPI::MovementCorrection $shouldCorrectMovement(::EntityContext &entity, ::PlayerAuthInputPacket const &packet, uint64 frame, uchar const currentCounter, bool isStrictMovement)
ServerCorrectionPolicy::$vftable
static MCAPI void ** $vftable()
IReplayStatePolicy
Definition
IReplayStatePolicy.h:15
MovementCorrection
Definition
MovementCorrection.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
entity
components
ServerCorrectionPolicy.h
Generated on Fri Jun 13 2025 05:04:32 for LeviLamina by
1.12.0