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 EntityContext;
20class HitboxComponent;
22class Vec3;
32struct Hitbox;
34struct OffsetsComponent;
36struct PlayerComponent;
41// clang-format on
42
43class ActorSetPosSystem : public ::IStrictTickingSystem<::StrictExecutionContext<
44 ::Filter<
45 ::ActorAddedFlagComponent,
46 ::ActorRemovedFlagComponent,
47 ::LocalPlayerComponent,
48 ::PaintingFlagComponent,
49 ::PlayerComponent,
50 ::ShulkerFlagComponent>,
51 ::Read<::ActorOwnerComponent, ::ChunkPositionComponent, ::OffsetsComponent>,
52 ::Write<
53 ::AABBShapeComponent,
54 ::ActorSetPositionRequestComponent,
55 ::HitboxComponent,
56 ::StateVectorComponent,
57 ::SynchedActorDataComponent,
58 ::ActorDataFlagComponent,
59 ::ActorDataDirtyFlagsComponent>,
60 ::AddRemove<
61 ::ActorChunkMoveFlagComponent,
62 ::ActorLocalPlayerEntityMovedFlagComponent,
63 ::ActorSetPositionRequestComponent>,
64 ::GlobalRead<>,
65 ::GlobalWrite<>,
66 ::EntityFactoryT<>>> {
67public:
68 // member variables
69 // NOLINTBEGIN
71 // NOLINTEND
72
73public:
74 // prevent constructor by default
75 ActorSetPosSystem& operator=(ActorSetPosSystem const&);
78
79public:
80 // virtual functions
81 // NOLINTBEGIN
82 // vIndex: 6
83 virtual void singleTick(
93 ::Write<
107 ::EntityFactoryT<>>& executionContext,
108 ::StrictEntityContext& entityContext
109 ) /*override*/;
110
111 // vIndex: 5
112 virtual void tick(::StrictExecutionContext<
113 ::Filter<
121 ::Write<
135 ::EntityFactoryT<>>& executionContext) /*override*/;
136
137 // vIndex: 0
138 virtual ~ActorSetPosSystem() /*override*/ = default;
139 // NOLINTEND
140
141public:
142 // static functions
143 // NOLINTBEGIN
144 MCAPI static ::TickingSystemWithInfo createSystem(bool isClientSide);
145
146 MCAPI static void moveHitboxTo(::Vec3 const& pos, ::std::vector<::Hitbox>& hitboxes);
147
148 MCAPI static void setPosition(::EntityContext& entity, ::Vec3 const& position, bool isClientSide);
149 // NOLINTEND
150
151public:
152 // destructor thunk
153 // NOLINTBEGIN
154
155 // NOLINTEND
156
157public:
158 // virtual function thunks
159 // NOLINTBEGIN
160 MCAPI void $singleTick(
162 ::Filter<
170 ::Write<
184 ::EntityFactoryT<>>& executionContext,
185 ::StrictEntityContext& entityContext
186 );
187
188 MCAPI void $tick(::StrictExecutionContext<
189 ::Filter<
197 ::Write<
211 ::EntityFactoryT<>>& executionContext);
212 // NOLINTEND
213
214public:
215 // vftables
216 // NOLINTBEGIN
217 MCAPI static void** $vftable();
218 // NOLINTEND
219};
Definition ActorOwnerComponent.h:10
Definition ActorSetPosSystem.h:66
Definition EntityContext.h:16
Definition HitboxComponent.h:10
Definition IStrictTickingSystem.h:6
Definition StrictEntityContext.h:10
Definition StrictExecutionContext.h:6
Definition Vec3.h:10
Definition AABBShapeComponent.h:11
Definition ActorAddedFlagComponent.h:5
Definition ActorChunkMoveFlagComponent.h:5
Definition ActorDataDirtyFlagsComponent.h:5
Definition ActorDataFlagComponent.h:8
Definition ActorLocalPlayerEntityMovedFlagComponent.h:5
Definition ActorRemovedFlagComponent.h:5
Definition ActorSetPositionRequestComponent.h:8
Definition AddRemove.h:6
Definition ChunkPositionComponent.h:10
Definition EntityFactoryT.h:6
Definition Filter.h:6
Definition GlobalRead.h:6
Definition GlobalWrite.h:6
Definition Hitbox.h:5
Definition LocalPlayerComponent.h:5
Definition OffsetsComponent.h:10
Definition PaintingFlagComponent.h:5
Definition PlayerComponent.h:5
Definition Read.h:6
Definition ShulkerFlagComponent.h:5
Definition StateVectorComponent.h:10
Definition SynchedActorDataComponent.h:10
Definition TickingSystemWithInfo.h:11
Definition Write.h:6
Definition Alias.h:14