Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
itemsoundhandler.c File Reference

Go to the source code of this file.

Classes

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
 
ref map< int, ref EffectSoundm_PlayingSounds
 
ref map< int, stringm_AvailableSoundsets
 
ref map< int, ref SoundParametersm_SoundParamsMap
 

Function Documentation

◆ AddSound()

void AddSound ( int sound,
string soundset,
SoundParameters params = null )
protected

Definition at line 98 of file itemsoundhandler.c.

◆ Init()

void Init ( )
protected

Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)

whole body slots

upper body part slots

bottom body part slots

lower body part slots


heat comfort related slots

Definition at line 49 of file itemsoundhandler.c.

◆ ItemSoundHandler()

void ItemSoundHandler ( ItemBase parent)
protected

Definition at line 31 of file itemsoundhandler.c.

◆ PlayItemSoundClient()

void PlayItemSoundClient ( int id)
protected

Definition at line 56 of file itemsoundhandler.c.

◆ StopItemSoundClient()

void StopItemSoundClient ( int id)
protected

Definition at line 83 of file itemsoundhandler.c.

◆ ~ItemSoundHandler()

void ~ItemSoundHandler ( )
protected

Definition at line 37 of file itemsoundhandler.c.

Variable Documentation

◆ m_AvailableSoundsets

ref map<int, string> m_AvailableSoundsets
protected

Definition at line 28 of file itemsoundhandler.c.

◆ m_Parent

class SoundParameters m_Parent

◆ m_PlayingSounds

ref map<int, ref EffectSound> m_PlayingSounds
protected

Definition at line 27 of file itemsoundhandler.c.

◆ m_SoundParamsMap

ref map<int, ref SoundParameters> m_SoundParamsMap
protected

Definition at line 29 of file itemsoundhandler.c.