|
OpenTTD Source 20251117-master-g7398d2e290
|
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... | |
| 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. | |
Variables | |
| NetworkJoinInfo | _network_join |
| Information about the game to join to. | |
Client part of the network protocol.
Definition in file network_client.h.
Helper to make the code look somewhat nicer.
Definition at line 104 of file network_client.h.
| void NetworkClient_Connected | ( | ) |
Is called after a client is connected to the server.
Definition at line 1188 of file network_client.cpp.
References _frame_counter, _frame_counter_server, Debug, last_ack_frame, and ClientNetworkGameSocketHandler::SendJoin().
Referenced by TCPClientConnecter::OnConnect().
|
extern |
Information about the game to join to.
Definition at line 279 of file network_client.cpp.
Referenced by ClientGamePasswordRequestHandler::AskUserForPassword(), NetworkClientConnectGame(), NetworkClientJoinGame(), and ClientNetworkGameSocketHandler::Receive_SERVER_MAP_DONE().