LeviLamina
Loading...
Searching...
No Matches
LevelSoundManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/deps/core/utility/pub_sub/Connector.h"
8#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
9#include "mc/world/level/ILevelSoundManagerConnector.h"
10
11// auto generated forward declare list
12// clang-format off
14class IDimension;
16class PacketSender;
17class Player;
19class Vec3;
20// clang-format on
21
23public:
24 // LevelSoundManager inner types declare
25 // clang-format off
30 // clang-format on
31
32 // LevelSoundManager inner types define
34 public:
35 // member variables
36 // NOLINTBEGIN
38 // NOLINTEND
39
40 public:
41 // prevent constructor by default
45
46 public:
47 // member functions
48 // NOLINTBEGIN
50 // NOLINTEND
51
52 public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCNAPI void $dtor();
56 // NOLINTEND
57 };
58
60 public:
61 // member variables
62 // NOLINTBEGIN
64 // NOLINTEND
65
66 public:
67 // prevent constructor by default
71
72 public:
73 // member functions
74 // NOLINTBEGIN
76 // NOLINTEND
77
78 public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCNAPI void $dtor();
82 // NOLINTEND
83 };
84
86 public:
87 // member variables
88 // NOLINTBEGIN
91 // NOLINTEND
92
93 public:
94 // prevent constructor by default
98
99 public:
100 // member functions
101 // NOLINTBEGIN
103 // NOLINTEND
104
105 public:
106 // destructor thunk
107 // NOLINTBEGIN
108 MCNAPI void $dtor();
109 // NOLINTEND
110 };
111
113 public:
114 // member variables
115 // NOLINTBEGIN
118 // NOLINTEND
119
120 public:
121 // prevent constructor by default
125
126 public:
127 // member functions
128 // NOLINTBEGIN
130 // NOLINTEND
131
132 public:
133 // destructor thunk
134 // NOLINTBEGIN
135 MCNAPI void $dtor();
136 // NOLINTEND
137 };
138
139public:
140 // member variables
141 // NOLINTBEGIN
153 // NOLINTEND
154
155public:
156 // prevent constructor by default
157 LevelSoundManager& operator=(LevelSoundManager const&);
160
161public:
162 // virtual functions
163 // NOLINTBEGIN
164 // vIndex: 1
165 virtual ::Bedrock::PubSub::Connector<
166 void(::SharedTypes::Legacy::LevelSoundEvent, ::Vec3 const&, int, ::ActorSoundIdentifier const&, bool)>&
167 getOnLevelSoundEventConnector() /*override*/;
168
169 // vIndex: 2
170 virtual ::Bedrock::PubSub::Connector<void(::std::string const&, ::Vec3 const&, float, float)>&
171 getOnLevelSoundEventWithVolumeAndPitchConnector() /*override*/;
172
173 // vIndex: 3
174 virtual ::Bedrock::PubSub::Connector<void(::std::string const&)>& getOnStopLevelSoundEventConnector() /*override*/;
175
176 // vIndex: 4
177 virtual ::Bedrock::PubSub::Connector<void()>& getOnStopAllLevelSoundsEventConnector() /*override*/;
178
179 // vIndex: 5
180 virtual ::Bedrock::PubSub::Connector<void()>& getOnStopMusicEventConnector() /*override*/;
181
182 // vIndex: 0
183 virtual ~LevelSoundManager() /*override*/;
184 // NOLINTEND
185
186public:
187 // member functions
188 // NOLINTBEGIN
190 ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> soundPlayer,
191 bool isClientSide,
192 ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator> levelEventCoordinator,
193 ::Bedrock::NotNullNonOwnerPtr<::PacketSender> packetSender,
194 bool isServerAuthSoundEnabled
195 );
196
197 MCNAPI void _queueSoundPacket(
198 ::std::variant<
203 );
204
206 ::IDimension& dimension,
207 ::SharedTypes::Legacy::LevelSoundEvent type,
208 ::Vec3 const& pos,
209 int data,
210 ::ActorSoundIdentifier const& actorSoundIdentifier,
211 bool isGlobal,
212 ::Player* primaryLocalPlayer
213 );
214
216 ::IDimension& dimension,
217 ::SharedTypes::Legacy::LevelSoundEvent type,
218 ::Vec3 const& pos,
219 ::Player* targetPlayer,
220 int data,
221 ::ActorSoundIdentifier const& actorSoundIdentifier,
222 bool isGlobal
223 );
224
226 ::IDimension& dimension,
227 ::SharedTypes::Legacy::LevelSoundEvent type,
228 ::Vec3 const& pos,
229 ::Player* primaryLocalPlayer,
230 int data,
231 ::ActorSoundIdentifier const& actorSoundIdentifier,
232 bool isGlobal
233 );
234
235 MCNAPI void stopSoundEvent(::std::string const& name);
236 // NOLINTEND
237
238public:
239 // constructor thunks
240 // NOLINTBEGIN
241 MCNAPI void* $ctor(
242 ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> soundPlayer,
243 bool isClientSide,
244 ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator> levelEventCoordinator,
245 ::Bedrock::NotNullNonOwnerPtr<::PacketSender> packetSender,
246 bool isServerAuthSoundEnabled
247 );
248 // NOLINTEND
249
250public:
251 // destructor thunk
252 // NOLINTBEGIN
253 MCNAPI void $dtor();
254 // NOLINTEND
255
256public:
257 // virtual function thunks
258 // NOLINTBEGIN
259 MCNAPI ::Bedrock::PubSub::Connector<
260 void(::SharedTypes::Legacy::LevelSoundEvent, ::Vec3 const&, int, ::ActorSoundIdentifier const&, bool)>&
262
263 MCNAPI ::Bedrock::PubSub::Connector<void(::std::string const&, ::Vec3 const&, float, float)>&
265
266 MCNAPI ::Bedrock::PubSub::Connector<void(::std::string const&)>& $getOnStopLevelSoundEventConnector();
267
268 MCNAPI ::Bedrock::PubSub::Connector<void()>& $getOnStopAllLevelSoundsEventConnector();
269
270 MCNAPI ::Bedrock::PubSub::Connector<void()>& $getOnStopMusicEventConnector();
271 // NOLINTEND
272
273public:
274 // vftables
275 // NOLINTBEGIN
276 MCNAPI static void** $vftable();
277 // NOLINTEND
278};
Definition ActorSoundIdentifier.h:16
Definition IDimension.h:24
Definition ILevelSoundManagerConnector.h:18
Definition LevelEventCoordinator.h:25
Definition LevelSoundManager.h:22
MCAPI void playPredictiveSynchronizedSound(::IDimension &dimension, ::SharedTypes::Legacy::LevelSoundEvent type, ::Vec3 const &pos, ::Player *targetPlayer, int data, ::ActorSoundIdentifier const &actorSoundIdentifier, bool isGlobal)
MCAPI ::Bedrock::PubSub::Connector< void(::SharedTypes::Legacy::LevelSoundEvent, ::Vec3 const &, int, ::ActorSoundIdentifier const &, bool)> & $getOnLevelSoundEventConnector()
MCAPI void stopSoundEvent(::std::string const &name)
MCAPI ::Bedrock::PubSub::Connector< void()> & $getOnStopMusicEventConnector()
MCAPI ::Bedrock::PubSub::Connector< void(::std::string const &, ::Vec3 const &, float, float)> & $getOnLevelSoundEventWithVolumeAndPitchConnector()
MCAPI void _queueSoundPacket(::std::variant< ::LevelSoundManager::QueuedSoundSendPacket, ::LevelSoundManager::QueuedSoundBroadcastPacket, ::LevelSoundManager::QueuedSoundBroadcastUserIdPacket, ::LevelSoundManager::QueuedSoundBroadcastMultipleUserIdsPacket > packet)
MCAPI void broadcastSoundEvent(::IDimension &dimension, ::SharedTypes::Legacy::LevelSoundEvent type, ::Vec3 const &pos, int data, ::ActorSoundIdentifier const &actorSoundIdentifier, bool isGlobal, ::Player *primaryLocalPlayer)
MCAPI ::Bedrock::PubSub::Connector< void()> & $getOnStopAllLevelSoundsEventConnector()
MCAPI void $dtor()
MCAPI LevelSoundManager(::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface > soundPlayer, bool isClientSide, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator > levelEventCoordinator, ::Bedrock::NotNullNonOwnerPtr<::PacketSender > packetSender, bool isServerAuthSoundEnabled)
static MCAPI void ** $vftable()
MCAPI void * $ctor(::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface > soundPlayer, bool isClientSide, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator > levelEventCoordinator, ::Bedrock::NotNullNonOwnerPtr<::PacketSender > packetSender, bool isServerAuthSoundEnabled)
MCAPI ::Bedrock::PubSub::Connector< void(::std::string const &)> & $getOnStopLevelSoundEventConnector()
MCAPI void playSynchronizedSound_DEPRECATED(::IDimension &dimension, ::SharedTypes::Legacy::LevelSoundEvent type, ::Vec3 const &pos, ::Player *primaryLocalPlayer, int data, ::ActorSoundIdentifier const &actorSoundIdentifier, bool isGlobal)
Definition PacketSender.h:17
Definition Player.h:119
Definition SoundPlayerInterface.h:20
Definition Vec3.h:10
Definition LevelSoundManager.h:59
Definition LevelSoundManager.h:33
Definition Alias.h:14