Nuclide
Software Development Kit for id Technology
|
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. 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... | |
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... | |
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.