LeviLamina
Loading...
Searching...
No Matches
SoundPlayerInterface Class Referenceabstract
Inheritance diagram for SoundPlayerInterface:

Public Member Functions

virtual uint64 play (::std::string const &name, ::Vec3 const &pos, float volume, float pitch)=0
virtual uint64 playUI (::std::string const &name, float volume, float pitch)=0
virtual void playMusic (::std::string const &eventName, float volume, uint &playlistIndex)=0
virtual void playMusic (::std::string const &eventName, float volume)=0
virtual bool isLoadingMusic () const =0
virtual bool isPlayingMusicEvent (::std::string const &eventName) const =0
virtual bool isPlayingMusic (::Core::PathView soundName) const =0
virtual void fadeToStopMusic (float fadeSeconds)=0
virtual void setMusicCommandVolumeMultiplier (float volumeMultiplier)=0
virtual void fadeOut (uint64 handle, float duration)=0
virtual void stopMusic ()=0
virtual void stop (::std::string const &name)=0
virtual void stop (uint64 handle)=0
virtual void stopAllSounds ()=0
virtual void pauseAllPlayingSounds ()=0
virtual void resumeAllPreviouslyPlayingSounds ()=0
virtual void pauseMusic (bool state)=0
virtual ::Core::PathBuffer<::std::string > const getCurrentlyPlayingMusicName ()=0
virtual bool getItem (::std::string const &eventName, ::Core::PathView soundName, ::SoundItem &soundItem) const =0
virtual uint64 registerLoop (::std::string const &name, ::std::function< void(::LoopingSoundState &)> getSoundState, float fadeInDuration, float fadeOutDuration)=0
virtual void unregisterLoop (uint64 handle, bool hard)=0
virtual ::std::optional<::std::string > getSubtitle (::std::string const &name) const =0
virtual bool isPlayingSound (uint64 handle) const =0
virtual bool isPlayingSound (::Core::Path const &soundName) const =0
virtual uint64 playAttached (::std::string const &eventName, ::std::function< void(::SoundInstanceProperties &)> &&getSoundProperties)=0
virtual void stopAllDelayedSoundActions ()=0
virtual ::std::optional<::PlayingSoundAttributestryGetPlayingSoundAttributes (uint64 handle) const =0
virtual ::std::optional<::LoopingSoundAttributestryGetLoopingSoundAttributes (uint64 handle) const =0
MCAPI void $dtor ()
MCFOLD void * $ctor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Function Documentation

◆ $dtor()

MCAPI void SoundPlayerInterface::$dtor ( )
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.

◆ $vftable()

MCAPI void ** Bedrock::EnableNonOwnerReferences::$vftable ( )
staticinherited
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: