Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PlayJumpSoundSystemImpl.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/Exclude.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/Read.h"
16#include "mc/deps/ecs/strict/StrictExecutionContext.h"
17#include "mc/deps/ecs/strict/Write.h"
18#include "mc/entity/systems/play_jump_sound_system/SoundType.h"
19#include "mc/entity/utilities/ViewEachWithBlockSourceArgs.h"
20
21// auto generated forward declare list
22// clang-format off
36// clang-format on
37
38struct PlayJumpSoundSystemImpl : public ::IStrictTickingSystem<::StrictExecutionContext<
39 ::Filter<::TriggerJumpRequestComponent, ::LavaSlimeFlagComponent>,
40 ::Read<
41 ::ActorDataFlagComponent,
42 ::ActorDefinitionIdentifierComponent,
43 ::ActorUniqueIDComponent,
44 ::DimensionTypeComponent,
45 ::SoundEventPlayerComponent,
46 ::StateVectorComponent,
47 ::AABBShapeComponent>,
48 ::Write<>,
49 ::AddRemove<>,
50 ::GlobalRead<::LocalConstBlockSourceFactoryComponent>,
51 ::GlobalWrite<>,
52 ::EntityFactoryT<>>> {
53public:
54 // PlayJumpSoundSystemImpl inner types declare
55 // clang-format off
56 struct Views;
57 // clang-format on
58
59 // PlayJumpSoundSystemImpl inner types define
60 struct Views {
61 public:
62 // member variables
63 // NOLINTBEGIN
64 ::ll::TypedStorage<
65 8,
66 104,
67 ::ViewT<
78 mReadAndFilter;
79 ::ll::TypedStorage<8, 24, ::ViewT<::StrictEntityContext, ::SoundEventRequestQueueComponent>> mSoundQueue;
80 ::ll::TypedStorage<8, 32, ::ViewEachWithBlockSourceArgs> mBlockSource;
81 // NOLINTEND
82
83 public:
84 // prevent constructor by default
85 Views();
86
87 public:
88 // member functions
89 // NOLINTBEGIN
90 MCNAPI explicit Views(
93 ::Read<
101 ::Write<>,
106 );
107 // NOLINTEND
108
109 public:
110 // constructor thunks
111 // NOLINTBEGIN
112 MCNAPI void* $ctor(
115 ::Read<
123 ::Write<>,
128 );
129 // NOLINTEND
130 };
131
132public:
133 // member variables
134 // NOLINTBEGIN
135 ::ll::TypedStorage<8, 168, ::std::optional<::PlayJumpSoundSystemImpl::Views>> mViews;
136 ::ll::TypedStorage<4, 4, ::PlayJumpSoundSystem::SoundType const> mJumpType;
137 // NOLINTEND
138
139public:
140 // virtual functions
141 // NOLINTBEGIN
142 virtual void tick(
145 ::Read<
153 ::Write<>,
158 ) /*override*/;
159
160 virtual void singleTick(
163 ::Read<
171 ::Write<>,
176 ::StrictEntityContext& entityContext
177 ) /*override*/;
178 // NOLINTEND
179
180public:
181 // static functions
182 // NOLINTBEGIN
183 MCNAPI static void doPlayJumpSoundSystem(
184 ::StrictEntityContext const& entity,
185 ::ActorDataFlagComponent const& actorFlags,
186 ::ActorDefinitionIdentifierComponent const& actorIdentifier,
187 ::ActorUniqueIDComponent const& actorUniqueID,
188 ::DimensionTypeComponent const& dimensionType,
189 ::SoundEventPlayerComponent const& soundEventPlayerComponent,
190 ::StateVectorComponent const& stateVectorComponent,
191 ::AABBShapeComponent const& aabbShapeComponent,
193 ::PlayJumpSoundSystem::SoundType const jumpType,
194 ::IConstBlockSource const& region
195 );
196 // NOLINTEND
197
198public:
199 // virtual function thunks
200 // NOLINTBEGIN
201 MCNAPI void $tick(
204 ::Read<
212 ::Write<>,
217 );
218
219 MCNAPI void $singleTick(
222 ::Read<
230 ::Write<>,
235 ::StrictEntityContext& entityContext
236 );
237
238
239 // NOLINTEND
240
241public:
242 // vftables
243 // NOLINTBEGIN
244 MCNAPI static void** $vftable();
245 // NOLINTEND
246};
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 ActorDataFlagComponent.h:9
Definition ActorDefinitionIdentifierComponent.h:8
Definition ActorUniqueIDComponent.h:8
Definition AddRemove.h:6
Definition DimensionTypeComponent.h:8
Definition EntityFactoryT.h:6
Definition Exclude.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 PlayJumpSoundSystemImpl.h:60
MCAPI Views(::StrictExecutionContext< ::Filter<::TriggerJumpRequestComponent, ::LavaSlimeFlagComponent >, ::Read< ::ActorDataFlagComponent, ::ActorDefinitionIdentifierComponent, ::ActorUniqueIDComponent, ::DimensionTypeComponent, ::SoundEventPlayerComponent, ::StateVectorComponent, ::AABBShapeComponent >, ::Write<>, ::AddRemove<>, ::GlobalRead<::LocalConstBlockSourceFactoryComponent >, ::GlobalWrite<>, ::EntityFactoryT<> > &c)
MCAPI void * $ctor(::StrictExecutionContext< ::Filter<::TriggerJumpRequestComponent, ::LavaSlimeFlagComponent >, ::Read< ::ActorDataFlagComponent, ::ActorDefinitionIdentifierComponent, ::ActorUniqueIDComponent, ::DimensionTypeComponent, ::SoundEventPlayerComponent, ::StateVectorComponent, ::AABBShapeComponent >, ::Write<>, ::AddRemove<>, ::GlobalRead<::LocalConstBlockSourceFactoryComponent >, ::GlobalWrite<>, ::EntityFactoryT<> > &c)
Definition PlayJumpSoundSystemImpl.h:52
static MCAPI void ** $vftable()
MCAPI void $tick(::StrictExecutionContext< ::Filter<::TriggerJumpRequestComponent, ::LavaSlimeFlagComponent >, ::Read< ::ActorDataFlagComponent, ::ActorDefinitionIdentifierComponent, ::ActorUniqueIDComponent, ::DimensionTypeComponent, ::SoundEventPlayerComponent, ::StateVectorComponent, ::AABBShapeComponent >, ::Write<>, ::AddRemove<>, ::GlobalRead<::LocalConstBlockSourceFactoryComponent >, ::GlobalWrite<>, ::EntityFactoryT<> > &context)
MCAPI void $singleTick(::StrictExecutionContext< ::Filter<::TriggerJumpRequestComponent, ::LavaSlimeFlagComponent >, ::Read< ::ActorDataFlagComponent, ::ActorDefinitionIdentifierComponent, ::ActorUniqueIDComponent, ::DimensionTypeComponent, ::SoundEventPlayerComponent, ::StateVectorComponent, ::AABBShapeComponent >, ::Write<>, ::AddRemove<>, ::GlobalRead<::LocalConstBlockSourceFactoryComponent >, ::GlobalWrite<>, ::EntityFactoryT<> > &context, ::StrictEntityContext &entityContext)
static MCAPI void doPlayJumpSoundSystem(::StrictEntityContext const &entity, ::ActorDataFlagComponent const &actorFlags, ::ActorDefinitionIdentifierComponent const &actorIdentifier, ::ActorUniqueIDComponent const &actorUniqueID, ::DimensionTypeComponent const &dimensionType, ::SoundEventPlayerComponent const &soundEventPlayerComponent, ::StateVectorComponent const &stateVectorComponent, ::AABBShapeComponent const &aabbShapeComponent, ::ViewT<::StrictEntityContext, ::SoundEventRequestQueueComponent > const &requestQueueView, ::PlayJumpSoundSystem::SoundType const jumpType, ::IConstBlockSource const &region)
Definition Read.h:6
Definition SoundEventPlayerComponent.h:8
Definition SoundEventRequestQueueComponent.h:8
Definition StateVectorComponent.h:8
Definition TriggerJumpRequestComponent.h:8
Definition Write.h:6
Definition context.h:5