Summary

Passed to IModalSystem.WorkshopPublish

Constructors

WorkshopPublishOptions

Properties

CanSelectVisibility Can the client select the visibility for this item
Categories Defined categories to show in the workshop publish modal
Description The description of this item. The user will be able to change it.
KeyValues Keyvalues to store on the item. You can search and filter by these later.
Metadata You can store metadata on the item, which is just a string. This can be read when querying items before downloading them - so it can be useful for storing extra info you want to store.
OnComplete Called when done. The ulong is the published item id. You can access it via url https://steamcommunity.com/sharedfiles/filedetails/?id=######
StorageEntry The filesystem containing the files to publish
Tags Tags to set on the item. You can search and filter by these later.
Thumbnail 512x512 thumbnail image, no transparency
Title The default title of this item. The user will be able to change it.
Visibility The visibility of the item

Methods

AddCategory Adds a new category associated with the specified enum type to the collection. The user will be prompted to select one of the enum values when publishing. This will be set on the file as keyvalues[name] = enum.ToString()
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.