Skip to content
LeviMC
English
AutoLightDark
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#include "mc/entity/utilities/GetAttachPositionViews.h"
20#include "mc/entity/utilities/ViewEachWithBlockSourceArgs.h"
21
22// auto generated forward declare list
23// clang-format off
30struct MobFlagComponent;
32struct OffsetsComponent;
35struct PlayerComponent;
39struct VehicleComponent;
40// clang-format on
41
43: public ::IStrictTickingSystem<::StrictExecutionContext<
44 ::Filter<::MobFlagComponent, ::ActorMovementTickNeededComponent, ::PlayerComponent, ::PassengerComponent>,
45 ::Read<
46 ::StateVectorComponent,
47 ::AABBShapeComponent,
48 ::SynchedActorDataComponent,
49 ::OffsetsComponent,
50 ::VehicleComponent,
51 ::ActorRotationComponent,
52 ::VanillaOffsetComponent,
53 ::PassengerRenderingRidingOffsetComponent>,
54 ::Write<::ActorInWallDetectionComponent>,
55 ::AddRemove<::MobIsSuffocatingFlagComponent>,
56 ::GlobalRead<>,
57 ::GlobalWrite<>,
58 ::EntityFactoryT<>>> {
59public:
60 // MobSuffocationSystemImpl inner types declare
61 // clang-format off
62 struct Views;
63 // clang-format on
64
65 // MobSuffocationSystemImpl inner types define
66 struct Views {
67 public:
68 // member variables
69 // NOLINTBEGIN
70 ::ll::TypedStorage<
71 8,
72 96,
73 ::ViewT<
82 mMainView;
83 ::ll::TypedStorage<8, 32, ::ViewEachWithBlockSourceArgs> mBlockSource;
84 ::ll::TypedStorage<8, 480, ::GetAttachPositionViews> mAttachViews;
85 ::ll::TypedStorage<8, 56, ::ViewT<::StrictEntityContext, ::Include<::PlayerComponent, ::PassengerComponent>>>
86 mPlayerPassengers;
87 ::ll::TypedStorage<8, 8, ::EntityModifier<::MobIsSuffocatingFlagComponent>> mModifier;
88 // NOLINTEND
89 };
90
91public:
92 // member variables
93 // NOLINTBEGIN
94 ::ll::TypedStorage<8, 680, ::std::optional<::MobSuffocationSystemImpl::Views>> mViews;
95 // NOLINTEND
96
97public:
98 // virtual functions
99 // NOLINTBEGIN
100 virtual void tick(
103 ::Read<
116 ::EntityFactoryT<>>& executionContext
117 ) /*override*/;
118 // NOLINTEND
119
120public:
121 // static functions
122 // NOLINTBEGIN
123 MCNAPI static void _tickCheckSuffocation(
124 ::StrictEntityContext const& entity,
125 ::ActorInWallDetectionComponent const& actorInWallDetectionComponent,
126 ::StateVectorComponent const& stateVectorComponent,
127 ::AABBShapeComponent const& aabbShapeComponent,
128 ::SynchedActorDataComponent const& synchedActorDataComponent,
129 ::OffsetsComponent const& offsetsComponent,
131 ::GetAttachPositionViews const& getAttachPosViews,
134 ::IConstBlockSource const& region
135 );
136 // NOLINTEND
137
138public:
139 // virtual function thunks
140 // NOLINTBEGIN
141 MCNAPI void $tick(
144 ::Read<
157 ::EntityFactoryT<>>& executionContext
158 );
159
160
161 // NOLINTEND
162
163public:
164 // vftables
165 // NOLINTBEGIN
166 MCNAPI static void** $vftable();
167 // NOLINTEND
168};
Definition EntityModifier.h:6
Definition IConstBlockSource.h:25
Definition IStrictTickingSystem.h:6
Definition MobSuffocationSystemImpl.h:58
static MCAPI void ** $vftable()
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)
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 > const &modifier, ::IConstBlockSource const &region)
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:34
Definition GlobalRead.h:6
Definition GlobalWrite.h:6
Definition Include.h:6
Definition MobFlagComponent.h:5
Definition MobIsSuffocatingFlagComponent.h:5
Definition MobSuffocationSystemImpl.h:66
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