Defined in:Executes a script method.
virtual void ExecuteMethod(const ScriptState *state);
||The current script state.|
ExecuteMethodfunction 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::HandleCompletionfunction to indicate that the method has finished executing.
A method subclass may call the
Method::SetMethodResultfunction or the
Method::SetOutputValuefunction to specify the output value of the method.