Nuclide
Software Development Kit for id Tech
|
Classes | |
struct | update_t |
Macros | |
#define | FN_UPDATE_IMGURL "http://www.frag-net.com/dl/img/%s.jpg" |
Functions | |
string (float id, float b) getgamedirinfo = #292 | |
string (int packageidx, int desiredfield) getpackagemanagerinfo | |
void | Updates_Init (void) |
Call this in order to contact the update server and fill the list of updates. More... | |
updaterStatus_t | Updates_GetUpdaterStatus (void) |
Retrieve the status of the updater. More... | |
int | Updates_GetPackageCount (void) |
Returns the total amount of updates available for the currently running game. More... | |
bool | Updates_IsRecommended (string packageName) |
Checks a given package name and sees if it's in the list of recommended packages. More... | |
__variant | Updates_GetInfo (int packageID, updateType_t fieldType) |
Query a package (by ID) for its various info fields. More... | |
bool | Updates_Available (void) |
Returns if our current game has updates available for any installed packages. More... | |
bool | Updates_Toggle (int packageID) |
Toggle the installation/disabling of an update. More... | |
bool | Updates_Install (int packageID) |
Mark an update as pending installion. More... | |
bool | Updates_Remove (int packageID) |
Mark an update as pending deletion. More... | |
bool | Updates_Destroy (int packageID) |
Mark an update as pending uninstallation. More... | |
bool | Updates_ApplyPendingChanges (void) |
Apply all pending changes to packages. More... | |
void | Updater_URI_Callback (float id, float code, string data, int resourcebytes) |
Variables | |
int | g_platform_update_count |
update_t * | updates |
var updaterStatus_t | updater_package_status = UPDATER_NONE |
#define FN_UPDATE_IMGURL "http://www.frag-net.com/dl/img/%s.jpg" |
Apply all pending changes to packages.
May return true/false if it succeeded in doing so.
Returns if our current game has updates available for any installed packages.
Mark an update as pending uninstallation.
May return true/false if it succeeded in marking the package.
__variant Updates_GetInfo | ( | int | packageID, |
updateType_t | fieldType | ||
) |
Query a package (by ID) for its various info fields.
See updateType_t for available fields.
Returns the total amount of updates available for the currently running game.
updaterStatus_t Updates_GetUpdaterStatus | ( | void | ) |
Retrieve the status of the updater.
See updaterStatus_t for valid return values.
Call this in order to contact the update server and fill the list of updates.
Mark an update as pending installion.
May return true/false if it succeeded in marking the package.
Checks a given package name and sees if it's in the list of recommended packages.
Mark an update as pending deletion.
May return true/false if it succeeded in marking the package.
Toggle the installation/disabling of an update.
May return true/false if it succeeded in marking the package.
int g_platform_update_count |
var updaterStatus_t updater_package_status = UPDATER_NONE |
update_t* updates |