s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
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
ProjectPublisher
chevron_left
Editor Classes
class
ProjectPublisher
Properties
data_object
Files
data_object
Manifest
data_object
MissingFileCount
data_object
MissingFileSize
data_object
OnProgressChanged
data_object
TargetPackageIdent
data_object
TotalFileCount
Methods
functions
AddCodePackageReference
functions
AddFile
functions
GetGameSettings
functions
PrePublish
functions
Publish
functions
SetChangeDetails
functions
SetMeta
functions
UploadFiles
Static Methods
functions
CanPublishFile
functions
FromAsset
functions
FromProject
ProjectPublisher
class
Editor
.
Sandbox.Tools
data_object
Properties
7
Files
IEnumerable`1
Get access to the files within the manifest
Manifest
PackageManifest
MissingFileCount
int
MissingFileSize
long
OnProgressChanged
Action
TargetPackageIdent
string
TotalFileCount
int
functions
Methods
8
AddCodePackageReference
(
package
)
Task
If the code is referencing a package - we can add it to the manifest using this.
AddFile
(
contents
,
relativePath
)
Task
Manually add a file to the manifest
GetGameSettings
(
assemblies
)
List`1
Fetch a list of game settings to be added to the project's metadata
PrePublish
(
cancellationToken
)
Task
Check the intended manifest, ask the backend which files need to be uploaded.
Publish
(
progress
,
cancel
)
Task
Publish a new revision
SetChangeDetails
(
change
,
detail
)
Allows to set information on the revision - for future reference
SetMeta
(
key
,
obj
)
UploadFiles
(
)
Task
functions
Static Methods
3
CanPublishFile
(
a
)
bool
Return true if we're not opposed to publishing this asset
FromAsset
(
asset
)
Task`1
FromProject
(
project
)
Task`1
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.