Network code documentation for my turn-based game 1.0
|
ClientData is a struct which contains the username of a client and its port number. It is used by the Lobby class to provide an easy way to differentiate the clients in a game and facilitate the packet communications between them. More...
#include <lobby.h>
Public Attributes | |
std::string | username {} |
Port | port = 0 |
ClientData is a struct which contains the username of a client and its port number. It is used by the Lobby class to provide an easy way to differentiate the clients in a game and facilitate the packet communications between them.
Port ClientData::port = 0 |
std::string ClientData::username {} |