Execute an action for the current player on the server application
Alias of the action to execute
Optional
objectAliases: 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.
Protected
getPerform a GET request and retrieve a JSON response
Url to request
Optional
data: T2Optional object to use for the query string attributes
JSON object of the response, otherwise undefined
.
Protected
postPerform a POST request and retrieve a JSON response
Url to request
Optional
data: 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