OpenTTD Source
1.11.0-beta2
|
Go to the source code of this file.
Data Structures | |
struct | NetworkServerGameInfo |
The game information that is not generated on-the-fly and has to be sent to the clients. More... | |
struct | NetworkGameInfo |
The game information that is sent from the server to the clients. More... | |
Functions | |
const char * | GetNetworkRevisionString () |
Get the network version string used by this build. More... | |
Information about a game that is sent between a game server, game client and masterserver.
Definition in file game.h.
const char* GetNetworkRevisionString | ( | ) |
Get the network version string used by this build.
The returned string is guaranteed to be at most NETWORK_REVISON_LENGTH bytes.
Definition at line 1098 of file network.cpp.
References stredup().
Referenced by IsNetworkCompatibleVersion(), NetworkHTTPSocketHandler::NetworkHTTPSocketHandler(), and ServerNetworkAdminSocketHandler::SendWelcome().