Data Structures | |
class | SoundParameters |
Functions | |
void | ItemSoundHandler (ItemBase parent) |
void | ~ItemSoundHandler () |
void | Init () |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system) | |
void | PlayItemSoundClient (int id) |
void | StopItemSoundClient (int id) |
void | AddSound (int sound, string soundset, SoundParameters params=null) |
Variables | |
class SoundParameters | m_Parent |
protected ref map< int, ref EffectSound > | m_PlayingSounds |
protected ref map< int, string > | m_AvailableSoundsets |
protected ref map< int, ref SoundParameters > | m_SoundParamsMap |
void AddSound | ( | int | sound, |
string | soundset, | ||
SoundParameters | params = null |
||
) |
References m_AvailableSoundsets, and m_SoundParamsMap.
void Init | ( | ) |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
References m_AvailableSoundsets, m_PlayingSounds, and m_SoundParamsMap.
void ItemSoundHandler | ( | ItemBase | parent | ) |
void PlayItemSoundClient | ( | int | id | ) |
void StopItemSoundClient | ( | int | id | ) |
References GetGame(), m_PlayingSounds, EffectSound::SetSoundFadeOut(), and EffectSound::SoundStop().
void ~ItemSoundHandler | ( | ) |
References m_PlayingSounds.
Referenced by AddSound(), Init(), and PlayItemSoundClient().
class SoundParameters m_Parent |
protected ref map<int, ref EffectSound> m_PlayingSounds |
Referenced by Init(), PlayItemSoundClient(), StopItemSoundClient(), and ~ItemSoundHandler().
protected ref map<int, ref SoundParameters> m_SoundParamsMap |
Referenced by AddSound(), Init(), and PlayItemSoundClient().