43 ::ll::TypedStorage<8, 136, ::LevelSoundEventPacket> mPacket;
44 ::ll::TypedStorage<8, 24, ::std::vector<::NetworkIdentifierWithSubId>> mNetworkIds;
64 ::ll::TypedStorage<8, 136, ::LevelSoundEventPacket> mPacket;
84 ::ll::TypedStorage<8, 136, ::LevelSoundEventPacket> mPacket;
85 ::ll::TypedStorage<8, 184, ::NetworkIdentifierWithSubId> mNetworkId;
105 ::ll::TypedStorage<8, 136, ::LevelSoundEventPacket> mPacket;
121 using QueuedSoundPacket = ::std::variant<
130 ::ll::TypedStorage<8, 32, ::ServerSoundInstanceManager> mServerSoundInstanceManager;
131 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::SoundPlayerInterface>> mSoundPlayer;
132 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::PacketSender>> mLevelPacketSender;
133 ::ll::TypedStorage<1, 1, bool> mIsClientSide;
134 ::ll::TypedStorage<1, 1, bool> mServerAuthSoundEnabled;
135 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator>
const> mLevelEventCoordinator;
139 ::std::vector<::std::variant<
157 void(::std::string
const&,
::Vec3 const&,
float,
float, ::std::optional<::ServerSoundHandle>),
160 mOnLevelSoundEventWithVolumeAndPitch;
165 mOnStopLevelSoundEvent;
167 mOnStopAllLevelSoundsEvent;
179 virtual ::Bedrock::PubSub::Connector<
181 getOnLevelSoundEventConnector() ;
183 virtual ::Bedrock::PubSub::Connector<
184 void(::std::string
const&,
::Vec3 const&,
float,
float, ::std::optional<::ServerSoundHandle>)>&
185 getOnLevelSoundEventWithVolumeAndPitchConnector() ;
187 virtual ::Bedrock::PubSub::Connector<void(::std::string
const&)>& getOnStopLevelSoundEventConnector() ;
189 virtual ::Bedrock::PubSub::Connector<void()>& getOnStopAllLevelSoundsEventConnector() ;
191 virtual ::Bedrock::PubSub::Connector<void()>& getOnStopMusicEventConnector() ;
197 MCAPI LevelSoundManager(
198 ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> soundPlayer,
200 ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator> levelEventCoordinator,
201 ::Bedrock::NotNullNonOwnerPtr<::PacketSender> packetSender,
202 bool isServerAuthSoundEnabled
205 MCAPI
void broadcastSoundEvent(
207 ::SharedTypes::Legacy::LevelSoundEvent type,
213 ::std::optional<::Vec3>
const& fireAtPosition
216 MCAPI
void playPredictiveSynchronizedSound(
218 ::SharedTypes::Legacy::LevelSoundEvent type,
224 ::std::optional<::Vec3>
const& fireAtPosition
227 MCAPI
void playSynchronizedSound_DEPRECATED(
229 ::SharedTypes::Legacy::LevelSoundEvent type,
235 ::std::optional<::Vec3>
const& fireAtPosition
238 MCAPI
void processQueuedSoundPackets();
245 ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> soundPlayer,
247 ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator> levelEventCoordinator,
248 ::Bedrock::NotNullNonOwnerPtr<::PacketSender> packetSender,
249 bool isServerAuthSoundEnabled
256 MCFOLD ::Bedrock::PubSub::Connector<
258 $getOnLevelSoundEventConnector();
260 MCFOLD ::Bedrock::PubSub::Connector<
261 void(::std::string
const&,
::Vec3 const&,
float,
float, ::std::optional<::ServerSoundHandle>)>&
262 $getOnLevelSoundEventWithVolumeAndPitchConnector();
264 MCFOLD ::Bedrock::PubSub::Connector<void(::std::string
const&)>& $getOnStopLevelSoundEventConnector();
266 MCFOLD ::Bedrock::PubSub::Connector<void()>& $getOnStopAllLevelSoundsEventConnector();
268 MCAPI ::Bedrock::PubSub::Connector<void()>& $getOnStopMusicEventConnector();