s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Editor Classes
AssetPackPublisher
chevron_left
Editor Classes
class
AssetPackPublisher
Constructors
functions
AssetPackPublisher
Properties
data_object
FirstSubmission
data_object
ItemId
data_object
NeedsLink
data_object
Progress
data_object
Submitting
Methods
functions
PublishAsNew
functions
PublishAsync
AssetPackPublisher
Submits one reviewed folder to a Steam community item and remembers its confirmed link.
class
Editor
.
sealed
Sandbox.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.