class AbstractWaveSource
Part of SoundController API
Constructors 2
private void AbstractWave()References InitEvents()
private void ~AbstractWave()DIAG_DEVELOPERMethods 28
private void InitEvents()Referenced by AbstractWave()
proto void SetUserData(Managed inst)Referenced by InitEvents()
proto Managed GetUserData()proto void Play()Referenced by PlayWithOffset(), DynamicMusicPlayer.PlayTrack(), MissionMainMenu.PlayMusic()
Show 1 more
, PluginSoundDebug.OnGUITimer()void PlayWithOffset(float offset)proto void Stop()Referenced by DynamicMusicPlayer.StopTrack(), EffectSound.Event_OnFrameUpdate(), EffectSound.SoundReset()
Show 10 more
, EffectSound.SoundStop(), EffectSound.ValidateSoundWave(), InfectedSoundEventBase.~InfectedSoundEventBase(), InfectedSoundEventBase.Stop(), MissionMainMenu.StopMusic(), PlayerBase.CheckSoundEvent(), PluginSoundDebug.OnGUITimer(), SoundEventBase.~SoundEventBase(), SoundEventBase.Stop(), and ZombieBase.OnSoundVoiceEvent()proto void Restart()Referenced by PluginSoundDebug.OnGUITimer()
proto void SetStartOffset(float offset)proto float GetLength()WARNING: Blocking! Waits for header to load
Referenced by EffectSound.ValidateSoundWave(), PlayerBase.OnVoiceEventPlayback(), PlayerSoundEventBase.OnTick()
Show 1 more
, PluginSoundDebug.OnGUITimer()proto float GetCurrPosition()Current position in percentage of total length
proto void Loop(bool setLoop)Referenced by DynamicMusicPlayer.PlayTrack(), EffectSound.SetSoundLoop(), InfectedSoundEventBase.SoftStop()
Show 2 more
, MissionMainMenu.PlayMusic(), and PluginSoundDebug.OnGUITimer()proto float GetVolume()proto void SetVolume(float value)Referenced by PluginSoundDebug.OnGUITimer()
proto void SetVolumeRelative(float value)proto void SetFrequency(float value)proto float GetFrequency()proto void SetFadeInFactor(float volume)Referenced by PluginSoundDebug.OnGUITimer()
proto void SetFadeOutFactor(float volume)Referenced by DynamicMusicPlayer.ProcessFadeOut()
proto void SetDoppler(bool setDoppler)Referenced by EffectSound.Event_OnFrameUpdate()
proto void Skip(float timeSec)Referenced by PluginSoundDebug.OnGUITimer()
proto bool IsHeaderLoaded()Referenced by EffectSound.SoundPlayEx()
AbstractWaveEvents GetEvents()void OnPlay()void OnStop()void OnLoad()void OnHeaderLoad()void OnEnd()