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...
CallQueue Class provide "lazy" calls - when we don't want to execute function immediately but later during frame update (used mainly in UI)
usage:
proto native CGame GetGame()
Definition at line 64 of file tools.c.
◆ Call()
Creates new call request, add it on queue and execute during frame update (depends on call category)
- Parameters
-
obj | target object on which function will be executed |
fn_name | name of function (on object "obj") which will be executed |
params | function arguments see Param for usage, default NULL (no arguments) |
- Warning
- When object "obj" is deleted prior call execution, don't forget to remove calls for this object with RemoveCalls
Definition at line 104 of file tools.c.
◆ CallQueue()
◆ RemoveCalls()
◆ Tick()
◆ m_processing
The documentation for this class was generated from the following file: