LeviLamina
Loading...
Searching...
No Matches
CBLISystem.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/EntityModifier.h"
11
#include "mc/deps/ecs/strict/Filter.h"
12
#include "mc/deps/ecs/strict/GlobalRead.h"
13
#include "mc/deps/ecs/strict/GlobalWrite.h"
14
#include "mc/deps/ecs/strict/IStrictTickingSystem.h"
15
#include "mc/deps/ecs/strict/Include.h"
16
#include "mc/deps/ecs/strict/Read.h"
17
#include "mc/deps/ecs/strict/StrictExecutionContext.h"
18
#include "mc/deps/ecs/strict/Write.h"
19
20
// auto generated forward declare list
21
// clang-format off
22
class
StrictEntityContext
;
23
struct
ActorDataFlagComponent
;
24
struct
ActorMovementTickNeededComponent
;
25
struct
BoatFlagComponent
;
26
struct
ControlledByLocalInstanceComponent
;
27
struct
HorseFlagComponent
;
28
struct
LocalPlayerComponent
;
29
struct
PlayerComponent
;
30
struct
RecalculateControlledByLocalInstanceRequestComponent
;
31
struct
VehicleComponent
;
32
// clang-format on
33
34
namespace
ControlledByLocalInstanceSystemImpl {
35
36
struct
CBLISystem
:
public
::IStrictTickingSystem
<::StrictExecutionContext<
37
::Filter<
38
::ActorMovementTickNeededComponent,
39
::BoatFlagComponent,
40
::HorseFlagComponent,
41
::PlayerComponent,
42
::RecalculateControlledByLocalInstanceRequestComponent>,
43
::Read<::VehicleComponent, ::ActorDataFlagComponent, ::LocalPlayerComponent>,
44
::Write<>,
45
::AddRemove<::ControlledByLocalInstanceComponent>,
46
::GlobalRead<>,
47
::GlobalWrite<>,
48
::EntityFactoryT<>>> {
49
public
:
50
// CBLISystem inner types define
51
using
Base =
::IStrictTickingSystem
<
::StrictExecutionContext
<
52
::Filter
<
53
::ActorMovementTickNeededComponent
,
54
::BoatFlagComponent
,
55
::HorseFlagComponent
,
56
::PlayerComponent
,
57
::RecalculateControlledByLocalInstanceRequestComponent
>,
58
::Read<::VehicleComponent, ::ActorDataFlagComponent, ::LocalPlayerComponent>
,
59
::Write<>
,
60
::AddRemove<::ControlledByLocalInstanceComponent>
,
61
::GlobalRead<>
,
62
::GlobalWrite<>
,
63
::EntityFactoryT<>
>>;
64
65
using
SingleTickCallback = void (*)(
66
::StrictEntityContext
&,
67
::StrictExecutionContext
<
68
::Filter
<
69
::ActorMovementTickNeededComponent
,
70
::BoatFlagComponent
,
71
::HorseFlagComponent
,
72
::PlayerComponent
,
73
::RecalculateControlledByLocalInstanceRequestComponent
>,
74
::Read<::VehicleComponent, ::ActorDataFlagComponent, ::LocalPlayerComponent>
,
75
::Write<>
,
76
::AddRemove<::ControlledByLocalInstanceComponent>
,
77
::GlobalRead<>
,
78
::GlobalWrite<>
,
79
::EntityFactoryT<>
>&,
80
void (*)(
::StrictEntityContext
const
&,
::EntityModifier<::ControlledByLocalInstanceComponent>
),
81
void
(*)(
82
::StrictEntityContext
const
&,
83
::std::optional<::StrictEntityContext>
const
&,
84
::ViewT<::StrictEntityContext, ::Include<::PlayerComponent>
,
::Optional<::LocalPlayerComponent>
>
const
&,
85
::EntityModifier<::ControlledByLocalInstanceComponent>
86
)
87
);
88
89
using
TickCallback = void (*)(
90
::StrictExecutionContext
<
91
::Filter
<
92
::ActorMovementTickNeededComponent
,
93
::BoatFlagComponent
,
94
::HorseFlagComponent
,
95
::PlayerComponent
,
96
::RecalculateControlledByLocalInstanceRequestComponent
>,
97
::Read<::VehicleComponent, ::ActorDataFlagComponent, ::LocalPlayerComponent>
,
98
::Write<>
,
99
::AddRemove<::ControlledByLocalInstanceComponent>
,
100
::GlobalRead<>
,
101
::GlobalWrite<>
,
102
::EntityFactoryT<>
>&,
103
void (*)(
::StrictEntityContext
const
&,
::EntityModifier<::ControlledByLocalInstanceComponent>
),
104
void
(*)(
105
::StrictEntityContext
const
&,
106
::std::optional<::StrictEntityContext>
const
&,
107
::ViewT<::StrictEntityContext, ::Include<::PlayerComponent>
,
::Optional<::LocalPlayerComponent>
>
const
&,
108
::EntityModifier<::ControlledByLocalInstanceComponent>
109
)
110
);
111
112
public
:
113
// member variables
114
// NOLINTBEGIN
115
::ll::TypedStorage<
116
8,
117
8,
118
void (*
const
)(
119
::StrictExecutionContext
<
120
::Filter
<
121
::ActorMovementTickNeededComponent
,
122
::BoatFlagComponent
,
123
::HorseFlagComponent
,
124
::PlayerComponent
,
125
::RecalculateControlledByLocalInstanceRequestComponent
>,
126
::Read<::VehicleComponent, ::ActorDataFlagComponent, ::LocalPlayerComponent>
,
127
::Write<>
,
128
::AddRemove<::ControlledByLocalInstanceComponent>
,
129
::GlobalRead<>
,
130
::GlobalWrite<>
,
131
::EntityFactoryT<>
>&,
132
void (*)(
::StrictEntityContext
const
&,
::EntityModifier<::ControlledByLocalInstanceComponent>
),
133
void
(*)(
134
::StrictEntityContext
const
&,
135
::std::optional<::StrictEntityContext>
const
&,
136
::ViewT<::StrictEntityContext, ::Include<::PlayerComponent>
,
::Optional<::LocalPlayerComponent>
>
const
&,
137
::EntityModifier<::ControlledByLocalInstanceComponent>
138
)
139
)>
140
mTick;
141
::ll::TypedStorage<
142
8,
143
8,
144
void (*
const
)(
145
::StrictEntityContext
&,
146
::StrictExecutionContext
<
147
::Filter
<
148
::ActorMovementTickNeededComponent
,
149
::BoatFlagComponent
,
150
::HorseFlagComponent
,
151
::PlayerComponent
,
152
::RecalculateControlledByLocalInstanceRequestComponent
>,
153
::Read<::VehicleComponent, ::ActorDataFlagComponent, ::LocalPlayerComponent>
,
154
::Write<>
,
155
::AddRemove<::ControlledByLocalInstanceComponent>
,
156
::GlobalRead<>
,
157
::GlobalWrite<>
,
158
::EntityFactoryT<>
>&,
159
void (*)(
::StrictEntityContext
const
&,
::EntityModifier<::ControlledByLocalInstanceComponent>
),
160
void
(*)(
161
::StrictEntityContext
const
&,
162
::std::optional<::StrictEntityContext>
const
&,
163
::ViewT<::StrictEntityContext, ::Include<::PlayerComponent>
,
::Optional<::LocalPlayerComponent>
>
const
&,
164
::EntityModifier<::ControlledByLocalInstanceComponent>
165
)
166
)>
167
mSingleTick;
168
::ll::TypedStorage<
169
8,
170
8,
171
void (*
const
)(
::StrictEntityContext
const
&,
::EntityModifier<::ControlledByLocalInstanceComponent>
)>
172
mSetCBLI;
173
::ll::TypedStorage<
174
8,
175
8,
176
void (*
const
)(
177
::StrictEntityContext
const
&,
178
::std::optional<::StrictEntityContext>
const
&,
179
::ViewT<::StrictEntityContext, ::Include<::PlayerComponent>
,
::Optional<::LocalPlayerComponent>
>
const
&,
180
::EntityModifier<::ControlledByLocalInstanceComponent>
181
)>
182
mSetVehicleCBLI;
183
// NOLINTEND
184
185
public
:
186
// virtual functions
187
// NOLINTBEGIN
188
virtual
void
tick(
189
::StrictExecutionContext
<
190
::Filter
<
191
::ActorMovementTickNeededComponent
,
192
::BoatFlagComponent
,
193
::HorseFlagComponent
,
194
::PlayerComponent
,
195
::RecalculateControlledByLocalInstanceRequestComponent
>,
196
::Read<::VehicleComponent, ::ActorDataFlagComponent, ::LocalPlayerComponent>
,
197
::Write<>
,
198
::AddRemove<::ControlledByLocalInstanceComponent>
,
199
::GlobalRead<>
,
200
::GlobalWrite<>
,
201
::EntityFactoryT<>
>& strictContext
202
)
/*override*/
;
203
204
virtual
void
singleTick(
205
::StrictExecutionContext
<
206
::Filter
<
207
::ActorMovementTickNeededComponent
,
208
::BoatFlagComponent
,
209
::HorseFlagComponent
,
210
::PlayerComponent
,
211
::RecalculateControlledByLocalInstanceRequestComponent
>,
212
::Read<::VehicleComponent, ::ActorDataFlagComponent, ::LocalPlayerComponent>
,
213
::Write<>
,
214
::AddRemove<::ControlledByLocalInstanceComponent>
,
215
::GlobalRead<>
,
216
::GlobalWrite<>
,
217
::EntityFactoryT<>
>& strictContext,
218
::StrictEntityContext
& entity
219
)
/*override*/
;
220
221
virtual
~CBLISystem
()
/*override*/
=
default
;
222
// NOLINTEND
223
224
public
:
225
// virtual function thunks
226
// NOLINTBEGIN
227
MCAPI
void
$tick(
228
::StrictExecutionContext
<
229
::Filter
<
230
::ActorMovementTickNeededComponent
,
231
::BoatFlagComponent
,
232
::HorseFlagComponent
,
233
::PlayerComponent
,
234
::RecalculateControlledByLocalInstanceRequestComponent
>,
235
::Read<::VehicleComponent, ::ActorDataFlagComponent, ::LocalPlayerComponent>
,
236
::Write<>
,
237
::AddRemove<::ControlledByLocalInstanceComponent>
,
238
::GlobalRead<>
,
239
::GlobalWrite<>
,
240
::EntityFactoryT<>
>& strictContext
241
);
242
243
MCAPI
void
$singleTick(
244
::StrictExecutionContext
<
245
::Filter
<
246
::ActorMovementTickNeededComponent
,
247
::BoatFlagComponent
,
248
::HorseFlagComponent
,
249
::PlayerComponent
,
250
::RecalculateControlledByLocalInstanceRequestComponent
>,
251
::Read<::VehicleComponent, ::ActorDataFlagComponent, ::LocalPlayerComponent>
,
252
::Write<>
,
253
::AddRemove<::ControlledByLocalInstanceComponent>
,
254
::GlobalRead<>
,
255
::GlobalWrite<>
,
256
::EntityFactoryT<>
>& strictContext,
257
::StrictEntityContext
& entity
258
);
259
260
261
// NOLINTEND
262
263
public
:
264
// vftables
265
// NOLINTBEGIN
266
MCNAPI
static
void
**
$vftable
();
267
// NOLINTEND
268
};
269
270
}
// namespace ControlledByLocalInstanceSystemImpl
EntityModifier
Definition
EntityModifier.h:6
IStrictTickingSystem
Definition
IStrictTickingSystem.h:6
Optional
Definition
Optional.h:8
StrictEntityContext
Definition
StrictEntityContext.h:8
StrictExecutionContext
Definition
StrictExecutionContext.h:6
ViewT
Definition
ViewT.h:6
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:9
ActorMovementTickNeededComponent
Definition
ActorMovementTickNeededComponent.h:5
AddRemove
Definition
AddRemove.h:6
BoatFlagComponent
Definition
BoatFlagComponent.h:5
ControlledByLocalInstanceComponent
Definition
ControlledByLocalInstanceComponent.h:5
ControlledByLocalInstanceSystemImpl::CBLISystem
Definition
CBLISystem.h:48
ControlledByLocalInstanceSystemImpl::CBLISystem::$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
HorseFlagComponent
Definition
HorseFlagComponent.h:5
LocalPlayerComponent
Definition
LocalPlayerComponent.h:5
PlayerComponent
Definition
PlayerComponent.h:5
Read
Definition
Read.h:6
RecalculateControlledByLocalInstanceRequestComponent
Definition
RecalculateControlledByLocalInstanceRequestComponent.h:5
VehicleComponent
Definition
VehicleComponent.h:10
Write
Definition
Write.h:6
src
mc
entity
systems
controlled_by_local_instance_system_impl
CBLISystem.h
Generated on
for LeviLamina by
1.16.1