Master Audio - AAA Sound Solution!  v2022
The ultimate AAA audio config tool
DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter Class Reference

This class should be used instead of MasterAudio for all multiplayer operations. EventSounds, and the 2 "MechanimState" scripts both call this class when you have Multiplayer Broadcast checked for an audio event. All methods below are named identically to the same methods in the MasterAudio class, so feel free to reference that class instead. This class will call MasterAudio directly if in single-player mode, otherwise it will make an RPC which calls MasterAudio on all connected clients. The required 'Actor' Transfrom parameter is always the Transform that is 'making' the sound or audio request. More...

Inheritance diagram for DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter:

Static Public Member Functions

static void FireCustomEvent (string enterCustomEvent, Transform _actorTrans)
 This calls MasterAudio.FireCustomEvent More...
 
static void AudioListenerPause (Transform _actorTrans)
 This calls AudioListener.pause = true More...
 
static void AudioListenerUnpause (Transform _actorTrans)
 This calls AudioListener.pause = false More...
 
static void StopSoundGroupOfTransform (Transform _actorTrans, string timedSoundGroup)
 This calls MasterAudio.StopSoundGroupOfTransform More...
 
static void PlaySound3DFollowTransformAndForget (string enterSoundGroup, Transform _actorTrans)
 This calls MasterAudio.PlaySound3DFollowTransformAndForget More...
 
static void PlaySound3DFollowTransformAndForget (string enterSoundGroup, Transform _actorTrans, float volume, float?pitch, float delay, string varName)
 This calls MasterAudio.PlaySound3DFollowTransformAndForget More...
 
static void PlaySound3DAtTransformAndForget (string enterSoundGroup, Transform _actorTrans)
 This calls MasterAudio.PlaySound3DAtTransformAndForget More...
 
static void PlaySound3DAtTransformAndForget (string enterSoundGroup, Transform _actorTrans, float volume, float?pitch, float delay, string varName)
 This calls MasterAudio.PlaySound3DAtTransformAndForget More...
 
static PlaySoundResult PlaySound3DAtTransform (string sType, Transform trans, float volume, float?pitch, float delay, string variationName)
 This calls MasterAudio.PlaySound3DAtTransform More...
 
static PlaySoundResult PlaySound3DFollowTransform (string sType, Transform trans, float volume, float?pitch, float delay, string variationName)
 This calls MasterAudio.PlaySound3DFollowTransform More...
 
static PlaySoundResult PlaySound (Transform trans, string sType, float volume, float?pitch, float delay, string variationName)
 This calls MasterAudio.PlaySound More...
 
static void FadeOutAllOfSound (Transform trans, string soundType, float fadeTime)
 This calls MasterAudio.FadeOutAllOfSound More...
 
static void PlaySound3DAtTransformAndForget (string sType, Transform trans, float volume, float?pitch, float delaySound)
 This calls MasterAudio.PlaySound3DAtTransformAndForget More...
 
static void PlaySound3DFollowTransformAndForget (string sType, Transform trans, float volume, float?pitch, float delaySound)
 This calls MasterAudio.PlaySound3DFollowTransformAndForget More...
 
static void PlaySoundAndForget (Transform trans, string sType, float volume, float?pitch, float delaySound)
 This calls MasterAudio.PlaySoundAndForget More...
 
static void PlaySoundAndForget (Transform trans, string sType, float volume, float?pitch, float delay, string variationName)
 This calls MasterAudio.PlaySoundAndForget More...
 
static void FadeOutSoundGroupOfTransform (Transform trans, string soundType, float fadeTime)
 This calls MasterAudio.FadeOutSoundGroupOfTransform More...
 
static void FadeSoundGroupOfTransformToVolume (Transform trans, string soundType, float fadeTime, float fadeVolume)
 This calls MasterAudio.FadeSoundGroupOfTransformToVolume More...
 
static void RefillSoundGroupPool (Transform trans, string soundType)
 This calls MasterAudio.RefillSoundGroupPool More...
 
static void FadeSoundGroupToVolume (Transform trans, string soundType, float targetVol, float fadeTime, System.Action completionCallback, bool stopAfterFade, bool restoreVolumeAfterFade)
 This calls MasterAudio.FadeSoundGroupToVolume More...
 
static void MuteGroup (Transform trans, string soundType)
 This calls MasterAudio.MuteGroup More...
 
static void PauseSoundGroup (Transform trans, string soundType)
 This calls MasterAudio.PauseSoundGroup More...
 
static void SoloGroup (Transform trans, string soundType)
 This calls MasterAudio.SoloGroup More...
 
static void StopAllOfSound (Transform trans, string soundType)
 This calls MasterAudio.StopAllOfSound More...
 
static void UnmuteGroup (Transform trans, string soundType)
 This calls MasterAudio.UnmuteGroup More...
 
static void UnpauseSoundGroup (Transform trans, string soundType)
 This calls MasterAudio.UnpauseSoundGroup More...
 
static void UnsoloGroup (Transform trans, string soundType)
 This calls MasterAudio.UnsoloGroup More...
 
static void StopAllSoundsOfTransform (Transform trans)
 This calls MasterAudio.StopAllSoundsOfTransform More...
 
static void PauseAllSoundsOfTransform (Transform trans)
 This calls MasterAudio.PauseAllSoundsOfTransform More...
 
static void PauseSoundGroupOfTransform (Transform trans, string soundType)
 This calls MasterAudio.PauseSoundGroupOfTransform More...
 
static void UnpauseAllSoundsOfTransform (Transform trans)
 This calls MasterAudio.UnpauseAllSoundsOfTransform More...
 
static void UnpauseSoundGroupOfTransform (Transform trans, string soundType)
 This calls MasterAudio.UnpauseSoundGroupOfTransform More...
 
static void FadeOutAllSoundsOfTransform (Transform trans, float fadeTime)
 This calls MasterAudio.FadeOutAllSoundsOfTransform More...
 
static void RouteGroupToBus (Transform trans, string soundType, string busName)
 This calls MasterAudio.RouteGroupToBus More...
 
static void GlideSoundGroupByPitch (Transform trans, string soundType, float targetGlidePitch, float pitchGlideTime, System.Action completionCallback)
 This calls MasterAudio.GlideSoundGroupByPitch More...
 
static void StopOldSoundGroupVoices (Transform trans, string soundType, float minAge)
 This calls MasterAudio.StopOldSoundGroupVoices More...
 
static void FadeOutOldSoundGroupVoices (Transform trans, string soundType, float minAge, float fadeTime)
 This calls MasterAudio.FadeOutOldSoundGroupVoices More...
 
static void FadeBusToVolume (Transform trans, string busName, float targetVol, float fadeTime, System.Action completionCallback, bool stopAfterFade, bool restoreVolumeAfterFade)
 This calls MasterAudio.FadeBusToVolume More...
 
static void GlideBusByPitch (Transform trans, string busName, float targetGlidePitch, float pitchGlideTime, System.Action completionCallback)
 This calls MasterAudio.GlideBusByPitch More...
 
static void PauseBus (Transform trans, string busName)
 This calls MasterAudio.PauseBus More...
 
static void StopBus (Transform trans, string busName)
 This calls MasterAudio.StopBus More...
 
static void UnpauseBus (Transform trans, string busName)
 This calls MasterAudio.UnpauseBus More...
 
static void MuteBus (Transform trans, string busName)
 This calls MasterAudio.MuteBus More...
 
static void UnmuteBus (Transform trans, string busName)
 This calls MasterAudio.UnmuteBus More...
 
static void ToggleMuteBus (Transform trans, string busName)
 This calls MasterAudio.ToggleMuteBus More...
 
static void SoloBus (Transform trans, string busName)
 This calls MasterAudio.SoloBus More...
 
static void UnsoloBus (Transform trans, string busName)
 This calls MasterAudio.UnsoloBus More...
 
