Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MonsterAiStepSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/ViewT.h"
7#include "mc/deps/ecs/strict/AddRemove.h"
8#include "mc/deps/ecs/strict/EntityFactoryT.h"
9#include "mc/deps/ecs/strict/Filter.h"
10#include "mc/deps/ecs/strict/GlobalRead.h"
11#include "mc/deps/ecs/strict/GlobalWrite.h"
12#include "mc/deps/ecs/strict/IStrictTickingSystem.h"
13#include "mc/deps/ecs/strict/Include.h"
14#include "mc/deps/ecs/strict/Read.h"
15#include "mc/deps/ecs/strict/StrictExecutionContext.h"
16#include "mc/deps/ecs/strict/Write.h"
17#include "mc/entity/utilities/ViewEachWithBlockSourceArgs.h"
18
19// auto generated forward declare list
20// clang-format off
31struct OffsetsComponent;
34// clang-format on
35
37: public ::IStrictTickingSystem<::StrictExecutionContext<
38 ::Filter<
39 ::ActorMovementTickNeededComponent,
40 ::BlazeFlagComponent,
41 ::LavaSlimeFlagComponent,
42 ::MonsterFlagComponent>,
43 ::Read<::AABBShapeComponent, ::DimensionTypeComponent, ::OffsetsComponent, ::StateVectorComponent>,
44 ::Write<::NoActionTimeComponent>,
45 ::AddRemove<>,
46 ::GlobalRead<::LocalConstBlockSourceFactoryComponent>,
47 ::GlobalWrite<>,
48 ::EntityFactoryT<>>> {
49public:
50 // MonsterAiStepSystem inner types declare
51 // clang-format off
52 struct Views;
53 // clang-format on
54
55 // MonsterAiStepSystem inner types define
56 struct Views {
57 public:
58 // member variables
59 // NOLINTBEGIN
60 ::ll::TypedStorage<
61 8,
62 88,
63 ::ViewT<
70 mView;
71 ::ll::TypedStorage<8, 24, ::ViewT<::StrictEntityContext, ::Include<::BlazeFlagComponent>>> mBlazeView;
72 ::ll::TypedStorage<8, 24, ::ViewT<::StrictEntityContext, ::Include<::LavaSlimeFlagComponent>>> mLavaSlimeView;
73 ::ll::TypedStorage<8, 32, ::ViewEachWithBlockSourceArgs> mBlockSource;
74 // NOLINTEND
75 };
76
89
90public:
91 // member variables
92 // NOLINTBEGIN
93 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MonsterAiStepSystem::Views>> mViews;
94 // NOLINTEND
95
96public:
97 // virtual functions
98 // NOLINTBEGIN
99 virtual void tick(
101 ::Filter<
111 ::EntityFactoryT<>>& strictContext
112 ) /*override*/;
113
114 virtual ~MonsterAiStepSystem() /*override*/ = default;
115 // NOLINTEND
116
117public:
118 // static functions
119 // NOLINTBEGIN
120 MCNAPI static ::TickingSystemWithInfo createSystem();
121
122 MCNAPI static void tickMonsterAiStep(
123 ::StrictEntityContext const& entity,
124 ::AABBShapeComponent const& aabbShapeComponent,
125 ::OffsetsComponent const& offsetsComponent,
126 ::StateVectorComponent const& stateVectorComponent,
127 ::NoActionTimeComponent& noActionTimeComponent,
130 ::IConstBlockSource const& region
131 );
132 // NOLINTEND
133
134public:
135 // virtual function thunks
136 // NOLINTBEGIN
137 MCNAPI void $tick(
139 ::Filter<
149 ::EntityFactoryT<>>& strictContext
150 );
151
152
153 // NOLINTEND
154};
Definition IConstBlockSource.h:25
Definition IStrictTickingSystem.h:6
Definition StrictEntityContext.h:8
Definition StrictExecutionContext.h:6
Definition ViewT.h:6
Definition AABBShapeComponent.h:9
Definition ActorMovementTickNeededComponent.h:5
Definition AddRemove.h:6
Definition BlazeFlagComponent.h:5
Definition DimensionTypeComponent.h:8
Definition EntityFactoryT.h:6
Definition Filter.h:6
Definition GlobalRead.h:6
Definition GlobalWrite.h:6
Definition Include.h:6
Definition LavaSlimeFlagComponent.h:5
Definition LocalConstBlockSourceFactoryComponent.h:8
Definition MonsterAiStepSystem.h:56
Definition MonsterAiStepSystem.h:48
MCAPI void $tick(::StrictExecutionContext< ::Filter< ::ActorMovementTickNeededComponent, ::BlazeFlagComponent, ::LavaSlimeFlagComponent, ::MonsterFlagComponent >, ::Read<::AABBShapeComponent, ::DimensionTypeComponent, ::OffsetsComponent, ::StateVectorComponent >, ::Write<::NoActionTimeComponent >, ::AddRemove<>, ::GlobalRead<::LocalConstBlockSourceFactoryComponent >, ::GlobalWrite<>, ::EntityFactoryT<> > &strictContext)
static MCAPI void tickMonsterAiStep(::StrictEntityContext const &entity, ::AABBShapeComponent const &aabbShapeComponent, ::OffsetsComponent const &offsetsComponent, ::StateVectorComponent const &stateVectorComponent, ::NoActionTimeComponent &noActionTimeComponent, ::ViewT<::StrictEntityContext, ::Include<::BlazeFlagComponent > > const &blazeView, ::ViewT<::StrictEntityContext, ::Include<::LavaSlimeFlagComponent > > const &lavaSlimeView, ::IConstBlockSource const &region)
static MCAPI ::TickingSystemWithInfo createSystem()
Definition MonsterFlagComponent.h:5
Definition NoActionTimeComponent.h:5
Definition OffsetsComponent.h:8
Definition Read.h:6
Definition StateVectorComponent.h:8
Definition TickingSystemWithInfo.h:13
Definition Write.h:6