Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
array< ref CallQueueContext > Class Reference

CallQueue Class provide "lazy" calls - when we don't want to execute function immediately but later during frame update (used mainly in UI)
usage: More...

Detailed Description

CallQueue Class provide "lazy" calls - when we don't want to execute function immediately but later during frame update (used mainly in UI)
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

Definition at line 66 of file tools.c.


The documentation for this class was generated from the following file:
Param2< float, float >
GetGame
proto native CGame GetGame()
CALL_CATEGORY_GUI
const int CALL_CATEGORY_GUI
Definition: tools.c:9