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

◆ GetCallQueue() [2/2]

ScriptCallQueue CGame::GetCallQueue ( int call_category)
inlineprotected

Returns CallQueue for certain category

Аргументы
call_categorycall category, valid values are:
CALL_CATEGORY_SYSTEM - calls & timers in this queue are processed every time without any restrictions
CALL_CATEGORY_GUI - calls & timers in this queue are processed when GUI is enabled (even during pase game)
CALL_CATEGORY_GAMEPLAY - calls & timers in this queue are processed only during mission, when game is not paused
usage:
g_Game.GetCallQueue(CALL_CATEGORY_GUI).Call(this, "Refresh"); // calls "Refresh" function on "this" with no arguments
g_Game.GetCallQueue(CALL_CATEGORY_GUI).Call(this, "Show", new Param1<bool>(true)); // calls "Show" function on "this" with one bool argument
g_Game.GetCallQueue(CALL_CATEGORY_GUI).Call(this, "SetPos", new Param2<float, float>(0.2, 0.5)); // calls "SetPos" function on "this" with two float arguments
DayZGame g_Game
Определения DayZGame.c:3942
Определения PPEConstants.c:68
const int CALL_CATEGORY_GUI
Определения 3_Game/DayZ/tools/tools.c:9

См. определение в файле Global/game.c строка 1525

1525{}