Execute an action for the current player on the server application
Alias of the action to execute
OptionalobjectAliases: string[]Aliases of the game objects to execute the action on
A type of game state, or undefined if the action was unhandled. This can indicate the action requires a second game object to work.
ProtectedgetPerform a GET request and retrieve a JSON response
Url to request
Optionaldata: T2Optional object to use for the query string attributes
JSON object of the response, otherwise undefined.
ProtectedpostPerform a POST request and retrieve a JSON response
Url to request
Optionaldata: T2Optional object to include in the body of the request
JSON object of the response, otherwise undefined.
Service to communicate with game routes of the server application