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
PublishSystem.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/Optional.h"
7
#include "mc/deps/ecs/ViewT.h"
8
#include "mc/deps/ecs/strict/AddRemove.h"
9
#include "mc/deps/ecs/strict/EntityFactoryT.h"
10
#include "mc/deps/ecs/strict/Filter.h"
11
#include "mc/deps/ecs/strict/GlobalRead.h"
12
#include "mc/deps/ecs/strict/GlobalWrite.h"
13
#include "mc/deps/ecs/strict/IStrictTickingSystem.h"
14
#include "mc/deps/ecs/strict/Include.h"
15
#include "mc/deps/ecs/strict/Read.h"
16
#include "mc/deps/ecs/strict/StrictExecutionContext.h"
17
#include "mc/deps/ecs/strict/Write.h"
18
19
// auto generated forward declare list
20
// clang-format off
21
class
ReplayStateComponent
;
22
class
StrictEntityContext
;
23
struct
ActorDataBoundingBoxComponent
;
24
struct
ActorDataFlagComponent
;
25
struct
ActorDataHorseFlagComponent
;
26
struct
ActorDataJumpDurationComponent
;
27
struct
ActorDataSeatOffsetComponent
;
28
struct
InterpolateMovementNeededComponent
;
29
struct
ReplayStateTrackerComponent
;
30
// clang-format on
31
32
namespace
ClientRewind {
33
34
struct
PublishSystem
:
public
::IStrictTickingSystem
<::StrictExecutionContext<
35
::Filter<::InterpolateMovementNeededComponent>,
36
::Read<
37
::ActorDataFlagComponent,
38
::ActorDataHorseFlagComponent,
39
::ActorDataJumpDurationComponent,
40
::ActorDataBoundingBoxComponent,
41
::ActorDataSeatOffsetComponent>,
42
::Write<::ReplayStateTrackerComponent, ::ReplayStateComponent>,
43
::AddRemove<>,
44
::GlobalRead<>,
45
::GlobalWrite<>,
46
::EntityFactoryT<>>> {
47
public
:
48
// PublishSystem inner types declare
49
// clang-format off
50
struct
Views
;
51
// clang-format on
52
53
// PublishSystem inner types define
54
struct
Views
{
55
public
:
56
// member variables
57
// NOLINTBEGIN
58
::ll::TypedStorage<
59
8,
60
64,
61
::ViewT
<
62
::StrictEntityContext
,
63
::Include<::InterpolateMovementNeededComponent>
,
64
::ReplayStateComponent
,
65
::ReplayStateTrackerComponent
>>
66
mView;
67
::ll::TypedStorage<
68
8,
69
24,
70
::ViewT
<
71
::StrictEntityContext
,
72
::ActorDataFlagComponent
const
,
73
::Optional<::ActorDataHorseFlagComponent const>
,
74
::Optional<::ActorDataJumpDurationComponent const>
,
75
::Optional<::ActorDataBoundingBoxComponent const>
,
76
::Optional<::ActorDataSeatOffsetComponent const>
>>
77
mTracked;
78
// NOLINTEND
79
};
80
81
using
Base =
::IStrictTickingSystem
<
::StrictExecutionContext
<
82
::Filter<::InterpolateMovementNeededComponent>
,
83
::Read
<
84
::ActorDataFlagComponent
,
85
::ActorDataHorseFlagComponent
,
86
::ActorDataJumpDurationComponent
,
87
::ActorDataBoundingBoxComponent
,
88
::ActorDataSeatOffsetComponent
>,
89
::Write<::ReplayStateTrackerComponent, ::ReplayStateComponent>
,
90
::AddRemove<>
,
91
::GlobalRead<>
,
92
::GlobalWrite<>
,
93
::EntityFactoryT<>
>>;
94
95
public
:
96
// member variables
97
// NOLINTBEGIN
98
::ll::TypedStorage<8, 96, ::std::optional<::ClientRewind::PublishSystem::Views>> mViews;
99
// NOLINTEND
100
101
public
:
102
// virtual functions
103
// NOLINTBEGIN
104
virtual
void
tick(
105
::StrictExecutionContext
<
106
::Filter<::InterpolateMovementNeededComponent>
,
107
::Read
<
108
::ActorDataFlagComponent
,
109
::ActorDataHorseFlagComponent
,
110
::ActorDataJumpDurationComponent
,
111
::ActorDataBoundingBoxComponent
,
112
::ActorDataSeatOffsetComponent
>,
113
::Write<::ReplayStateTrackerComponent, ::ReplayStateComponent>
,
114
::AddRemove<>
,
115
::GlobalRead<>
,
116
::GlobalWrite<>
,
117
::EntityFactoryT<>
>& executionContext
118
)
/*override*/
;
119
// NOLINTEND
120
121
public
:
122
// static functions
123
// NOLINTBEGIN
124
#ifdef LL_PLAT_C
125
MCNAPI
static
void
tickEntity(
126
::StrictEntityContext
const
& entity,
127
::ReplayStateComponent
& replay,
128
::ReplayStateTrackerComponent
& tracker,
129
::ViewT
<
130
::StrictEntityContext
,
131
::ActorDataFlagComponent
const
,
132
::Optional<::ActorDataHorseFlagComponent const>
,
133
::Optional<::ActorDataJumpDurationComponent const>
,
134
::Optional<::ActorDataBoundingBoxComponent const>
,
135
::Optional<::ActorDataSeatOffsetComponent const>
>
const
& tracked
136
);
137
#endif
138
// NOLINTEND
139
140
public
:
141
// virtual function thunks
142
// NOLINTBEGIN
143
#ifdef LL_PLAT_C
144
MCNAPI
void
$tick(
145
::StrictExecutionContext
<
146
::Filter<::InterpolateMovementNeededComponent>
,
147
::Read
<
148
::ActorDataFlagComponent
,
149
::ActorDataHorseFlagComponent
,
150
::ActorDataJumpDurationComponent
,
151
::ActorDataBoundingBoxComponent
,
152
::ActorDataSeatOffsetComponent
>,
153
::Write<::ReplayStateTrackerComponent, ::ReplayStateComponent>
,
154
::AddRemove<>
,
155
::GlobalRead<>
,
156
::GlobalWrite<>
,
157
::EntityFactoryT<>
>& executionContext
158
);
159
#endif
160
161
162
// NOLINTEND
163
164
public
:
165
// vftables
166
// NOLINTBEGIN
167
MCNAPI
static
void
**
$vftable
();
168
// NOLINTEND
169
};
170
171
}
// namespace ClientRewind
IStrictTickingSystem
Definition
IStrictTickingSystem.h:6
Optional
Definition
Optional.h:8
ReplayStateComponent
Definition
ReplayStateComponent.h:18
StrictEntityContext
Definition
StrictEntityContext.h:8
StrictExecutionContext
Definition
StrictExecutionContext.h:6
ViewT
Definition
ViewT.h:6
ActorDataBoundingBoxComponent
Definition
ActorDataBoundingBoxComponent.h:8
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:9
ActorDataHorseFlagComponent
Definition
ActorDataHorseFlagComponent.h:8
ActorDataJumpDurationComponent
Definition
ActorDataJumpDurationComponent.h:8
ActorDataSeatOffsetComponent
Definition
ActorDataSeatOffsetComponent.h:8
AddRemove
Definition
AddRemove.h:6
ClientRewind::PublishSystem::Views
Definition
PublishSystem.h:54
ClientRewind::PublishSystem
Definition
PublishSystem.h:46
ClientRewind::PublishSystem::$vftable
static MCAPI void ** $vftable()
EntityFactoryT
Definition
EntityFactoryT.h:6
Filter
Definition
Filter.h:6
GlobalRead
Definition
GlobalRead.h:6
GlobalWrite
Definition
GlobalWrite.h:6
Include
Definition
Include.h:6
InterpolateMovementNeededComponent
Definition
InterpolateMovementNeededComponent.h:5
Read
Definition
Read.h:6
ReplayStateTrackerComponent
Definition
ReplayStateTrackerComponent.h:8
Write
Definition
Write.h:6
src
mc
entity
systems
client_rewind
PublishSystem.h
Generated on
for LeviLamina by
1.16.1