s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter