s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Editor Classes
AssetPackPublisher
chevron_left Editor Classes
class
AssetPackPublisher

Constructors

functionsAssetPackPublisher

Properties

data_objectFirstSubmissiondata_objectItemIddata_objectNeedsLinkdata_objectProgressdata_objectSubmitting

Methods

functionsPublishAsNewfunctionsPublishAsync
AssetPackPublisher
Submits one reviewed folder to a Steam community item and remembers its confirmed link.
class Editor .
sealedSandbox.Tools

build Constructors 1

AssetPackPublisher (folder, temporary, readId, writeId)

data_object Properties 5

FirstSubmission
bool
A reserved item still needs its first successful submission.
ItemId
UInt64
The linked or reserved Workshop item, including a new item whose first upload needs retrying.
NeedsLink
bool
Steam accepted the content and only the local link still needs saving.
Progress
Nullable`1
Steam's upload fraction, or null while preparing the files.
Submitting
bool
Whether Steam is processing this attempt. Once submitted, wait for its result before cleaning up.

functions Methods 2

PublishAsNew ()
Explicitly choose a new item for this copy. The original link remains until Steam accepts the new upload.
PublishAsync (content, details, cancel)
Task
Stages the reviewed content, submits it, then saves the link. A link-save retry performs only the last step.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter