Структуры данных | |
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: Подробнее... | |
class | ScriptInvoker |
ScriptInvoker Class provide list of callbacks usage: Подробнее... | |
Перечисления | |
enum | EScriptInvokerInsertFlags |
Функции | |
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. | |
Переменные | |
enum EScriptInvokerInsertFlags | NONE = 0 |
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. | |