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

◆ Init()

static void SEffectManager::Init ( )
inlinestaticprotected

Initialize the containers.

Заметки
This is done this way, to have these not exist on server

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

508 {
509 m_EffectsMap = new map<int, ref Effect>;
510 m_FreeEffectIDs = new array<int>;
511 m_ParamsMap = new map<string, ref SoundParams>;
512 Event_OnFrameUpdate = new ScriptInvoker();
513
514 m_IsInitialized = true;
515 }
static ref array< int > m_FreeEffectIDs
Static array of IDs that were previously used, but freed up by unregistering.
Определения EffectManager.c:10
static ref ScriptInvoker Event_OnFrameUpdate
Static invoker for the SEffectManager.Event_OnFrameUpdate called form MissionGameplay....
Определения EffectManager.c:24
static ref map< int, ref Effect > m_EffectsMap
Static map of all registered effects <id, Effect>
Определения EffectManager.c:8
static bool m_IsInitialized
Bool to check whether Init was called.
Определения EffectManager.c:18
static ref map< string, ref SoundParams > m_ParamsMap
Static map of cached sound params, to prevent having to recreate them.
Определения EffectManager.c:21

Перекрестные ссылки Event_OnFrameUpdate, m_EffectsMap, m_FreeEffectIDs, m_IsInitialized и m_ParamsMap.

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