NetMauMau
0.17.1
Client API
|
Classes and functions used by clients only.
Namespaces | |
Exception | |
Exceptions thrown by clients. | |
Classes | |
class | AbstractClientV05 |
Client interface to communicate with the server More... | |
class | AbstractClientV07 |
Client interface to communicate with the server More... | |
class | AbstractClientV08 |
Client interface to communicate with the server More... | |
class | AbstractClientV09 |
Client interface to communicate with the server More... | |
class | AbstractClientV11 |
Client interface to communicate with the server More... | |
class | AbstractClientV13 |
Client interface to communicate with the server More... | |
class | Connection |
Handles the connection from the client to a server. More... | |
interface | IBase64 |
Interface to provide an own implementation of the Base64 algorithm. More... | |
Typedefs | |
typedef AbstractClientV13 | AbstractClient |
Alias to the current client interface to communicate with the server. More... | |
Alias to the current client interface to communicate with the server.
In your client subclass AbstractClient
and implement all pure virtual methods. In the constructor AbstractClient
you can setup the connection.
To actually join the game you need to call play()
. The pure virtual functions are translated events and requests of the server, which your client has to handle accordingly.
If you just want to query the player list, you can call playerList()
and to get the servers capabilities you can call capabilities()
A client can be obtained via git: git clone https://github.com/velnias75/NetMauMau-Qt-Client.git