LeviLamina
Loading...
Searching...
No Matches
SoundEventRequest.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/deps/core/utility/AutomaticID.h"
8#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
9#include "mc/deps/shared_types/legacy/actor/ActorLocation.h"
10
11// auto generated forward declare list
12// clang-format off
13class Dimension;
17struct ActorUniqueID;
18// clang-format on
19
20struct SoundEventRequest {
21public:
22 // SoundEventRequest inner types declare
23 // clang-format off
24 struct ActorLocationData;
25 struct PlainData;
26 struct SoundData;
28 // clang-format on
29
30 // SoundEventRequest inner types define
31 struct ActorLocationData {
32 public:
33 // member variables
34 // NOLINTBEGIN
37 // NOLINTEND
38
39 public:
40 // prevent constructor by default
41 ActorLocationData& operator=(ActorLocationData const&);
42 ActorLocationData(ActorLocationData const&);
43 ActorLocationData();
44 };
45
46 struct PlainData {
47 public:
48 // member variables
49 // NOLINTBEGIN
56 // NOLINTEND
57
58 public:
59 // prevent constructor by default
60 PlainData& operator=(PlainData const&);
61 PlainData(PlainData const&);
62 PlainData();
63 };
64
65 struct SoundData {
66 public:
67 // member variables
68 // NOLINTBEGIN
71 // NOLINTEND
72
73 public:
74 // prevent constructor by default
75 SoundData& operator=(SoundData const&);
76 SoundData(SoundData const&);
77 SoundData();
78 };
79
80 struct SynchronizedPlainData {
81 public:
82 // member variables
83 // NOLINTBEGIN
90 // NOLINTEND
91
92 public:
93 // prevent constructor by default
94 SynchronizedPlainData& operator=(SynchronizedPlainData const&);
95 SynchronizedPlainData(SynchronizedPlainData const&);
96 SynchronizedPlainData();
97 };
98
99 using PositionVariant = ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>;
100
101 using SoundDataVariant = ::std::variant<
105
106public:
107 // member variables
108 // NOLINTBEGIN
109 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mEvent;
110 ::ll::TypedStorage<
111 8,
112 208,
113 ::std::variant<
117 mData;
118 ::ll::TypedStorage<4, 16, ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>> mPosition;
119 // NOLINTEND
120
121public:
122 // prevent constructor by default
123 SoundEventRequest& operator=(SoundEventRequest const&);
124 SoundEventRequest(SoundEventRequest const&);
125 SoundEventRequest();
126
127public:
128 // member functions
129 // NOLINTBEGIN
130 MCAPI SoundEventRequest(::SoundEventRequest&&);
131 // NOLINTEND
132
133public:
134 // static functions
135 // NOLINTBEGIN
136 MCAPI static ::std::optional<::SoundEventRequest> tryPlayPredictiveSynchronizedSound(
137 ::ActorDataFlagComponent const& actorFlags,
138 ::ActorDefinitionIdentifier const& identifier,
139 ::ActorUniqueID actorId,
140 ::DimensionType dimension,
141 ::SharedTypes::Legacy::LevelSoundEvent type,
142 ::Vec3 const& pos,
143 int data,
144 bool isGlobal
145 );
146
147 MCAPI static ::std::optional<::SoundEventRequest> tryPlayPredictiveSynchronizedSound(
148 ::ActorDataFlagComponent const& actorFlags,
149 ::ActorDefinitionIdentifier const& identifier,
150 ::ActorUniqueID actorId,
151 ::DimensionType dimension,
152 ::SharedTypes::Legacy::LevelSoundEvent type,
153 ::StrictEntityContext const& entity,
154 ::SharedTypes::Legacy::ActorLocation location,
155 int data,
156 bool isGlobal
157 );
158
159 MCAPI static ::std::optional<::SoundEventRequest> tryPlaySound(
160 ::ActorDataFlagComponent const& actorFlags,
161 ::ActorDefinitionIdentifier const& identifier,
162 ::ActorUniqueID actorId,
163 ::DimensionType dimension,
164 ::SharedTypes::Legacy::LevelSoundEvent type,
165 ::StrictEntityContext const& entity,
166 ::SharedTypes::Legacy::ActorLocation location,
167 int data
168 );
169 // NOLINTEND
170
171public:
172 // constructor thunks
173 // NOLINTBEGIN
174 MCAPI void* $ctor(::SoundEventRequest&&);
175 // NOLINTEND
176};
Definition Dimension.h:85
Definition StrictEntityContext.h:8
Definition Vec3.h:10
Definition ActorDataFlagComponent.h:9
Definition ActorDefinitionIdentifier.h:15
Definition ActorUniqueID.h:5
Definition SoundEventRequest.h:31
Definition SoundEventRequest.h:46
Definition SoundEventRequest.h:65
Definition SoundEventRequest.h:80
Definition Alias.h:14