steam_ugc_get_item_install_info


Description

This function can be used to retrieve information about any given published file item that has been subscribed to and downloaded to the Steam local storage area for your game. You give the item ID and supply the index to an empty DS map which will then be populated with the following key/value pairs if the item exists:


If the item exists then the function will return true and populate the map, otherwise it will return false and the map will remain empty.


Syntax:

steam_ugc_get_item_install_info(published_file_id, info_map);

Argument Description
published_file_id The unique handle for the UGC to be updated.
info_map A (previously created) DS map index.


Returns:

Boolean


Example:

var item_map = ds_map_create();
steam_ugc_get_item_install_info(global.fileID, item_map);

The above code will query the install status of the item indexed in the global variable "fileID", using a ds_map to store the information.