12 #ifndef NETWORK_GAMELIST_H 13 #define NETWORK_GAMELIST_H NetworkGameList * NetworkGameListAddItem(NetworkAddress address)
Add a new item to the linked gamelist.
NetworkGameList * next
Next pointer to make a linked game list.
Wrapper for (un)resolved network addresses; there's no reason to transform a numeric IP to a string a...
Structure with information shown in the game list (GUI)
void NetworkGameListRemoveItem(NetworkGameList *remove)
Remove an item from the gamelist linked list.
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...
The game information that is sent from the server to the clients.
Wrapper for network addresses.
NetworkAddress address
The connection info of the game server.
NetworkGameInfo info
The game information of this server.
bool online
False if the server did not respond (default status)
Types used for networking.
void NetworkGameListRequery()
Requeries the (game) servers we have not gotten a reply from.
bool manually
True if the server was added manually.
uint8 retries
Number of retries (to stop requerying)
NetworkGameList * _network_game_list
Game list of this client.