Nuclide
Software Development Kit for id Tech
|
Master Server related functions. More...
Macros | |
#define | MASTER_DNS "master.frag-net.com" |
The default master server address. More... | |
#define | MASTER_PORT 27950 |
The default port used to talk to the master server. More... | |
Functions | |
string | Master_Resolve (void) |
Returns IP of master server. More... | |
int | Master_GetTotalServers (void) |
Returns the total amount of games from both LAN and Internet. More... | |
int | Master_GetInternetServers (void) |
Returns the amount of internet games from the last refresh. More... | |
int | Master_GetLANServers (void) |
Returns the amount of LAN servers from the last refresh. More... | |
void | Master_UpdateCache (void) |
Get completely new list of servers, hard-reset the cache. More... | |
void | Master_RefreshCache (void) |
Refresh the current server cache. More... | |
void | Master_ResortCache (void) |
Re-Sort the server cache without refreshing. More... | |
void | Master_GetInternetList (void) |
Grab a NEW internet game list. More... | |
void | Master_GetLANList (void) |
Grab a NEW LAN list. More... | |
Master Server related functions.
Various functions to help communicate with the master server(s).
#define MASTER_DNS "master.frag-net.com" |
The default master server address.
#define MASTER_PORT 27950 |
The default port used to talk to the master server.
int Master_GetInternetServers | ( | void | ) |
Returns the amount of internet games from the last refresh.
int Master_GetLANServers | ( | void | ) |
Returns the amount of LAN servers from the last refresh.
int Master_GetTotalServers | ( | void | ) |
Returns the total amount of games from both LAN and Internet.
Refresh the current server cache.
Will only talk to known servers.