OpenTTD Source 20241224-master-gee860a5c8e
NetworkJoinInfo Struct Reference

Information required to join a server. More...

#include <network_client.h>

Data Fields

std::string connection_string
 The address of the server to join.
 
CompanyID company
 The company to join.
 
std::string server_password
 The password of the server to join.
 

Detailed Description

Information required to join a server.

Definition at line 109 of file network_client.h.

Constructor & Destructor Documentation

◆ NetworkJoinInfo()

NetworkJoinInfo::NetworkJoinInfo ( )
inline

Definition at line 110 of file network_client.h.

Field Documentation

◆ company

CompanyID NetworkJoinInfo::company

The company to join.

Definition at line 112 of file network_client.h.

Referenced by NetworkClientConnectGame(), and ClientNetworkGameSocketHandler::Receive_SERVER_MAP_DONE().

◆ connection_string

std::string NetworkJoinInfo::connection_string

The address of the server to join.

Definition at line 111 of file network_client.h.

Referenced by NetworkClientConnectGame(), and NetworkClientJoinGame().

◆ server_password

std::string NetworkJoinInfo::server_password

The password of the server to join.

Definition at line 113 of file network_client.h.

Referenced by ClientGamePasswordRequestHandler::AskUserForPassword(), and NetworkClientConnectGame().


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