OpenTTD
|
Client part of the network protocol. More...
#include "network_internal.h"
Go to the source code of this file.
Data Structures | |
class | ClientNetworkGameSocketHandler |
Class for handling the client side of the game connection. More... |
Typedefs | |
typedef ClientNetworkGameSocketHandler | MyClient |
Helper to make the code look somewhat nicer. |
Functions | |
void | NetworkClient_Connected () |
Is called after a client is connected to the server. | |
void | NetworkClientSetCompanyPassword (const char *password) |
Set/Reset company password on the client side. |
Variables | |
CompanyID | _network_join_as |
Who would we like to join as. | |
const char * | _network_join_server_password |
Login password from -p argument. | |
const char * | _network_join_company_password |
Company password from -P argument. |
Client part of the network protocol.
Definition in file network_client.h.
Helper to make the code look somewhat nicer.
Definition at line 111 of file network_client.h.
void NetworkClientSetCompanyPassword | ( | const char * | password | ) |
Set/Reset company password on the client side.
password | Password to be set. |
Definition at line 1260 of file network_client.cpp.
References ClientNetworkGameSocketHandler::SendSetPassword().
Referenced by NetworkChangeCompanyPassword().
CompanyID _network_join_as |
Who would we like to join as.
Definition at line 298 of file network_client.cpp.