OpenTTD Source  12.0-beta2
network_client.h File Reference
#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...
 
struct  NetworkJoinInfo
 Information required to join a server. 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 std::string &password)
 Set/Reset company password on the client side. More...
 

Variables

NetworkJoinInfo _network_join
 Information about the game to join to.
 

Detailed Description

Client part of the network protocol.

Definition in file network_client.h.

Function Documentation

◆ NetworkClientSetCompanyPassword()

void NetworkClientSetCompanyPassword ( const std::string &  password)

Set/Reset company password on the client side.

Parameters
passwordPassword to be set.

Definition at line 1324 of file network_client.cpp.

References ClientNetworkGameSocketHandler::SendSetPassword().

Referenced by NetworkChangeCompanyPassword().