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
11
class
EntityContext
;
12
class
PlayerAuthInputPacket
;
13
struct
MovementCorrection
;
14
// clang-format on
15
16
class
ClientReplayStatePolicy
:
public
::IReplayStatePolicy
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::UntypedStorage<4, 8>
mUnka1d393;
21
::ll::UntypedStorage<4, 20>
mUnk4025aa;
22
// NOLINTEND
23
24
public
:
25
// prevent constructor by default
26
ClientReplayStatePolicy
& operator=(
ClientReplayStatePolicy
const
&);
27
ClientReplayStatePolicy
(
ClientReplayStatePolicy
const
&);
28
ClientReplayStatePolicy
();
29
30
public
:
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
53
public
:
54
// member functions
55
// NOLINTBEGIN
56
MCAPI
bool
_checkSupportedFrame(
::EntityContext
& entity)
const
;
57
// NOLINTEND
58
59
public
:
60
// static functions
61
// NOLINTBEGIN
62
MCAPI
static
bool
_isSupportedMovementMode(
::EntityContext
const
& entity);
63
// NOLINTEND
64
65
public
:
66
// destructor thunk
67
// NOLINTBEGIN
68
69
// NOLINTEND
70
71
public
:
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
85
public
:
86
// vftables
87
// NOLINTBEGIN
88
MCAPI
static
void
** $vftable();
89
// NOLINTEND
90
};
ClientReplayStatePolicy
Definition
ClientReplayStatePolicy.h:16
EntityContext
Definition
EntityContext.h:16
PlayerAuthInputPacket
Definition
PlayerAuthInputPacket.h:27
IReplayStatePolicy
Definition
IReplayStatePolicy.h:15
MovementCorrection
Definition
MovementCorrection.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
entity
components
ClientReplayStatePolicy.h
Generated on Sat Apr 26 2025 05:55:34 for LeviLamina by
1.12.0