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

499 {
501 m_FreeEffectIDs = new array<int>;
503 Event_OnFrameUpdate = new ScriptInvoker();
504
505 m_IsInitialized = true;
506 }
map
Определения ControlsXboxNew.c:4
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().