OpenTTD
Data Structures | Typedefs | Functions | Variables
network_client.h File Reference

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.

Detailed Description

Client part of the network protocol.

Definition in file network_client.h.

Typedef Documentation

Helper to make the code look somewhat nicer.

Definition at line 111 of file network_client.h.

Function Documentation

void NetworkClientSetCompanyPassword ( const char *  password)

Set/Reset company password on the client side.

Parameters
passwordPassword to be set.

Definition at line 1260 of file network_client.cpp.

References ClientNetworkGameSocketHandler::SendSetPassword().

Referenced by NetworkChangeCompanyPassword().

Variable Documentation

CompanyID _network_join_as

Who would we like to join as.

Definition at line 298 of file network_client.cpp.