Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ServerMobTickDeathSystemImpl.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/Filter.h"
11#include "mc/deps/ecs/strict/GlobalRead.h"
12#include "mc/deps/ecs/strict/GlobalWrite.h"
13#include "mc/deps/ecs/strict/IStrictTickingSystem.h"
14#include "mc/deps/ecs/strict/Include.h"
15#include "mc/deps/ecs/strict/OptionalGlobal.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
33struct MobFlagComponent;
34struct OffsetsComponent;
35struct PlayerComponent;
42// clang-format on
43
45: public ::IStrictTickingSystem<::StrictExecutionContext<
46 ::Filter<::ActorTickedComponent, ::TickDeathNeededComponent, ::MobFlagComponent>,
47 ::Read<
48 ::AABBShapeComponent,
49 ::ActorDefinitionIdentifierComponent,
50 ::ActorUniqueIDComponent,
51 ::DimensionTypeComponent,
52 ::ExperienceRewardComponent,
53 ::OffsetsComponent,
54 ::SoundEventPlayerComponent,
55 ::StateVectorComponent,
56 ::PlayerComponent>,
57 ::Write<::ActorDataFlagComponent, ::ActorDataDirtyFlagsComponent, ::ActorOwnerComponent, ::DeathTickingComponent>,
58 ::AddRemove<>,
59 ::GlobalRead<>,
60 ::GlobalWrite<::SpawnExperienceOrbRequestQueueComponent>,
61 ::EntityFactoryT<>>> {
62public:
63 // ServerMobTickDeathSystemImpl inner types declare
64 // clang-format off
65 struct Views;
66 // clang-format on
67
68 // ServerMobTickDeathSystemImpl inner types define
69 struct Views {
70 public:
71 // member variables
72 // NOLINTBEGIN
73 ::ll::TypedStorage<
74 8,
75 152,
76 ::ViewT<
93 mDeathView;
94 ::ll::TypedStorage<8, 8, ::OptionalGlobal<::SpawnExperienceOrbRequestQueueComponent>> mExperienceOrbRequest;
95 ::ll::TypedStorage<8, 24, ::ViewT<::StrictEntityContext, ::SoundEventRequestQueueComponent>>
96 mSoundEventRequestView;
97 // NOLINTEND
98 };
99
100public:
101 // member variables
102 // NOLINTBEGIN
103 ::ll::TypedStorage<8, 192, ::std::optional<::ServerMobTickDeathSystemImpl::Views>> mViews;
104 // NOLINTEND
105
106public:
107 // virtual functions
108 // NOLINTBEGIN
109 virtual void tick(
112 ::Read<
122 ::Write<
131 ) /*override*/;
132 // NOLINTEND
133
134public:
135 // static functions
136 // NOLINTBEGIN
137 MCNAPI static void _tick(
138 ::StrictEntityContext& entity,
139 ::AABBShapeComponent const& aabbShape,
140 ::ActorDefinitionIdentifierComponent const& actorIdentifier,
141 ::ActorUniqueIDComponent const& actorUniqueID,
142 ::DimensionTypeComponent const& dimensionType,
143 ::OffsetsComponent const& offsets,
144 ::SoundEventPlayerComponent const& soundEventPlayer,
145 ::StateVectorComponent const& stateVector,
146 ::ActorDataFlagComponent& actorFlags,
147 ::ActorDataDirtyFlagsComponent& actorDirtyFlags,
148 ::ActorOwnerComponent& actorOwner,
149 ::DeathTickingComponent& deathTicking,
153 ::SpawnExperienceOrbRequestQueueComponent& experienceOrbRequestQueue,
155 );
156 // NOLINTEND
157
158public:
159 // virtual function thunks
160 // NOLINTBEGIN
161 MCNAPI void $tick(
164 ::Read<
174 ::Write<
183 );
184
185
186 // NOLINTEND
187};
Definition ActorOwnerComponent.h:10
Definition ExperienceRewardComponent.h:13
Definition IStrictTickingSystem.h:6
Definition Optional.h:8
Definition StrictEntityContext.h:8
Definition StrictExecutionContext.h:6
Definition ViewT.h:6
Definition AABBShapeComponent.h:9
Definition ActorDataDirtyFlagsComponent.h:5
Definition ActorDataFlagComponent.h:9
Definition ActorDefinitionIdentifierComponent.h:8
Definition ActorTickedComponent.h:5
Definition ActorUniqueIDComponent.h:8
Definition AddRemove.h:6
Definition DeathTickingComponent.h:8
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 MobFlagComponent.h:5
Definition OffsetsComponent.h:8
Definition PlayerComponent.h:5
Definition Read.h:6
Definition ServerMobTickDeathSystemImpl.h:69
Definition ServerMobTickDeathSystemImpl.h:61
static MCAPI void _tick(::StrictEntityContext &entity, ::AABBShapeComponent const &aabbShape, ::ActorDefinitionIdentifierComponent const &actorIdentifier, ::ActorUniqueIDComponent const &actorUniqueID, ::DimensionTypeComponent const &dimensionType, ::OffsetsComponent const &offsets, ::SoundEventPlayerComponent const &soundEventPlayer, ::StateVectorComponent const &stateVector, ::ActorDataFlagComponent &actorFlags, ::ActorDataDirtyFlagsComponent &actorDirtyFlags, ::ActorOwnerComponent &actorOwner, ::DeathTickingComponent &deathTicking, ::Optional<::ExperienceRewardComponent > experienceReward, ::Optional<::PlayerComponent > player, ::Optional<::SpawnOnDeathComponent > spawnOnDeath, ::SpawnExperienceOrbRequestQueueComponent &experienceOrbRequestQueue, ::ViewT<::StrictEntityContext, ::SoundEventRequestQueueComponent > const &soundRequestQueueView)
MCAPI void $tick(::StrictExecutionContext< ::Filter<::ActorTickedComponent, ::TickDeathNeededComponent, ::MobFlagComponent >, ::Read< ::AABBShapeComponent, ::ActorDefinitionIdentifierComponent, ::ActorUniqueIDComponent, ::DimensionTypeComponent, ::ExperienceRewardComponent, ::OffsetsComponent, ::SoundEventPlayerComponent, ::StateVectorComponent, ::PlayerComponent >, ::Write< ::ActorDataFlagComponent, ::ActorDataDirtyFlagsComponent, ::ActorOwnerComponent, ::DeathTickingComponent >, ::AddRemove<>, ::GlobalRead<>, ::GlobalWrite<::SpawnExperienceOrbRequestQueueComponent >, ::EntityFactoryT<> > &context)
Definition SoundEventPlayerComponent.h:8
Definition SoundEventRequestQueueComponent.h:8
Definition SpawnExperienceOrbRequestQueueComponent.h:9
Definition SpawnOnDeathComponent.h:10
Definition StateVectorComponent.h:8
Definition TickDeathNeededComponent.h:5
Definition Write.h:6
Definition context.h:5