Workshop Item Data
Last updated
Last updated
Support us as a and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our ... become a sponsor today!
A helper tool that allows you to pre-define all of the typical fields of a Steam User Generated Content item (aka a Workshop Item) for quick and easy creation or update. see the method for details.
Used with the User Generated Content interface for 1 line creation of workshop items.
The published file ID is to be updated. This can be null and would be in the case of a create, if you are however updating an item this should be populated with the ID of the file to be updated
Note the ? at the end of the data type, this is a C# feature and indicates that this is a "Nullable" attribute e.g. Nullable<PublishedFileId_t> in this case.
The consume and creating app ID of the item.
The title of the item.
The description of the item.
The folder where the content is located is used when creating and updating an item.
The file to be used as the preview image should be a .jpg or .png file and its size must be smaller than that defined in the app's remote storage settings.
The metadata associated with the file if any.
The set of tags associated or to be associated with the item.
The visibility setting to apply to the file when created or updated.
Returns true if all required fields are set and conform to Valve's basic requirements.
App ID is set to a valid app
title is not null or empty
title length is less than the max allowed by Valve (8000)
description is not null or empty
description length is less than the max allowed by Valve (8000)
metadata if populated length is less than the max allowed by Valve (5000)
preview is not null and file exists
content is not null and folder exists
no tag length is greater than 255
or
Creates a workshop item with the fields defined in the structure, optionally with additional preview images, videos and key value tags.
or
Assuming the publishedFileId is a valid file that the user owns this will update that file
Gets the WorkshopItem for the indicated file.
Gets the subscribed items with the additional arguments requested.