#include <Lobby.hpp>
Public Member Functions | |
| bool | operator== (const Client &rhs) const |
| Equality operator, checks if all fields are equal. | |
| bool | operator!= (const Client &rhs) const |
| Inequality operator, checks if !(a==b) | |
Data Fields | |
| std::string | userName |
| Name of the user, as given at the login. | |
| std::string | password |
| Password of the user, absolutely useless. | |
| bool | isAi |
| True if the player is an AI (AI players can't pause) | |
| std::set< messages::types::Mods > | mods |
| Collection of all mods that the client supports. | |
A client represents one client and all the relevant information
1.8.6