|
inlineprotected |
Returns CallQueue for certain category
call_category | call 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: GetGame().GetCallQueue(CALL_CATEGORY_GUI).Call(this, "Refresh"); // calls "Refresh" function on "this" with no arguments
GetGame().GetCallQueue(CALL_CATEGORY_GUI).Call(this, "Show", new Param1<bool>(true)); // calls "Show" function on "this" with one bool argument
GetGame().GetCallQueue(CALL_CATEGORY_GUI).Call(this, "SetPos", new Param2<float, float>(0.2, 0.5)); // calls "SetPos" function on "this" with two float arguments
override ScriptCallQueue GetCallQueue(int call_category) Определения DayZGame.c:1187 Определения PPEConstants.c:68 proto void Call(func fn, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL) adds call into the queue with given parameters and arguments (arguments are held in memory until the ... proto native CGame GetGame() |
См. определение в файле Game.c строка 1450