source: galcon-client/message_spec.txt

Last change on this file was a4f5200, checked in by dportnoy <devnull@…>, 14 years ago

Added a message spec for client/server communication

  • Property mode set to 100644
File size: 842 bytes
Line 
1Message Spec
2
3Message_Type Sender Contents Description
4
5LOGIN Client [username],[password]
6ANON_LOGIN Client N/A Sent if the client wants an anonymous login
7LOGIN_ACK Server N/A Server accepted login. Maybe sends additional info, like stats
8ANON_LOGIN_ACK Server [username] Server determines a username for the anon user
9LOGIN_ERR Server Error message Indicates an error with the login, probably a wrong password
10
11GAME_INFO Server Info about one game When a player joins the lobby, server sends one of these
12 (See below for format) for each game that's currently looking for players. The
13 server also sends one (containing all info about the game)
14 each time something about an open game changes
15
16GAME_INFO format:
17
18[name],[current players],[max players]
Note: See TracBrowser for help on using the repository browser.