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(
114 ::Filter<
122 ::Write<
136 ::EntityFactoryT<>>& executionContext
137 ) /*override*/;
138
139 // vIndex: 0
140 virtual ~ActorSetPosSystem() /*override*/ = default;
141 // NOLINTEND
142
143public:
144 // static functions
145 // NOLINTBEGIN
146 MCNAPI static ::TickingSystemWithInfo createSystem(bool isClientSide);
147
148 MCNAPI static void moveHitboxTo(::Vec3 const& pos, ::std::vector<::Hitbox>& hitboxes);
149
150 MCNAPI static void setPosition(::EntityContext& entity, ::Vec3 const& position, bool isClientSide);
151 // NOLINTEND
152
153public:
154 // virtual function thunks
155 // NOLINTBEGIN
156 MCNAPI void $singleTick(
158 ::Filter<
166 ::Write<
180 ::EntityFactoryT<>>& executionContext,
181 ::StrictEntityContext& entityContext
182 );
183
184 MCNAPI void $tick(
186 ::Filter<
194 ::Write<
208 ::EntityFactoryT<>>& executionContext
209 );
210 // NOLINTEND
211
212public:
213 // vftables
214 // NOLINTBEGIN
215 MCNAPI static void** $vftable();
216 // NOLINTEND
217};
Definition ActorOwnerComponent.h:10
Definition ActorSetPosSystem.h:66
static MCAPI void moveHitboxTo(::Vec3 const &pos, ::std::vector<::Hitbox > &hitboxes)
static MCAPI ::TickingSystemWithInfo createSystem(bool isClientSide)
MCAPI void $tick(::StrictExecutionContext< ::Filter< ::ActorAddedFlagComponent, ::ActorRemovedFlagComponent, ::LocalPlayerComponent, ::PaintingFlagComponent, ::PlayerComponent, ::ShulkerFlagComponent >, ::Read<::ActorOwnerComponent, ::ChunkPositionComponent, ::OffsetsComponent >, ::Write< ::AABBShapeComponent, ::ActorSetPositionRequestComponent, ::HitboxComponent, ::StateVectorComponent, ::SynchedActorDataComponent, ::ActorDataFlagComponent, ::ActorDataDirtyFlagsComponent >, ::AddRemove< ::ActorChunkMoveFlagComponent, ::ActorLocalPlayerEntityMovedFlagComponent, ::ActorSetPositionRequestComponent >, ::GlobalRead<>, ::GlobalWrite<>, ::EntityFactoryT<> > &executionContext)
static MCAPI void ** $vftable()
static MCAPI void setPosition(::EntityContext &entity, ::Vec3 const &position, bool isClientSide)
MCAPI void $singleTick(::StrictExecutionContext< ::Filter< ::ActorAddedFlagComponent, ::ActorRemovedFlagComponent, ::LocalPlayerComponent, ::PaintingFlagComponent, ::PlayerComponent, ::ShulkerFlagComponent >, ::Read<::ActorOwnerComponent, ::ChunkPositionComponent, ::OffsetsComponent >, ::Write< ::AABBShapeComponent, ::ActorSetPositionRequestComponent, ::HitboxComponent, ::StateVectorComponent, ::SynchedActorDataComponent, ::ActorDataFlagComponent, ::ActorDataDirtyFlagsComponent >, ::AddRemove< ::ActorChunkMoveFlagComponent, ::ActorLocalPlayerEntityMovedFlagComponent, ::ActorSetPositionRequestComponent >, ::GlobalRead<>, ::GlobalWrite<>, ::EntityFactoryT<> > &executionContext, ::StrictEntityContext &entityContext)
Definition EntityContext.h:16
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:5
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
Definition Alias.h:14