static void ChangeBusPitch (Transform trans, string busName, float pitch)
 This calls MasterAudio.ChangeBusPitch More...
 
static void PauseBusOfTransform (Transform trans, string busName)
 This calls MasterAudio.PauseBusOfTransform More...
 
static void UnpauseBusOfTransform (Transform trans, string busName)
 This calls MasterAudio.UnpauseBusOfTransform More...
 
static void RestartAllPlaylists (Transform trans)
 This calls MasterAudio.RestartAllPlaylists More...
 
static void StopBusOfTransform (Transform trans, string busName)
 This calls MasterAudio.StopBusOfTransform More...
 
static void StopOldBusVoices (Transform trans, string busName, float minAge)
 This calls MasterAudio.StopOldBusVoices More...
 
static void FadeOutOldBusVoices (Transform trans, string busName, float minAge, float fadeTime)
 This calls MasterAudio.FadeOutOldBusVoices More...
 
static void SetMasterMixerVolume (Transform trans, float targetVol)
 This calls MasterAudio.SetMasterMixerVolume More...
 
static void SetPlaylistMasterVolume (Transform trans, float tgtVol)
 This calls MasterAudio.SetPlaylistMasterVolume More...
 
static void PauseMixer (Transform trans)
 This calls MasterAudio.PauseMixer More...
 
static void UnpauseMixer (Transform trans)
 This calls MasterAudio.UnpauseMixer More...
 
static void StopMixer (Transform trans)
 This calls MasterAudio.StopMixer More...
 
static void MuteEverything (Transform trans)
 This calls MasterAudio.MuteEverything More...
 
static void UnmuteEverything (Transform trans)
 This calls MasterAudio.UnmuteEverything More...
 
static void PauseEverything (Transform trans)
 This calls MasterAudio.PauseEverything More...
 
static void UnpauseEverything (Transform trans)
 This calls MasterAudio.UnpauseEverything More...
 
static void StopEverything (Transform trans)
 This calls MasterAudio.StopEverything More...
 
static void RestartPlaylist (Transform trans, string playlistControllerName)
 This calls MasterAudio.RestartPlaylist More...
 
static void StartPlaylist (Transform trans, string playlistControllerName, string playlistName)
 This calls MasterAudio.StartPlaylist More...
 
static void ChangePlaylistByName (Transform trans, string playlistControllerName, string playlistName, bool startPlaylist)
 This calls MasterAudio.ChangePlaylistByName More...
 
static void StopLoopingAllCurrentSongs (Transform trans)
 This calls MasterAudio.StopLoopingAllCurrentSongs More...
 
static void StopLoopingCurrentSong (Transform trans, string playlistControllerName)
 This calls MasterAudio.StopLoopingCurrentSong More...
 
static void StopAllPlaylistsAfterCurrentSongs (Transform trans)
 This calls MasterAudio.StopAllPlaylistsAfterCurrentSongs More...
 
static void StopPlaylistAfterCurrentSong (Transform trans, string playlistControllerName)
 This calls MasterAudio.StopPlaylistAfterCurrentSong More...
 
static void FadeAllPlaylistsToVolume (Transform trans, float targetVol, float fadeTime)
 This calls MasterAudio.FadeAllPlaylistsToVolume More...
 
static void FadePlaylistToVolume (Transform trans, string playlistControllerName, float targetVol, float fadeTime)
 This calls MasterAudio.FadePlaylistToVolume More...
 
static void MuteAllPlaylists (Transform trans)
 This calls MasterAudio.MuteAllPlaylists More...
 
static void MutePlaylist (Transform trans, string playlistControllerName)
 This calls MasterAudio.MutePlaylist More...
 
static void UnmuteAllPlaylists (Transform trans)
 This calls MasterAudio.UnmuteAllPlaylists More...
 
static void UnmutePlaylist (Transform trans, string playlistControllerName)
 This calls MasterAudio.UnmutePlaylist More...
 
static void ToggleMuteAllPlaylists (Transform trans)
 This calls MasterAudio.ToggleMuteAllPlaylists More...
 
