Gravwell-Online/server/events.md

34 lines
No EOL
779 B
Markdown

This is a list of all events that the server must support in order at the bare
minimum for the front-end to work with getting all the data that it needs.
---
`get.game`
Get's a game's current information, this includes player list, and options
---
`delete.game`
Deletes a game from the system, kicking all the players from the lobby.
---
`get.system.colours`
Retrieves a list of all colours that are currently supported for players to pick
from for their spaceship.
`get.system.icons`
Retrieves a list of all the supported icons that players can pick from for their
spaceship.
---
`put.player.design`
Updates a player's design that will be used in the game for their spaceship.
---
`put.game.option`
Updates the game's options that affect how the game flow works.
---