|
NetMauMau
0.24.0
Client API
|
#include <abstractconnection.h>
Abstract connection class.
Handles all registred users.
Public Types | |
| typedef std::map< std::string, std::string > | CAPABILITIES |
| Key/value map of the server capabilities. | |
| typedef std::map<std::string, std::string> NetMauMau::Common::AbstractConnection::CAPABILITIES |
Key/value map of the server capabilities.
| Key | Value |
|---|---|
| ACEROUND | false if no ace rounds are enabled, else A, Q or K for the rank |
| AI_NAME | name of the first AI player |
| AI_OPPONENT | true if the AI opponent is enabled |
| CUR_PLAYERS | amount of current players joined |
| DIRCHANGE | true if direction changes are allowed, false otherwise |
| HAVE_SCORES | true if the server can provide scores, false otherwise |
| INITIAL_CARDS | if played with an amount of initial cards not equal to 5 contains the number of cards |
| MAX_PLAYERS | amount of players needed to start the game |
| MIN_VERSION | minimum version of client that can connect |
| SERVER_VERSION | version of the server |
| SERVER_VERSION_REL | version of the server (including release) |
| TALON | if played with more than 1 card deck contains the number of cards |
| ULTIMATE | true if running in ultimate mode, false otherwise |
| WEBSERVER_URL | if the webserver is started it contains the URL of it |
1.8.1.2