DayZ 1.24
|
Go to the source code of this file.
Classes | |
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. | |
static proto ScriptCaller | Create (func fn) |
Creates a ScriptCaller. | |
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. | |
proto bool | IsValid () |
Checks if the ScriptCaller is valid. | |
proto bool | Equals (notnull ScriptCaller other) |
Compares this script caller against another script caller. | |
Variables | |
enum EScriptInvokerInsertFlags | NONE |
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. | |
UNIQUE | |
Only one call to this instance+method is ever expected. | |
|
static |
Creates a ScriptCaller.
proto bool Equals | ( | notnull ScriptCaller | other | ) |
Compares this script caller against another script caller.
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.
Checks if the ScriptCaller is valid.
Checks if the ScriptCaller is valid.
Definition at line 130 of file CfgPlayerSpawnDataJson.c.
References discreteItemSets, Debug::Log(), slotName, and spawnWeight.
enum EScriptInvokerInsertFlags ScriptCaller | ( | ) |
Designed to hold 1 valid call.
ScriptCaller is meant to be created through Create
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.