Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
class | ScriptCallQueue |
ScriptCallQueue Class provide "lazy" calls - when we don't want to execute function immediately but later during frame update (used mainly in UI) usage: More... | |
class | ScriptInvoker |
ScriptInvoker Class provide list of callbacks usage: More... | |
Enumerations | |
enum | EScriptInvokerInsertFlags |
Functions | |
enum EScriptInvokerInsertFlags | ScriptCaller () |
Designed to hold 1 valid call. More... | |
proto void | Init (func fn) |
Replaces the current registered func with the new one, throws errors if unsuccessful. More... | |
proto void | Invoke (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) |
Invoke call on the registered func, throws errors if unsuccessful. More... | |
proto bool | IsValid () |
Checks if the ScriptCaller is valid. More... | |
proto bool | Equals (notnull ScriptCaller other) |
Compares this script caller against another script caller. More... | |
Variables | |
enum EScriptInvokerInsertFlags | NONE |
enum EScriptInvokerInsertFlags | ALL |
Default flag. More... | |
IMMEDIATE | |
It gets added in immediately, which means that when called while an invoker is running, it will call this newly added call in the same run. More... | |
UNIQUE | |
Only one call to this instance+method is ever expected. More... | |
proto bool Equals | ( | notnull ScriptCaller | other | ) |
Compares this script caller against another script caller.
proto void Init | ( | func | fn | ) |
Replaces the current registered func with the new one, throws errors if unsuccessful.
proto void Invoke | ( | 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 |
||
) |
Invoke call on the registered func, throws errors if unsuccessful.
override bool IsValid | ( | ) |
Checks if the ScriptCaller is valid.
Checks if the ScriptCaller is valid.
Definition at line 134 of file cfgplayerspawndatajson.c.
enum EScriptInvokerInsertFlags ScriptCaller | ( | ) |
Designed to hold 1 valid call.
ScriptCaller is meant to be created through Create
enum EScriptInvokerInsertFlags ALL |
Default flag.
@ IMMEDIATE |
It gets added in immediately, which means that when called while an invoker is running, it will call this newly added call in the same run.