static void ToggleMutePlaylist (Transform trans, string playlistControllerName)
 This calls MasterAudio.ToggleMutePlaylist More...
 
static bool TriggerPlaylistClip (Transform trans, string playlistControllerName, string clipName)
 This calls MasterAudio.TriggerPlaylistClip More...
 
static void QueuePlaylistClip (Transform trans, string playlistControllerName, string clipName)
 This calls MasterAudio.QueuePlaylistClip More...
 
static void TriggerRandomClipAllPlaylists (Transform trans)
 This calls MasterAudio.TriggerRandomClipAllPlaylists More...
 
static void TriggerRandomPlaylistClip (Transform trans, string playlistControllerName)
 This calls MasterAudio.TriggerRandomPlaylistClip More...
 
static void TriggerNextClipAllPlaylists (Transform trans)
 This calls MasterAudio.TriggerNextClipAllPlaylists More...
 
static void TriggerNextPlaylistClip (Transform trans, string playlistControllerName)
 This calls MasterAudio.TriggerNextPlaylistClip More...
 
static void PauseAllPlaylists (Transform trans)
 This calls MasterAudio.PauseAllPlaylists More...
 
static void PausePlaylist (Transform trans, string playlistControllerName)
 This calls MasterAudio.PausePlaylist More...
 
static void StopAllPlaylists (Transform trans)
 This calls MasterAudio.StopAllPlaylists More...
 
static void StopPlaylist (Transform trans, string playlistControllerName)
 This calls MasterAudio.StopPlaylist More...
 
static void UnpauseAllPlaylists (Transform trans)
 This calls MasterAudio.UnpauseAllPlaylists More...
 
static void UnpausePlaylist (Transform trans, string playlistControllerName)
 This calls MasterAudio.UnpausePlaylist More...
 

Properties

static bool CanSendRPCs [get]
 This returns true if you can send RPC's, which is necessary for multiplayer mode to work. This depends on whether you're online, connected to a room, have more than 1 player in the room, etc. If it returns false, you will default to single-player Master Audio without having to change your code. More...
 

Detailed Description

This class should be used instead of MasterAudio for all multiplayer operations. EventSounds, and the 2 "MechanimState" scripts both call this class when you have Multiplayer Broadcast checked for an audio event. All methods below are named identically to the same methods in the MasterAudio class, so feel free to reference that class instead. This class will call MasterAudio directly if in single-player mode, otherwise it will make an RPC which calls MasterAudio on all connected clients. The required 'Actor' Transfrom parameter is always the Transform that is 'making' the sound or audio request.

Member Function Documentation

static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.AudioListenerPause ( Transform  _actorTrans)
static

This calls AudioListener.pause = true

Parameters
_actorTrans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.AudioListenerUnpause ( Transform  _actorTrans)
static

This calls AudioListener.pause = false

Parameters
_actorTrans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.ChangeBusPitch ( Transform  trans,
string  busName,
float  pitch 
)
static

This calls MasterAudio.ChangeBusPitch

Parameters
trans
busName
pitch
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.ChangePlaylistByName ( Transform  trans,
string  playlistControllerName,
string  playlistName,
bool  startPlaylist 
)
static

This calls MasterAudio.ChangePlaylistByName

Parameters
trans
playlistControllerName
playlistName
startPlaylist
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.FadeAllPlaylistsToVolume ( Transform  trans,
float  targetVol,
float  fadeTime 
)
static

This calls MasterAudio.FadeAllPlaylistsToVolume

Parameters
trans
targetVol
fadeTime
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.FadeBusToVolume ( Transform  trans,
string  busName,
float  targetVol,
float  fadeTime,
System.Action  completionCallback,
bool  stopAfterFade,
bool  restoreVolumeAfterFade 
)
static

This calls MasterAudio.FadeBusToVolume

Parameters
trans
busName
targetVol
fadeTime
completionCallback
stopAfterFade
restoreVolumeAfterFade
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.FadeOutAllOfSound ( Transform  trans,
string  soundType,
float  fadeTime 
)
static

This calls MasterAudio.FadeOutAllOfSound

Parameters
trans
soundType
fadeTime
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.FadeOutAllSoundsOfTransform ( Transform  trans,
float  fadeTime 
)
static

This calls MasterAudio.FadeOutAllSoundsOfTransform

Parameters
trans
fadeTime
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.FadeOutOldBusVoices ( Transform  trans,
string  busName,
float  minAge,
float  fadeTime 
)
static

This calls MasterAudio.FadeOutOldBusVoices

Parameters
trans
busName
minAge
fadeTime
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.FadeOutOldSoundGroupVoices ( Transform  trans,
string  soundType,
float  minAge,
float  fadeTime 
)
static

This calls MasterAudio.FadeOutOldSoundGroupVoices

Parameters
trans
soundType
minAge
fadeTime
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.FadeOutSoundGroupOfTransform ( Transform  trans,
string  soundType,
float  fadeTime 
)
static

This calls MasterAudio.FadeOutSoundGroupOfTransform

Parameters
trans
soundType
fadeTime
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.FadePlaylistToVolume ( Transform  trans,
string  playlistControllerName,
float  targetVol,
float  fadeTime 
)
static

This calls MasterAudio.FadePlaylistToVolume

Parameters
trans
playlistControllerName
targetVol
fadeTime
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.FadeSoundGroupOfTransformToVolume ( Transform  trans,
string  soundType,
float  fadeTime,
float  fadeVolume 
)
static

This calls MasterAudio.FadeSoundGroupOfTransformToVolume

Parameters
trans
soundType
fadeTime
fadeVolume
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.FadeSoundGroupToVolume ( Transform  trans,
string  soundType,
float  targetVol,
float  fadeTime,
System.Action  completionCallback,
bool  stopAfterFade,
bool  restoreVolumeAfterFade 
)
static

This calls MasterAudio.FadeSoundGroupToVolume

Parameters
trans
soundType
targetVol
fadeTime
completionCallback
stopAfterFade
restoreVolumeAfterFade
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.FireCustomEvent ( string  enterCustomEvent,
Transform  _actorTrans 
)
static

This calls MasterAudio.FireCustomEvent

Parameters
enterCustomEvent
_actorTrans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.GlideBusByPitch ( Transform  trans,
string  busName,
float  targetGlidePitch,
float  pitchGlideTime,
System.Action  completionCallback 
)
static

This calls MasterAudio.GlideBusByPitch

Parameters
trans
busName
targetGlidePitch
pitchGlideTime
completionCallback
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.GlideSoundGroupByPitch ( Transform  trans,
string  soundType,
float  targetGlidePitch,
float  pitchGlideTime,
System.Action  completionCallback 
)
static

This calls MasterAudio.GlideSoundGroupByPitch

Parameters
trans
soundType
targetGlidePitch
pitchGlideTime
completionCallback
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.MuteAllPlaylists ( Transform  trans)
static

This calls MasterAudio.MuteAllPlaylists

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.MuteBus ( Transform  trans,
string  busName 
)
static

This calls MasterAudio.MuteBus

Parameters
trans
busName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.MuteEverything ( Transform  trans)
static

This calls MasterAudio.MuteEverything

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.MuteGroup ( Transform  trans,
string  soundType 
)
static

This calls MasterAudio.MuteGroup

Parameters
trans
soundType
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.MutePlaylist ( Transform  trans,
string  playlistControllerName 
)
static

This calls MasterAudio.MutePlaylist

Parameters
trans
playlistControllerName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PauseAllPlaylists ( Transform  trans)
static

This calls MasterAudio.PauseAllPlaylists

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PauseAllSoundsOfTransform ( Transform  trans)
static

This calls MasterAudio.PauseAllSoundsOfTransform

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PauseBus ( Transform  trans,
string  busName 
)
static

This calls MasterAudio.PauseBus

