PrivateconvertConvert the result of an action to a type of GameState.
OptionalactionResult: ActionResultResult of an action, can be undefined.
A type of GameState representing the result of the action or undefined when something went wrong.
PrivateconvertConvert an action instance into an action reference for the client application
Action instance to convert
Action reference for the client application
PrivateconvertConvert a game object instance into a game object reference for the client application
Game object instance to convert
Game object reference for the client application
PrivateconvertConvert a talk choice into an action reference for the client application
Action instance to convert
Choice instance to convert
Action reference for the client application
PrivateexecuteExecute the requested action and convert the result to a type of GameState.
Alias of action to execute
OptionalgameObjectAliases: string[]Optional list of game object aliases to execute the action on
A type of GameState representing the result of the action or undefined when something went wrong.
Controller to handle all game related requests