Nuclide
Software Development Kit for id Technology (BETA)
Mod Server

Remotely available modifications, addons control/install functions. More...

Detailed Description

Remotely available modifications, addons control/install functions.

The ModServer API manages the retrieval of custom game info (usually modifications) into the Game Library.

This is kept separate, in case where connections to remote sources is disallowed.

Functions

void URI_Get_Callback (float id, float code, string data, int resourcebytes)
 Called as an eventual result of the uri_get builtin. More...
 

Macros

#define MODSERVER_REQ_LIST   100
 uri_get callback id for mod-list retrieval More...
 
#define MODSERVER_REQ_ITEM   101
 uri_get callback id for mod-item retrieval More...
 
#define MODSERVER_REQ_PKGNAMES   102
 uri_get callback id for mod package name retrieval More...
 

Function Documentation

◆ URI_Get_Callback()

void URI_Get_Callback ( float  id,
float  code,
string  data,
int  resourcebytes 
)

Called as an eventual result of the uri_get builtin.

Macro Definition Documentation

◆ MODSERVER_REQ_ITEM

#define MODSERVER_REQ_ITEM   101

uri_get callback id for mod-item retrieval

◆ MODSERVER_REQ_LIST

#define MODSERVER_REQ_LIST   100

uri_get callback id for mod-list retrieval

◆ MODSERVER_REQ_PKGNAMES

#define MODSERVER_REQ_PKGNAMES   102

uri_get callback id for mod package name retrieval