Parameters
trans
busName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PauseBusOfTransform ( Transform  trans,
string  busName 
)
static

This calls MasterAudio.PauseBusOfTransform

Parameters
trans
busName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PauseEverything ( Transform  trans)
static

This calls MasterAudio.PauseEverything

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PauseMixer ( Transform  trans)
static

This calls MasterAudio.PauseMixer

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PausePlaylist ( Transform  trans,
string  playlistControllerName 
)
static

This calls MasterAudio.PausePlaylist

Parameters
trans
playlistControllerName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PauseSoundGroup ( Transform  trans,
string  soundType 
)
static

This calls MasterAudio.PauseSoundGroup

Parameters
trans
soundType
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PauseSoundGroupOfTransform ( Transform  trans,
string  soundType 
)
static

This calls MasterAudio.PauseSoundGroupOfTransform

Parameters
trans
soundType
static PlaySoundResult DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PlaySound ( Transform  trans,
string  sType,
float  volume,
float?  pitch,
float  delay,
string  variationName 
)
static

This calls MasterAudio.PlaySound

Parameters
trans
sType
volume
pitch
delay
variationName
Returns
static PlaySoundResult DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PlaySound3DAtTransform ( string  sType,
Transform  trans,
float  volume,
float?  pitch,
float  delay,
string  variationName 
)
static

This calls MasterAudio.PlaySound3DAtTransform

Parameters
sType
trans
volume
pitch
delay
variationName
Returns
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PlaySound3DAtTransformAndForget ( string  enterSoundGroup,
Transform  _actorTrans 
)
static

This calls MasterAudio.PlaySound3DAtTransformAndForget

Parameters
enterSoundGroup
_actorTrans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PlaySound3DAtTransformAndForget ( string  enterSoundGroup,
Transform  _actorTrans,
float  volume,
float?  pitch,
float  delay,
string  varName 
)
static

This calls MasterAudio.PlaySound3DAtTransformAndForget

Parameters
enterSoundGroup
_actorTrans
volume
pitch
delay
varName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PlaySound3DAtTransformAndForget ( string  sType,
Transform  trans,
float  volume,
float?  pitch,
float  delaySound 
)
static

This calls MasterAudio.PlaySound3DAtTransformAndForget

Parameters
sType
trans
volume
pitch
delaySound
static PlaySoundResult DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PlaySound3DFollowTransform ( string  sType,
Transform  trans,
float  volume,
float?  pitch,
float  delay,
string  variationName 
)
static

This calls MasterAudio.PlaySound3DFollowTransform

Parameters
sType
trans
volume
pitch
delay
variationName
Returns
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PlaySound3DFollowTransformAndForget ( string  enterSoundGroup,
Transform  _actorTrans 
)
static

This calls MasterAudio.PlaySound3DFollowTransformAndForget

Parameters
enterSoundGroup
_actorTrans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PlaySound3DFollowTransformAndForget ( string  enterSoundGroup,
Transform  _actorTrans,
float  volume,
float?  pitch,
float  delay,
string  varName 
)
static

This calls MasterAudio.PlaySound3DFollowTransformAndForget

Parameters
enterSoundGroup
_actorTrans
volume
pitch
delay
varName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PlaySound3DFollowTransformAndForget ( string  sType,
Transform  trans,
float  volume,
float?  pitch,
float  delaySound 
)
static

This calls MasterAudio.PlaySound3DFollowTransformAndForget

Parameters
sType
trans
volume
pitch
delaySound
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PlaySoundAndForget ( Transform  trans,
string  sType,
float  volume,
float?  pitch,
float  delaySound 
)
static

This calls MasterAudio.PlaySoundAndForget

Parameters
trans
sType
volume
pitch
delaySound
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.PlaySoundAndForget ( Transform  trans,
string  sType,
float  volume,
float?  pitch,
float  delay,
string  variationName 
)
static

This calls MasterAudio.PlaySoundAndForget

Parameters
trans
sType
volume
pitch
delay
variationName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.QueuePlaylistClip ( Transform  trans,
string  playlistControllerName,
string  clipName 
)
static

