DayZ 1.27
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 строка 443

444 {
445 SoundParams params;
446 if (!m_ParamsMap.Find(soundset, params))
447 {
448 params = new SoundParams(soundset);
449 m_ParamsMap.Insert(soundset, params);
450 }
451 return params;
452 }
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().