LeviLamina
Loading...
Searching...
No Matches
ActorSetPosSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/strict/AddRemove.h"
7#include "mc/deps/ecs/strict/EntityFactoryT.h"
8#include "mc/deps/ecs/strict/Filter.h"
9#include "mc/deps/ecs/strict/GlobalRead.h"
10#include "mc/deps/ecs/strict/GlobalWrite.h"
11#include "mc/deps/ecs/strict/IStrictTickingSystem.h"
12#include "mc/deps/ecs/strict/Read.h"
13#include "mc/deps/ecs/strict/StrictExecutionContext.h"
14#include "mc/deps/ecs/strict/Write.h"
15
16// auto generated forward declare list
17// clang-format off
19class HitboxComponent;
21class Vec3;
31struct Hitbox;
33struct OffsetsComponent;
35struct PlayerComponent;
40// clang-format on
41
42class ActorSetPosSystem : public ::IStrictTickingSystem<::StrictExecutionContext<
43 ::Filter<
44 ::ActorAddedFlagComponent,
45 ::ActorRemovedFlagComponent,
46 ::LocalPlayerComponent,
47 ::PaintingFlagComponent,
48 ::PlayerComponent,
49 ::ShulkerFlagComponent>,
50 ::Read<::ActorOwnerComponent, ::ChunkPositionComponent, ::OffsetsComponent>,
51 ::Write<
52 ::AABBShapeComponent,
53 ::ActorSetPositionRequestComponent,
54 ::HitboxComponent,
55 ::StateVectorComponent,
56 ::SynchedActorDataComponent,
57 ::ActorDataFlagComponent,
58 ::ActorDataDirtyFlagsComponent>,
59 ::AddRemove<
60 ::ActorChunkMoveFlagComponent,
61 ::ActorLocalPlayerEntityMovedFlagComponent,
62 ::ActorSetPositionRequestComponent>,
63 ::GlobalRead<>,
64 ::GlobalWrite<>,
65 ::EntityFactoryT<>>> {
66public:
67 // ActorSetPosSystem inner types define
77 ::Write<
92
93public:
94 // member variables
95 // NOLINTBEGIN
96 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
97 // NOLINTEND
98
99public:
100 // virtual functions
101 // NOLINTBEGIN
102 virtual void singleTick(
104 ::Filter<
112 ::Write<
126 ::EntityFactoryT<>>& executionContext,
127 ::StrictEntityContext& entityContext
128 ) /*override*/;
129
130 virtual void tick(
132 ::Filter<
140 ::Write<
154 ::EntityFactoryT<>>& executionContext
155 ) /*override*/;
156
157 virtual ~ActorSetPosSystem() /*override*/ = default;
158 // NOLINTEND
159
160public:
161 // static functions
162 // NOLINTBEGIN
163 MCAPI static ::TickingSystemWithInfo createSystem(bool isClientSide);
164
165 MCAPI static void moveHitboxTo(::Vec3 const& pos, ::std::vector<::Hitbox>& hitboxes);
166 // NOLINTEND
167
168public:
169 // virtual function thunks
170 // NOLINTBEGIN
171 MCAPI void $singleTick(
173 ::Filter<
181 ::Write<
195 ::EntityFactoryT<>>& executionContext,
196 ::StrictEntityContext& entityContext
197 );
198
199 MCAPI void $tick(
201 ::Filter<
209 ::Write<
223 ::EntityFactoryT<>>& executionContext
224 );
225
226
227 // NOLINTEND
228
229public:
230 // vftables
231 // NOLINTBEGIN
232 MCNAPI static void** $vftable();
233 // NOLINTEND
234};
Definition ActorOwnerComponent.h:10
Definition ActorSetPosSystem.h:65
static MCAPI void ** $vftable()
Definition HitboxComponent.h:10
Definition IStrictTickingSystem.h:6
Definition StrictEntityContext.h:8
Definition StrictExecutionContext.h:6
Definition Vec3.h:10
Definition AABBShapeComponent.h:9
Definition ActorAddedFlagComponent.h:5
Definition ActorChunkMoveFlagComponent.h:5
Definition ActorDataDirtyFlagsComponent.h:5
Definition ActorDataFlagComponent.h:9
Definition ActorLocalPlayerEntityMovedFlagComponent.h:5
Definition ActorRemovedFlagComponent.h:5
Definition ActorSetPositionRequestComponent.h:8
Definition AddRemove.h:6
Definition ChunkPositionComponent.h:8
Definition EntityFactoryT.h:6
Definition Filter.h:6
Definition GlobalRead.h:6
Definition GlobalWrite.h:6
Definition Hitbox.h:9
Definition LocalPlayerComponent.h:5
Definition OffsetsComponent.h:8
Definition PaintingFlagComponent.h:5
Definition PlayerComponent.h:5
Definition Read.h:6
Definition ShulkerFlagComponent.h:5
Definition StateVectorComponent.h:8
Definition SynchedActorDataComponent.h:8
Definition TickingSystemWithInfo.h:13
Definition Write.h:6