LeviLamina
Loading...
Searching...
No Matches
LevelSoundManager Class Reference
+ Inheritance diagram for LevelSoundManager:

Classes

struct  QueuedSoundBroadcastMultipleUserIdsPacket
 
struct  QueuedSoundBroadcastPacket
 
struct  QueuedSoundBroadcastUserIdPacket
 
struct  QueuedSoundSendPacket
 

Public Types

using QueuedSoundPacket
 

Public Member Functions

virtual ::Bedrock::PubSub::Connector< void(::SharedTypes::Legacy::LevelSoundEvent, ::Vec3 const &, int, ::ActorSoundIdentifier const &, bool)> & getOnLevelSoundEventConnector ()
 
virtual ::Bedrock::PubSub::Connector< void(::std::string const &, ::Vec3 const &, float, float)> & getOnLevelSoundEventWithVolumeAndPitchConnector ()
 
virtual ::Bedrock::PubSub::Connector< void(::std::string const &)> & getOnStopLevelSoundEventConnector ()
 
virtual ::Bedrock::PubSub::Connector< void()> & getOnStopAllLevelSoundsEventConnector ()
 
virtual ::Bedrock::PubSub::Connector< void()> & getOnStopMusicEventConnector ()
 
MCAPI LevelSoundManager (::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface > soundPlayer, bool isClientSide, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator > levelEventCoordinator, ::Bedrock::NotNullNonOwnerPtr<::PacketSender > packetSender, bool isServerAuthSoundEnabled)
 
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 void playPredictiveSynchronizedSound (::IDimension &dimension, ::SharedTypes::Legacy::LevelSoundEvent type, ::Vec3 const &pos, ::Player *targetPlayer, int data, ::ActorSoundIdentifier const &actorSoundIdentifier, bool isGlobal)
 
MCAPI void playSynchronizedSound_DEPRECATED (::IDimension &dimension, ::SharedTypes::Legacy::LevelSoundEvent type, ::Vec3 const &pos, ::Player *primaryLocalPlayer, int data, ::ActorSoundIdentifier const &actorSoundIdentifier, bool isGlobal)
 
MCAPI void stopSoundEvent (::std::string const &name)
 
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface > soundPlayer, bool isClientSide, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator > levelEventCoordinator, ::Bedrock::NotNullNonOwnerPtr<::PacketSender > packetSender, bool isServerAuthSoundEnabled)
 
MCAPI void $dtor ()
 
MCFOLD ::Bedrock::PubSub::Connector< void(::SharedTypes::Legacy::LevelSoundEvent, ::Vec3 const &, int, ::ActorSoundIdentifier const &, bool)> & $getOnLevelSoundEventConnector ()
 
MCFOLD ::Bedrock::PubSub::Connector< void(::std::string const &, ::Vec3 const &, float, float)> & $getOnLevelSoundEventWithVolumeAndPitchConnector ()
 
MCAPI ::Bedrock::PubSub::Connector< void(::std::string const &)> & $getOnStopLevelSoundEventConnector ()
 
MCAPI ::Bedrock::PubSub::Connector< void()> & $getOnStopAllLevelSoundsEventConnector ()
 
MCFOLD ::Bedrock::PubSub::Connector< void()> & $getOnStopMusicEventConnector ()
 
MCFOLD void * $ctor ()
 
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::SoundPlayerInterface > > mSoundPlayer
 
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::PacketSender > > mLevelPacketSender
 
::ll::TypedStorage< 1, 1, bool > mIsClientSide
 
::ll::TypedStorage< 1, 1, bool > mServerAuthSoundEnabled
 
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator > const > mLevelEventCoordinator
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::variant< ::LevelSoundManager::QueuedSoundSendPacket, ::LevelSoundManager::QueuedSoundBroadcastPacket, ::LevelSoundManager::QueuedSoundBroadcastUserIdPacket, ::LevelSoundManager::QueuedSoundBroadcastMultipleUserIdsPacket > > > mSoundPacketQueue
 
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::SharedTypes::Legacy::LevelSoundEvent, ::Vec3 const &, int, ::ActorSoundIdentifier const &, bool), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnLevelSoundEvent
 
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::std::string const &, ::Vec3 const &, float, float), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnLevelSoundEventWithVolumeAndPitch
 
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::std::string const &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnStopLevelSoundEvent
 
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnStopAllLevelSoundsEvent
 
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnStopMusicEvent
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 

Member Typedef Documentation

◆ QueuedSoundPacket

Member Function Documentation

◆ getOnLevelSoundEventConnector()

virtual ::Bedrock::PubSub::Connector< void(::SharedTypes::Legacy::LevelSoundEvent, ::Vec3 const &, int, ::ActorSoundIdentifier const &, bool)> & LevelSoundManager::getOnLevelSoundEventConnector ( )
virtual

◆ getOnLevelSoundEventWithVolumeAndPitchConnector()

virtual ::Bedrock::PubSub::Connector< void(::std::string const &, ::Vec3 const &, float, float)> & LevelSoundManager::getOnLevelSoundEventWithVolumeAndPitchConnector ( )
virtual

◆ getOnStopLevelSoundEventConnector()

virtual ::Bedrock::PubSub::Connector< void(::std::string const &)> & LevelSoundManager::getOnStopLevelSoundEventConnector ( )
virtual

◆ getOnStopAllLevelSoundsEventConnector()

virtual ::Bedrock::PubSub::Connector< void()> & LevelSoundManager::getOnStopAllLevelSoundsEventConnector ( )
virtual

◆ getOnStopMusicEventConnector()

virtual ::Bedrock::PubSub::Connector< void()> & LevelSoundManager::getOnStopMusicEventConnector ( )
virtual

◆ $vftable()

static MCAPI void ** LevelSoundManager::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: