LeviLamina
Loading...
Searching...
No Matches
MobSuffocationSystemImpl.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
29struct MobFlagComponent;
31struct OffsetsComponent;
34struct PlayerComponent;
38struct VehicleComponent;
39// clang-format on
40
42: public ::IStrictTickingSystem<::StrictExecutionContext<
43 ::Filter<::MobFlagComponent, ::ActorMovementTickNeededComponent, ::PlayerComponent, ::PassengerComponent>,
44 ::Read<
45 ::StateVectorComponent,
46 ::AABBShapeComponent,
47 ::SynchedActorDataComponent,
48 ::OffsetsComponent,
49 ::VehicleComponent,
50 ::ActorRotationComponent,
51 ::VanillaOffsetComponent,
52 ::PassengerRenderingRidingOffsetComponent>,
53 ::Write<::ActorInWallDetectionComponent>,
54 ::AddRemove<::MobIsSuffocatingFlagComponent>,
55 ::GlobalRead<>,
56 ::GlobalWrite<>,
57 ::EntityFactoryT<>>> {
58public:
59 // virtual functions
60 // NOLINTBEGIN
61 // vIndex: 5
62 virtual void tick(
65 ::Read<
78 ::EntityFactoryT<>>& executionContext
79 ) /*override*/;
80
81 // vIndex: 0
82 virtual ~MobSuffocationSystemImpl() /*override*/ = default;
83 // NOLINTEND
84
85public:
86 // static functions
87 // NOLINTBEGIN
88 MCNAPI static bool _hasPlayerPassenger(
89 ::Optional<::VehicleComponent const> optionalVehicleComponent,
91 );
92
93 MCNAPI static void _tickCheckSuffocation(
94 ::StrictEntityContext const& entity,
95 ::ActorInWallDetectionComponent const& actorInWallDetectionComponent,
96 ::StateVectorComponent const& stateVectorComponent,
97 ::AABBShapeComponent const& aabbShapeComponent,
98 ::SynchedActorDataComponent const& synchedActorDataComponent,
99 ::OffsetsComponent const& offsetsComponent,
101 ::GetAttachPositionViews const& getAttachPosViews,
104 ::IConstBlockSource const& region
105 );
106
107 MCNAPI static bool isInWall(
108 ::StrictEntityContext const& entity,
109 ::ActorInWallDetectionComponent const& actorInWallDetectionComponent,
110 ::StateVectorComponent const& stateVectorComponent,
111 ::AABBShapeComponent const& aabbShapeComponent,
112 ::SynchedActorDataComponent const& synchedActorDataComponent,
113 ::OffsetsComponent const& offsetsComponent,
114 ::GetAttachPositionViews const& views,
115 ::IConstBlockSource const& region
116 );
117 // NOLINTEND
118
119public:
120 // virtual function thunks
121 // NOLINTBEGIN
122 MCNAPI void $tick(
125 ::Read<
138 ::EntityFactoryT<>>& executionContext
139 );
140 // NOLINTEND
141
142public:
143 // vftables
144 // NOLINTBEGIN
145 MCNAPI static void** $vftable();
146 // NOLINTEND
147};
Definition EntityModifier.h:6
Definition IConstBlockSource.h:24
Definition IStrictTickingSystem.h:6
Definition MobSuffocationSystemImpl.h:57
static MCAPI void _tickCheckSuffocation(::StrictEntityContext const &entity, ::ActorInWallDetectionComponent const &actorInWallDetectionComponent, ::StateVectorComponent const &stateVectorComponent, ::AABBShapeComponent const &aabbShapeComponent, ::SynchedActorDataComponent const &synchedActorDataComponent, ::OffsetsComponent const &offsetsComponent, ::Optional<::VehicleComponent const > vehicleComponent, ::GetAttachPositionViews const &getAttachPosViews, ::ViewT<::StrictEntityContext, ::Include<::PlayerComponent, ::PassengerComponent > > const &playerPassengers, ::EntityModifier<::MobIsSuffocatingFlagComponent > modifier, ::IConstBlockSource const &region)
static MCAPI void ** $vftable()
static MCAPI bool isInWall(::StrictEntityContext const &entity, ::ActorInWallDetectionComponent const &actorInWallDetectionComponent, ::StateVectorComponent const &stateVectorComponent, ::AABBShapeComponent const &aabbShapeComponent, ::SynchedActorDataComponent const &synchedActorDataComponent, ::OffsetsComponent const &offsetsComponent, ::GetAttachPositionViews const &views, ::IConstBlockSource const &region)
static MCAPI bool _hasPlayerPassenger(::Optional<::VehicleComponent const > optionalVehicleComponent, ::ViewT<::StrictEntityContext, ::Include<::PlayerComponent, ::PassengerComponent > > const &playerPassengers)
MCAPI void $tick(::StrictExecutionContext< ::Filter<::MobFlagComponent, ::ActorMovementTickNeededComponent, ::PlayerComponent, ::PassengerComponent >, ::Read< ::StateVectorComponent, ::AABBShapeComponent, ::SynchedActorDataComponent, ::OffsetsComponent, ::VehicleComponent, ::ActorRotationComponent, ::VanillaOffsetComponent, ::PassengerRenderingRidingOffsetComponent >, ::Write<::ActorInWallDetectionComponent >, ::AddRemove<::MobIsSuffocatingFlagComponent >, ::GlobalRead<>, ::GlobalWrite<>, ::EntityFactoryT<> > &executionContext)
Definition Optional.h:8
Definition StrictEntityContext.h:8
Definition StrictExecutionContext.h:6
Definition ViewT.h:6
Definition AABBShapeComponent.h:9
Definition ActorInWallDetectionComponent.h:5
Definition ActorMovementTickNeededComponent.h:5
Definition ActorRotationComponent.h:8
Definition AddRemove.h:6
Definition EntityFactoryT.h:6
Definition Filter.h:6
Definition GetAttachPositionViews.h:5
Definition GlobalRead.h:6
Definition GlobalWrite.h:6
Definition Include.h:6
Definition MobFlagComponent.h:5
Definition MobIsSuffocatingFlagComponent.h:5
Definition OffsetsComponent.h:8
Definition PassengerComponent.h:8
Definition PassengerRenderingRidingOffsetComponent.h:8
Definition PlayerComponent.h:5
Definition Read.h:6
Definition StateVectorComponent.h:8
Definition SynchedActorDataComponent.h:8
Definition VanillaOffsetComponent.h:8
Definition VehicleComponent.h:10
Definition Write.h:6