Server
 All Data Structures Files Functions Variables
Public Member Functions | Data Fields
communication::Client Class Reference

#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.
 

Detailed Description

A client represents one client and all the relevant information


The documentation for this class was generated from the following file: