Garry's Mod Wiki

UGCFileInfo

Description

Table structure used by steamworks.FileInfo.

Parameters

id [number]

The Workshop item ID

title [string]

The title of the Workshop item

description [string]

The description of the Workshop item

fileid [number]

The internal File ID of the workshop item, if any

previewid [number]

The internal File ID of the workshop item preview, if any

owner [number]

The SteamID64 of the original uploader of the addon

created [number]

Unix timestamp of when the item was created

updated [number]

Unix timestamp of when the file was last updated

banned [boolean]

Whether the file is banned or not

tags [string]

Comma (,) separated list of tags, may be truncated to some length

size [number]

File size of the workshop item contents

previewsize [number]

Filesize of the preview file

installed [boolean]

If the addon is subscribed, this value represents whether it is installed on the client and its files are accessible, false otherwise.

disabled [boolean]

If the addon is subscribed, this value represents whether it is disabled on the client, false otherwise.

children [table]

A list of child Workshop Items for this item.

For collections this will be sub-collections, for workshop items this will be the items they depend on.

ownername [string]

We advise against using this. It may be changed or removed in a future update.

The "nice" name of the Uploader, or "Unnammed Player" if we failed to get the data for some reason.

Do not use this field as it will most likely not be updated in time. Use steamworks.RequestPlayerInfo instead.

error [number]

If this key is set, no other data will be present in the response.

Values above 0 represent Steam Error codes, values below 0 mean the following:

  • -1 means Failed to create query
  • -2 means Failed to send query
  • -3 means Received 0 or more than 1 result
  • -4 means Failed to get item data from the response
  • -5 means Workshop item ID in the response is invalid
  • -6 means Workshop item ID in response is mismatching the requested file ID

Page Links


Special Pages


Wikis

?

Render Time: 45ms

DB GetPage 4
Generate Html 17
SaveChanges (1) 9
Render Body 0
Render Sidebar 12