Enfusion Script API
|
ScriptInvoker Class provide list of callbacks
usage:
More...
Public Member Functions | |
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 all inserted methods with given arguments | |
proto void | Insert (T fn) |
insert method to list | |
proto void | Remove (T fn) |
remove specific call from list | |
proto native void | Clear () |
remove all calls from list | |
proto native void | Dump () |
dump all callbacks into log | |
Public Member Functions inherited from Managed | |
proto external ref Managed | Clone () |
Return shallow copy of object, or null if it is not allowed (not public constructor) | |
ScriptInvoker Class provide list of callbacks
usage:
proto native void ScriptInvokerBase< Class T >.Clear | ( | ) |
remove all calls from list
proto native void ScriptInvokerBase< Class T >.Dump | ( | ) |
dump all callbacks into log
proto void ScriptInvokerBase< Class T >.Insert | ( | T | fn | ) |
insert method to list
proto void ScriptInvokerBase< Class T >.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 all inserted methods with given arguments
proto void ScriptInvokerBase< Class T >.Remove | ( | T | fn | ) |
remove specific call from list