- password - string (required)
- userid - string (required)
Authenticate as the user with userid by providing the password. Returns a login token that can be used as a proof later.
- newPassword - string (required)
Change the password. Requires that you are logged in.
- newPassword - string (required)
- userid - string (required)
Create a new password for the given user. Requires that you are logged in as an admin.
Check that the connection works. Returns true.
- gameid - string (required)
End your turn in the given game. Requires that you are logged in as the user controlling the current team.
- gameid - string (required)
Return the current "day" in the given game. One day passes whenall teams has had their turn.
- gameid - string (required)
Return the entities in the game in a list of objects. List element N is the entities of teamid N+1. Each element in the list is a <entityid, entitydata> map.
- entity - string (required)
(no description)
- mapid - string (required)
(no description)
- gameid - string (required)
(no description)
- gameid - string (required)
Return a list of the teams indexed by (teamid - 1) in the given game.
- tileset - string (required)
(no description)
- gameid - string (required)
Return the teamid of the team who's turn it is.
- teamid - integer (required)
- gameid - string (required)
Join the game with the given gameid as the given team. Return the data of the team joined.
- params - object (optional)
- entityid - integer (required)
- gameid - string (required)
- command - string (required)
Send a command to the given entity. You need to be logged in as the user who controlls the team of the entity.
- turn - integer (required)
- gameid - string (required)
(no description)
- entityset - string (required)
- mapid - string (required)
Create a new game with the given settings. Returns the id of the new game.
Return a list of the names of all rpc methods.
(string)
Return a human readable description of the method given.
(string)
Return the signature of the method with the given name.
Return a list of all your authentication tokens.
userid - string
(no description)
userid - string
(no description)
(no description)
username - string
Return the userid of the user with the given username.
userid - string
Return the username of the user with the given userid.