|  | Nuclide
    Software Development Kit for id Technology (BETA) | 
Master Server related functions. More...
Master Server related functions.
Various functions to help communicate with the master server(s).
| Functions | |
| string | Master_Resolve (void) | 
| Returns IP of master server. | |
| int | Master_GetTotalServers (void) | 
| Returns the total amount of games from both LAN and Internet. | |
| 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. | |
| void | Master_UpdateCache (void) | 
| Get completely new list of servers, hard-reset the cache. | |
| void | Master_RefreshCache (void) | 
| Refresh the current server cache. | |
| void | Master_ResortCache (void) | 
| Re-Sort the server cache without refreshing. | |
| void | Master_GetInternetList (void) | 
| Grab a NEW internet game list. | |
| void | Master_GetLANList (void) | 
| Grab a NEW LAN list. | |
| Macros | |
| #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. | |
| void Master_GetInternetList | ( | void | ) | 
Grab a NEW internet game list.
Will flush any other lists.
| int Master_GetInternetServers | ( | void | ) | 
Returns the amount of internet games from the last refresh.
| void Master_GetLANList | ( | void | ) | 
Grab a NEW LAN list.
Will flush any other lists.
| 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.
| void Master_RefreshCache | ( | void | ) | 
Refresh the current server cache.
Will only talk to known servers.
| string Master_Resolve | ( | void | ) | 
Returns IP of master server.
| void Master_ResortCache | ( | void | ) | 
Re-Sort the server cache without refreshing.
| void Master_UpdateCache | ( | void | ) | 
Get completely new list of servers, hard-reset the cache.
Forgets about all else.
| #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.