LeviLamina
Loading...
Searching...
No Matches
ExitVehicleSystemImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/deps/ecs/Optional.h"
8#include "mc/deps/ecs/ViewT.h"
9#include "mc/deps/ecs/strict/AddRemove.h"
10#include "mc/deps/ecs/strict/EntityFactoryT.h"
11#include "mc/deps/ecs/strict/EntityModifier.h"
12#include "mc/deps/ecs/strict/Exclude.h"
13#include "mc/deps/ecs/strict/Filter.h"
14#include "mc/deps/ecs/strict/GlobalRead.h"
15#include "mc/deps/ecs/strict/GlobalWrite.h"
16#include "mc/deps/ecs/strict/IStrictTickingSystem.h"
17#include "mc/deps/ecs/strict/Include.h"
18#include "mc/deps/ecs/strict/Read.h"
19#include "mc/deps/ecs/strict/StrictExecutionContext.h"
20#include "mc/deps/ecs/strict/Write.h"
21#include "mc/util/BaseGameVersion.h"
22
23// auto generated forward declare list
24// clang-format off
25class AABB;
29class Vec3;
50struct MobFlagComponent;
53struct OffsetsComponent;
57struct PlayerComponent;
64struct VehicleComponent;
65// clang-format on
66
67struct ExitVehicleSystemImpl : public ::IStrictTickingSystem<::StrictExecutionContext<
68 ::Filter<
69 ::CanStandOnSnowFlagComponent,
70 ::HasLightweightFamilyFlagComponent,
71 ::HorseFlagComponent,
72 ::MobFlagComponent,
73 ::ParrotFlagComponent,
74 ::VehicleComponent,
75 ::CamelFlagComponent,
76 ::PlayerComponent,
77 ::StopRidingRequestComponent>,
78 ::Read<
79 ::AABBShapeComponent,
80 ::MovementAbilitiesComponent,
81 ::ActorTypeComponent,
82 ::FallDistanceComponent,
83 ::PassengerComponent,
84 ::ActorGameTypeComponent,
85 ::ActorDataFlagComponent,
86 ::VehicleComponent,
87 ::ActorRotationComponent,
88 ::MobBodyRotationComponent,
89 ::RenderRotationComponent,
90 ::StandAnimationComponent,
91 ::OffsetsComponent,
92 ::VanillaOffsetComponent,
93 ::PassengerRenderingRidingOffsetComponent,
94 ::DimensionTypeComponent,
95 ::EjectedByActivatorRailFlagComponent,
96 ::PostTickPositionDeltaComponent>,
97 ::Write<::AABBShapeComponent, ::ActorRotationComponent, ::StateVectorComponent>,
98 ::AddRemove<::ActorSetPositionRequestComponent>,
99 ::GlobalRead<::ExternalDataComponent, ::LocalConstBlockSourceFactoryComponent>,
100 ::GlobalWrite<>,
101 ::EntityFactoryT<>>> {
102public:
103 // ExitVehicleSystemImpl inner types define
105 ::Filter<
115 ::Read<
139
140public:
141 // member variables
142 // NOLINTBEGIN
143 ::ll::TypedStorage<8, 32, ::BaseGameVersion const> mVersion;
144 ::ll::TypedStorage<1, 1, bool const> mIsClient;
145 // NOLINTEND
146
147public:
148 // virtual functions
149 // NOLINTBEGIN
150 virtual void tick(
152 ::Filter<
162 ::Read<
185 ::EntityFactoryT<>>& executionContext
186 ) /*override*/;
187
188 virtual void singleTick(
190 ::Filter<
200 ::Read<
223 ::EntityFactoryT<>>& executionContext,
224 ::StrictEntityContext& entityContext
225 ) /*override*/;
226 // NOLINTEND
227
228public:
229 // static functions
230 // NOLINTBEGIN
231 MCAPI static void _tickExitVehicle(
232 ::StrictEntityContext const& entity,
233 ::PassengerComponent const& passenger,
234 ::AABBShapeComponent const& aabb,
235 ::StateVectorComponent const& svc,
236 ::OffsetsComponent const& offsetsComponent,
237 ::ActorDataSeatOffsetComponent const& actorDataSeatOffset,
238 ::ActorRotationComponent& rotation,
241 ::Optional<::EjectedByActivatorRailFlagComponent const> ejectedByActivatorRailFlagComponent,
242 ::BaseGameVersion const& baseGameVersion,
243 ::ViewT<
253 ::Filter<
263 ::Read<
286 ::EntityFactoryT<>>& executionContext,
287 bool isClientSide,
288 ::IConstBlockSource const& region
289 );
290
291 MCAPI static auto createViews(
293 ::Filter<
303 ::Read<
327 );
328
329 MCAPI static bool tryPlaceAt(
330 ::Vec3 const& groundPos,
331 ::AABB const& aabbEntity,
332 ::IConstBlockSource const& region,
334 );
335 // NOLINTEND
336
337public:
338 // virtual function thunks
339 // NOLINTBEGIN
340 MCAPI void $tick(
342 ::Filter<
352 ::Read<
375 ::EntityFactoryT<>>& executionContext
376 );
377
378 MCAPI void $singleTick(
380 ::Filter<
390 ::Read<
413 ::EntityFactoryT<>>& executionContext,
414 ::StrictEntityContext& entityContext
415 );
416
417
418 // NOLINTEND
419
420public:
421 // vftables
422 // NOLINTBEGIN
423 MCNAPI static void** $vftable();
424 // NOLINTEND
425};
Definition AABB.h:18
Definition BaseGameVersion.h:13
Definition EntityModifier.h:6
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition IStrictTickingSystem.h:6
Definition Optional.h:8
Definition StrictEntityContext.h:14
Definition StrictExecutionContext.h:6
Definition Vec3.h:10
Definition ViewT.h:6
Definition optional_ref.h:10
Definition AABBShapeComponent.h:9
Definition ActorDataFlagComponent.h:10
Definition ActorDataSeatOffsetComponent.h:8
Definition ActorGameTypeComponent.h:8
Definition ActorIsBeingDestroyedFlagComponent.h:5
Definition ActorRotationComponent.h:8
Definition ActorSetPositionRequestComponent.h:8
Definition ActorTypeComponent.h:8
Definition AddRemove.h:6
Definition CamelFlagComponent.h:5
Definition CanStandOnSnowFlagComponent.h:5
Definition DimensionTypeComponent.h:8
Definition DoesServerAuthOnlyDismountFlagComponent.h:5
Definition EjectedByActivatorRailFlagComponent.h:5
Definition EntityFactoryT.h:6
Definition Exclude.h:6
Definition ExitFromPassengerFlagComponent.h:5
Definition ExitVehicleSystemImpl.h:101
static MCAPI void ** $vftable()
Definition ExternalDataComponent.h:10
Definition FallDistanceComponent.h:5
Definition Filter.h:6
Definition GlobalRead.h:6
Definition GlobalWrite.h:6
Definition HasLightweightFamilyFlagComponent.h:5
Definition HorseFlagComponent.h:5
Definition Include.h:6
Definition LocalConstBlockSourceFactoryComponent.h:8
Definition MobBodyRotationComponent.h:5
Definition MobFlagComponent.h:5
Definition MovementAbilitiesComponent.h:8
Definition MovementInterpolatorComponent.h:14
Definition OffsetsComponent.h:8
Definition ParrotFlagComponent.h:5
Definition PassengerComponent.h:8
Definition PassengerRenderingRidingOffsetComponent.h:8
Definition PlayerComponent.h:5
Definition PostTickPositionDeltaComponent.h:8
Definition Read.h:6
Definition RenderRotationComponent.h:8
Definition StandAnimationComponent.h:5
Definition StateVectorComponent.h:8
Definition StopRidingRequestComponent.h:5
Definition VanillaOffsetComponent.h:8
Definition VehicleComponent.h:10
Definition Write.h:6
Definition context.h:5