Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
virtual
~IReplayStatePolicy
() =
default
;
20
21
virtual
bool
isReplayNeeded(::AdvanceFrameResult result)
const
= 0;
22
23
virtual ::MovementCorrection
24
shouldCorrectMovement(
::EntityContext
&,
::PlayerAuthInputPacket
const
&, uint64, uchar,
bool
) = 0;
25
26
virtual
void
notifyOfExternalCorrection(uint64 frame) = 0;
27
// NOLINTEND
28
};
EntityContext
Definition
EntityContext.h:15
PlayerAuthInputPacket
Definition
PlayerAuthInputPacket.h:19
IReplayStatePolicy
Definition
IReplayStatePolicy.h:15
MovementCorrection
Definition
MovementCorrection.h:9
src
mc
entity
components
IReplayStatePolicy.h
Generated on
for LeviLamina by
1.16.1