Method::ExecuteMethod
Defined in:
Executes a script method.
C4Methods.h
Prototype
virtual void ExecuteMethod(const ScriptState *state);
Parameters
state |
The current script state. |
Description
The ExecuteMethod
function is called by the script controller when it is time to execute a script method. The override of this function should perform whatever actions are necessary to execute the method and then call the Completable::HandleCompletion
function to indicate that the method has finished executing.A method subclass may call the
Method::SetMethodResult
function or the Method::SetOutputValue
function to specify the output value of the method.
See Also