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, ::InterpolateMovementNeededComponent, ::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 virtual void tick(
64 ::Read<
77 ::EntityFactoryT<>>& executionContext
78 ) /*override*/;
79
80 virtual ~MobSuffocationSystemImpl() /*override*/ = default;
81 // NOLINTEND
82
83public:
84 // static functions
85 // NOLINTBEGIN
86 MCAPI static bool _hasPlayerPassenger(
87 ::Optional<::VehicleComponent const> optionalVehicleComponent,
89 );
90
91 MCAPI static bool _isShulkerInWall(
92 ::StateVectorComponent const& stateVectorComponent,
93 ::AABBShapeComponent const& aabbShapeComponent,
94 ::SynchedActorDataComponent const& synchedActorDataComponent,
95 ::OffsetsComponent const& offsetsComponent,
96 ::IConstBlockSource const& region
97 );
98
99 MCAPI static void _tickCheckSuffocation(
100 ::StrictEntityContext const& entity,
101 ::ActorInWallDetectionComponent const& actorInWallDetectionComponent,
102 ::StateVectorComponent const& stateVectorComponent,
103 ::AABBShapeComponent const& aabbShapeComponent,
104 ::SynchedActorDataComponent const& synchedActorDataComponent,
105 ::OffsetsComponent const& offsetsComponent,
107 ::GetAttachPositionViews const& getAttachPosViews,
110 ::IConstBlockSource const& region
111 );
112
113 MCAPI static bool isInWall(
114 ::StrictEntityContext const& entity,
115 ::ActorInWallDetectionComponent const& actorInWallDetectionComponent,
116 ::StateVectorComponent const& stateVectorComponent,
117 ::AABBShapeComponent const& aabbShapeComponent,
118 ::SynchedActorDataComponent const& synchedActorDataComponent,
119 ::OffsetsComponent const& offsetsComponent,
120 ::GetAttachPositionViews const& views,
121 ::IConstBlockSource const& region
122 );
123 // NOLINTEND
124
125public:
126 // virtual function thunks
127 // NOLINTBEGIN
128 MCAPI void $tick(
131 ::Read<
144 ::EntityFactoryT<>>& executionContext
145 );
146
147
148 // NOLINTEND
149
150public:
151 // vftables
152 // NOLINTBEGIN
153 MCNAPI static void** $vftable();
154 // NOLINTEND
155};
Definition EntityModifier.h:6
Definition IConstBlockSource.h:25
Definition IStrictTickingSystem.h:6
Definition MobSuffocationSystemImpl.h:57
static MCAPI void ** $vftable()
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 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 InterpolateMovementNeededComponent.h:5
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