Public Member Functions | |
NetworkClientInfo (ClientID client_id=INVALID_CLIENT_ID) | |
~NetworkClientInfo () | |
Basically a client is leaving us right now. | |
Static Public Member Functions | |
static NetworkClientInfo * | GetByClientID (ClientID client_id) |
Return the CI given it's client-identifier. | |
Data Fields | |
ClientID | client_id |
Client identifier (same as ClientState->client_id). | |
char | client_name [NETWORK_CLIENT_NAME_LENGTH] |
Name of the client. | |
byte | client_lang |
The language of the client. | |
CompanyID | client_playas |
As which company is this client playing (CompanyID). | |
Date | join_date |
Gamedate the client has joined. |
Definition at line 25 of file network_base.h.
NetworkClientInfo * NetworkClientInfo::GetByClientID | ( | ClientID | client_id | ) | [static] |
Return the CI given it's client-identifier.
client_id | the ClientID to search for |
Definition at line 111 of file network.cpp.
References client_id.
Referenced by CmdCompanyCtrl(), NetworkChatWindow::DrawWidget(), NetworkServerChangeClientName(), NetworkServerDoMove(), MainWindow::OnKeyPress(), NetworkClientListPopupWindow::OnMouseLoop(), PopupClientList(), and NetworkChatWindow::UpdateWidgetSize().