|published_file_id||The unique handle for the UGC to be updated.|
|info_map||A (previously created) DS map index.|
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:
- "size_on_disk" - The file size on disk (in bytes)
- "legacy_item" - Will be true or false depending on whether it is a legacy file or not.
- "folder" - This is the full path to the installed content ( please refer to "Item Installation" in Steam SDK docs, as "legacy" items uploaded with the old method, are treated differently).
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.
var item_map = ds_map_create();
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.