This calls MasterAudio.QueuePlaylistClip

Parameters
trans
playlistControllerName
clipName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.RefillSoundGroupPool ( Transform  trans,
string  soundType 
)
static

This calls MasterAudio.RefillSoundGroupPool

Parameters
trans
soundType
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.RestartAllPlaylists ( Transform  trans)
static

This calls MasterAudio.RestartAllPlaylists

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.RestartPlaylist ( Transform  trans,
string  playlistControllerName 
)
static

This calls MasterAudio.RestartPlaylist

Parameters
trans
playlistControllerName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.RouteGroupToBus ( Transform  trans,
string  soundType,
string  busName 
)
static

This calls MasterAudio.RouteGroupToBus

Parameters
trans
soundType
busName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.SetMasterMixerVolume ( Transform  trans,
float  targetVol 
)
static

This calls MasterAudio.SetMasterMixerVolume

Parameters
trans
targetVol
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.SetPlaylistMasterVolume ( Transform  trans,
float  tgtVol 
)
static

This calls MasterAudio.SetPlaylistMasterVolume

Parameters
trans
tgtVol
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.SoloBus ( Transform  trans,
string  busName 
)
static

This calls MasterAudio.SoloBus

Parameters
trans
busName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.SoloGroup ( Transform  trans,
string  soundType 
)
static

This calls MasterAudio.SoloGroup

Parameters
trans
soundType
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StartPlaylist ( Transform  trans,
string  playlistControllerName,
string  playlistName 
)
static

This calls MasterAudio.StartPlaylist

Parameters
trans
playlistControllerName
playlistName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopAllOfSound ( Transform  trans,
string  soundType 
)
static

This calls MasterAudio.StopAllOfSound

Parameters
trans
soundType
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopAllPlaylists ( Transform  trans)
static

This calls MasterAudio.StopAllPlaylists

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopAllPlaylistsAfterCurrentSongs ( Transform  trans)
static

This calls MasterAudio.StopAllPlaylistsAfterCurrentSongs

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopAllSoundsOfTransform ( Transform  trans)
static

This calls MasterAudio.StopAllSoundsOfTransform

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopBus ( Transform  trans,
string  busName 
)
static

This calls MasterAudio.StopBus

Parameters
trans
busName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopBusOfTransform ( Transform  trans,
string  busName 
)
static

This calls MasterAudio.StopBusOfTransform

Parameters
trans
busName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopEverything ( Transform  trans)
static

This calls MasterAudio.StopEverything

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopLoopingAllCurrentSongs ( Transform  trans)
static

This calls MasterAudio.StopLoopingAllCurrentSongs

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopLoopingCurrentSong ( Transform  trans,
string  playlistControllerName 
)
static

This calls MasterAudio.StopLoopingCurrentSong

Parameters
trans
playlistControllerName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopMixer ( Transform  trans)
static

This calls MasterAudio.StopMixer

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopOldBusVoices ( Transform  trans,
string  busName,
float  minAge 
)
static

This calls MasterAudio.StopOldBusVoices

Parameters
trans
busName
minAge
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopOldSoundGroupVoices ( Transform  trans,
string  soundType,
float  minAge 
)
static

This calls MasterAudio.StopOldSoundGroupVoices

Parameters
trans
soundType
minAge
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopPlaylist ( Transform  trans,
string  playlistControllerName 
)
static

This calls MasterAudio.StopPlaylist

Parameters
trans
playlistControllerName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopPlaylistAfterCurrentSong ( Transform  trans,
string  playlistControllerName 
)
static

This calls MasterAudio.StopPlaylistAfterCurrentSong

Parameters
trans
playlistControllerName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.StopSoundGroupOfTransform ( Transform  _actorTrans,
string  timedSoundGroup 
)
static

This calls MasterAudio.StopSoundGroupOfTransform

Parameters
_actorTrans
timedSoundGroup
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.ToggleMuteAllPlaylists ( Transform  trans)
static

