OpenTTD Source
12.0-beta2
|
Go to the documentation of this file.
10 #ifndef NETWORK_GAMELIST_H
11 #define NETWORK_GAMELIST_H
std::string connection_string
Address of the server.
The game information that is sent from the server to the clients with extra information only required...
int _network_game_list_version
Current version of all items in the list.
void NetworkGameListRemoveItem(NetworkGameList *remove)
Remove an item from the gamelist linked list.
bool manually
True if the server was added manually.
int version
Used to see which servers are no longer available on the Game Coordinator and can be removed.
NetworkGameList * _network_game_list
Game list of this client.
NetworkGameList * NetworkGameListAddItem(const std::string &connection_string)
Add a new item to the linked gamelist.
uint8 retries
Number of retries (to stop requerying)
Structure with information shown in the game list (GUI)
void NetworkGameListRemoveExpired()
Remove all servers that have not recently been updated.
NetworkGameList * next
Next pointer to make a linked game list.
NetworkGameInfo info
The game information of this server.
bool online
False if the server did not respond (default status)