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
65 ::Read<
78 ::EntityFactoryT<>>& executionContext) /*override*/;
79
80 // vIndex: 0
81 virtual ~MobSuffocationSystemImpl() /*override*/ = default;
82 // NOLINTEND
83
84public:
85 // static functions
86 // NOLINTBEGIN
87 MCAPI static bool _hasPlayerPassenger(
88 ::Optional<::VehicleComponent const> optionalVehicleComponent,
90 );
91
92 MCAPI static void _tickCheckSuffocation(
93 ::StrictEntityContext const& entity,
94 ::ActorInWallDetectionComponent const& actorInWallDetectionComponent,
95 ::StateVectorComponent const& stateVectorComponent,
96 ::AABBShapeComponent const& aabbShapeComponent,
97 ::SynchedActorDataComponent const& synchedActorDataComponent,
98 ::OffsetsComponent const& offsetsComponent,
100 ::GetAttachPositionViews const& getAttachPosViews,
103 ::IConstBlockSource const& region
104 );
105
106 MCAPI static bool isInWall(
107 ::StrictEntityContext const& entity,
108 ::ActorInWallDetectionComponent const& actorInWallDetectionComponent,
109 ::StateVectorComponent const& stateVectorComponent,
110 ::AABBShapeComponent const& aabbShapeComponent,
111 ::SynchedActorDataComponent const& synchedActorDataComponent,
112 ::OffsetsComponent const& offsetsComponent,
113 ::GetAttachPositionViews const& views,
114 ::IConstBlockSource const& region
115 );
116 // NOLINTEND
117
118public:
119 // destructor thunk
120 // NOLINTBEGIN
121
122 // NOLINTEND
123
124public:
125 // virtual function thunks
126 // NOLINTBEGIN
127 MCAPI void
130 ::Read<
143 ::EntityFactoryT<>>& executionContext);
144 // NOLINTEND
145
146public:
147 // vftables
148 // NOLINTBEGIN
149 MCAPI static void** $vftable();
150 // NOLINTEND
151};
Definition EntityModifier.h:6
Definition IConstBlockSource.h:24
Definition IStrictTickingSystem.h:6
Definition MobSuffocationSystemImpl.h:57
Definition Optional.h:8
Definition StrictEntityContext.h:10
Definition StrictExecutionContext.h:6
Definition ViewT.h:6
Definition AABBShapeComponent.h:11
Definition ActorInWallDetectionComponent.h:5
Definition ActorMovementTickNeededComponent.h:5
Definition ActorRotationComponent.h:10
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:10
Definition PassengerComponent.h:10
Definition PassengerRenderingRidingOffsetComponent.h:10
Definition PlayerComponent.h:5
Definition Read.h:6
Definition StateVectorComponent.h:10
Definition SynchedActorDataComponent.h:10
Definition VanillaOffsetComponent.h:10
Definition VehicleComponent.h:10
Definition Write.h:6