This calls MasterAudio.ToggleMuteAllPlaylists

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.ToggleMuteBus ( Transform  trans,
string  busName 
)
static

This calls MasterAudio.ToggleMuteBus

Parameters
trans
busName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.ToggleMutePlaylist ( Transform  trans,
string  playlistControllerName 
)
static

This calls MasterAudio.ToggleMutePlaylist

Parameters
trans
playlistControllerName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.TriggerNextClipAllPlaylists ( Transform  trans)
static

This calls MasterAudio.TriggerNextClipAllPlaylists

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.TriggerNextPlaylistClip ( Transform  trans,
string  playlistControllerName 
)
static

This calls MasterAudio.TriggerNextPlaylistClip

Parameters
trans
playlistControllerName
static bool DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.TriggerPlaylistClip ( Transform  trans,
string  playlistControllerName,
string  clipName 
)
static

This calls MasterAudio.TriggerPlaylistClip

Parameters
trans
playlistControllerName
clipName
Returns
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.TriggerRandomClipAllPlaylists ( Transform  trans)
static

This calls MasterAudio.TriggerRandomClipAllPlaylists

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.TriggerRandomPlaylistClip ( Transform  trans,
string  playlistControllerName 
)
static

This calls MasterAudio.TriggerRandomPlaylistClip

Parameters
trans
playlistControllerName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnmuteAllPlaylists ( Transform  trans)
static

This calls MasterAudio.UnmuteAllPlaylists

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnmuteBus ( Transform  trans,
string  busName 
)
static

This calls MasterAudio.UnmuteBus

Parameters
trans
busName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnmuteEverything ( Transform  trans)
static

This calls MasterAudio.UnmuteEverything

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnmuteGroup ( Transform  trans,
string  soundType 
)
static

This calls MasterAudio.UnmuteGroup

Parameters
trans
soundType
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnmutePlaylist ( Transform  trans,
string  playlistControllerName 
)
static

This calls MasterAudio.UnmutePlaylist

Parameters
trans
playlistControllerName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnpauseAllPlaylists ( Transform  trans)
static

This calls MasterAudio.UnpauseAllPlaylists

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnpauseAllSoundsOfTransform ( Transform  trans)
static

This calls MasterAudio.UnpauseAllSoundsOfTransform

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnpauseBus ( Transform  trans,
string  busName 
)
static

This calls MasterAudio.UnpauseBus

Parameters
trans
busName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnpauseBusOfTransform ( Transform  trans,
string  busName 
)
static

This calls MasterAudio.UnpauseBusOfTransform

Parameters
trans
busName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnpauseEverything ( Transform  trans)
static

This calls MasterAudio.UnpauseEverything

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnpauseMixer ( Transform  trans)
static

This calls MasterAudio.UnpauseMixer

Parameters
trans
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnpausePlaylist ( Transform  trans,
string  playlistControllerName 
)
static

This calls MasterAudio.UnpausePlaylist

Parameters
trans
playlistControllerName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnpauseSoundGroup ( Transform  trans,
string  soundType 
)
static

This calls MasterAudio.UnpauseSoundGroup

Parameters
trans
soundType
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnpauseSoundGroupOfTransform ( Transform  trans,
string  soundType 
)
static

This calls MasterAudio.UnpauseSoundGroupOfTransform

Parameters
trans
soundType
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnsoloBus ( Transform  trans,
string  busName 
)
static

This calls MasterAudio.UnsoloBus

Parameters
trans
busName
static void DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.UnsoloGroup ( Transform  trans,
string  soundType 
)
static

This calls MasterAudio.UnsoloGroup

Parameters
trans
soundType

Property Documentation

bool DarkTonic.MasterAudio.Multiplayer.MasterAudioMultiplayerAdapter.CanSendRPCs
staticget

This returns true if you can send RPC's, which is necessary for multiplayer mode to work. This depends on whether you're online, connected to a room, have more than 1 player in the room, etc. If it returns false, you will default to single-player Master Audio without having to change your code.


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