DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetCachedSoundParam()

static SoundParams SEffectManager::GetCachedSoundParam ( string soundset)
inlinestaticprotected

Get or create a cached SoundParams object.

Аргументы
soundsetstring The sound set name of the sound
Возвращает
SoundParams The cached SoundParams for the given soundset

См. определение в файле EffectManager.c строка 452

453 {
454 SoundParams params;
455 if (!m_ParamsMap.Find(soundset, params))
456 {
457 params = new SoundParams(soundset);
458 m_ParamsMap.Insert(soundset, params);
459 }
460 return params;
461 }
static ref map< string, ref SoundParams > m_ParamsMap
Static map of cached sound params, to prevent having to recreate them.
Определения EffectManager.c:21
class SoundObject SoundParams(string name)

Перекрестные ссылки m_ParamsMap и SoundParams().

Используется в PlaySoundCachedParams().