s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Editor Classes
ProjectPublisher
chevron_left Editor Classes
class
ProjectPublisher

Properties

data_objectFilesdata_objectManifestdata_objectMissingFileCountdata_objectMissingFileSizedata_objectOnProgressChangeddata_objectTargetPackageIdentdata_objectTotalFileCount

Methods

functionsAddCodePackageReferencefunctionsAddFilefunctionsGetGameSettingsfunctionsPrePublishfunctionsPublishfunctionsSetChangeDetailsfunctionsSetMetafunctionsUploadFiles

Static Methods

functionsCanPublishFilefunctionsFromAssetfunctionsFromProject
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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter