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
IMovementCorrection.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
Actor
;
11
class
EntityContext
;
12
namespace
MovementDataExtractionUtility {
class
SnapshotAccessor
; }
13
// clang-format on
14
15
struct
IMovementCorrection
{
16
public
:
17
// virtual functions
18
// NOLINTBEGIN
19
virtual
~IMovementCorrection
() =
default
;
20
21
#ifdef LL_PLAT_S
22
virtual ::AdvanceFrameResult
23
getAdvanceFrameResult(
::MovementDataExtractionUtility::SnapshotAccessor
const
& snapshot);
24
#else
// LL_PLAT_C
25
virtual ::AdvanceFrameResult getAdvanceFrameResult(
::MovementDataExtractionUtility::SnapshotAccessor
const
& entity);
26
#endif
27
28
virtual
void
advanceLiveFrame(
::Actor
&, ::std::optional<uint64>) = 0;
29
30
virtual ::std::bitset<2> getCorrectionTypeBitset()
const
= 0;
31
32
#ifdef LL_PLAT_S
33
virtual
void
advanceFrame(
::EntityContext
& rewindEntity)
const
= 0;
34
#else
// LL_PLAT_C
35
virtual
void
advanceFrame(
::EntityContext
& entity)
const
= 0;
36
#endif
37
38
// NOLINTEND
39
40
public
:
41
// virtual function thunks
42
// NOLINTBEGIN
43
#ifdef LL_PLAT_C
44
MCNAPI ::AdvanceFrameResult $getAdvanceFrameResult(
::MovementDataExtractionUtility::SnapshotAccessor
const
& entity);
45
#endif
46
47
48
// NOLINTEND
49
};
Actor
Definition
Actor.h:116
EntityContext
Definition
EntityContext.h:15
MovementDataExtractionUtility::SnapshotAccessor
Definition
SnapshotAccessor.h:7
IMovementCorrection
Definition
IMovementCorrection.h:15
src
mc
entity
utilities
IMovementCorrection.h
Generated on
for LeviLamina by
1.16.1