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

308 {
309 if (!m_IsCleanup)
310 return m_EffectsMap[effect_id];
311 else
312 return null;
313 }
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.