LeviLamina
Loading...
Searching...
No Matches
IReplayStatePolicy.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/entity/utilities/AdvanceFrameResult.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
EntityContext
;
11
class
PlayerAuthInputPacket
;
12
struct
MovementCorrection
;
13
// clang-format on
14
15
struct
IReplayStatePolicy
{
16
public
:
17
// virtual functions
18
// NOLINTBEGIN
19
// vIndex: 0
20
virtual
~IReplayStatePolicy
() =
default
;
21
22
// vIndex: 1
23
virtual
bool
isReplayNeeded(::AdvanceFrameResult)
const
= 0;
24
25
// vIndex: 2
26
virtual
bool
canRewind(
::EntityContext
const
&) = 0;
27
28
// vIndex: 3
29
virtual ::MovementCorrection
30
shouldCorrectMovement(
::EntityContext
&,
::PlayerAuthInputPacket
const
&, uint64, uchar) = 0;
31
32
// vIndex: 4
33
virtual
bool
validateFrameSupport(
::EntityContext
&) = 0;
34
35
// vIndex: 5
36
virtual
void
notifyOfExternalCorrection(uint64) = 0;
37
// NOLINTEND
38
39
public
:
40
// destructor thunk
41
// NOLINTBEGIN
42
43
// NOLINTEND
44
45
public
:
46
// virtual function thunks
47
// NOLINTBEGIN
48
49
// NOLINTEND
50
};
EntityContext
Definition
EntityContext.h:16
PlayerAuthInputPacket
Definition
PlayerAuthInputPacket.h:27
IReplayStatePolicy
Definition
IReplayStatePolicy.h:15
MovementCorrection
Definition
MovementCorrection.h:5
src
mc
entity
components
IReplayStatePolicy.h
Generated on Sat Apr 26 2025 05:55:34 for LeviLamina by
1.12.0