Game
Public member functions
// Construct a new Game object
Game();
// Create a new room with a client (player)
void createRoom(Reader::Packet &packet, bool privateRoom = false);
// Search a room for the client
void searchRoom(Reader::Packet &packet);
// Get a room by its id
Room &getRoom(u_int id);
// Get a room by a client that is in it
Room &getRoom(std::shared_ptr<Client> client);Member functions documentation
Constructor
Game();