OpenTTD Source
1.11.0-beta2
|
Go to the documentation of this file.
10 #ifndef NETWORK_GAMELIST_H
11 #define NETWORK_GAMELIST_H
The game information that is sent from the server to the clients.
NetworkAddress address
The connection info of the game server.
NetworkGameList * NetworkGameListAddItem(NetworkAddress address)
Add a new item to the linked gamelist.
void NetworkGameListRemoveItem(NetworkGameList *remove)
Remove an item from the gamelist linked list.
bool manually
True if the server was added manually.
void NetworkGameListAddItemDelayed(NetworkGameList *item)
Add a new item to the linked gamelist, but do it delayed in the next tick or so to prevent race condi...
NetworkGameList * _network_game_list
Game list of this client.
Wrapper for (un)resolved network addresses; there's no reason to transform a numeric IP to a string a...
uint8 retries
Number of retries (to stop requerying)
Structure with information shown in the game list (GUI)
void NetworkGameListRequery()
Requeries the (game) servers we have not gotten a reply from.
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)