![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
| class | SoundParameters |
Functions | |
| void | ~ItemSoundHandler () |
| void | AddSound (int sound, string soundset, SoundParameters params=null) |
| string | GetSoundSetForEvent (int id, int slotId=InventorySlots.INVALID) |
| void | Init () |
| void | ItemSoundHandler (ItemBase parent) |
| void | PlayItemSoundClient (int id, int slotId=InventorySlots.INVALID) |
| void | StopItemSoundClient (int id) |
Variables | |
| ref map< int, string > | m_AvailableSoundsets |
| class SoundParameters | m_Parent |
| ref map< int, ref EffectSound > | m_PlayingSounds |
| ref map< int, ref SoundParameters > | m_SoundParamsMap |
|
protected |
Definition at line 37 of file itemsoundhandler.c.
References m_PlayingSounds.
|
protected |
Definition at line 130 of file itemsoundhandler.c.
References m_AvailableSoundsets, and m_SoundParamsMap.
|
protected |
Definition at line 87 of file itemsoundhandler.c.
References InventoryItemType(), m_AvailableSoundsets, and m_Parent.
Referenced by PlayItemSoundClient().
|
protected |
Definition at line 49 of file itemsoundhandler.c.
References m_AvailableSoundsets, m_PlayingSounds, and m_SoundParamsMap.
|
protected |
Definition at line 31 of file itemsoundhandler.c.
References Managed::Init(), and m_Parent.
Referenced by InventoryItem::GetItemSoundHandler(), Barrel_ColorBase::InitItemSounds(), FireplaceBase::InitItemSounds(), InitItemSounds(), InventoryItem::InitItemSounds(), ItemBase::InitItemSounds(), and ShippingContainerKeys_ColorBase::InitItemSounds().
|
protected |
Definition at line 56 of file itemsoundhandler.c.
References Empty, GetSoundSetForEvent(), InventoryItemType(), Debug::Log(), SoundParameters::m_FadeIn, SoundParameters::m_FadeOut, SoundParameters::m_Loop, m_Parent, m_PlayingSounds, m_SoundParamsMap, SEffectManager::PlaySound(), SEffectManager::PlaySoundCachedParams(), and EffectSound::SetAutodestroy().
|
protected |
Definition at line 115 of file itemsoundhandler.c.
References g_Game, m_PlayingSounds, EffectSound::SetSoundFadeOut(), and EffectSound::SoundStop().
Definition at line 28 of file itemsoundhandler.c.
Referenced by AddSound(), GetSoundSetForEvent(), and Init().
| class SoundParameters m_Parent |
|
protected |
Definition at line 27 of file itemsoundhandler.c.
Referenced by ~ItemSoundHandler(), Init(), PlayItemSoundClient(), and StopItemSoundClient().
|
protected |
Definition at line 29 of file itemsoundhandler.c.
Referenced by AddSound(), Init(), and PlayItemSoundClient().