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

◆ GetEffectByID()

static Effect SEffectManager::GetEffectByID ( int effect_id)
inlinestaticprotected

Gets the Effect with the given registered Effect ID.

Аргументы
effect_idint The Effect ID
Возвращает
Effect The Effect registered to the ID or null

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

317 {
318 if (!m_IsCleanup)
319 return m_EffectsMap[effect_id];
320 else
321 return null;
322 }
static ref map< int, ref Effect > m_EffectsMap
Static map of all registered effects <id, Effect>
Определения EffectManager.c:8
static bool m_IsCleanup
Bool to check whether Cleanup is happening, which means that the maps should no longer be accessed.
Определения EffectManager.c:16

Перекрестные ссылки Effect(), m_EffectsMap и m_IsCleanup.

Используется в DustEffectManager::UpdateActiveCloudEffect().