Utility functions to assist with handling scripted classes.

Static methods

staticcallEvent(target:Null<IScriptedClass>, event:ScriptEvent):Void

Invoke the given event hook on the given scripted class.

Parameters:

target

The target class to call script hooks on.

event

The event, which determines the script hook to call and provides parameters for it.

staticcallEventOnAllTargets(targets:Iterator<IScriptedClass>, event:ScriptEvent):Void