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
gamejams
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
Get s&box
Sign in with Steam
Api
Editor Classes
ProjectPublisher
PublishesToWorkshop
chevron_left Editor Classes
class
ProjectPublisher

Properties

data_objectFilesdata_objectHasWorkshopUploaddata_objectIsWorkshopUploadeddata_objectManifestdata_objectMissingFileCountdata_objectMissingFileSizedata_objectOnProgressChangeddata_objectTargetPackageIdentdata_objectTotalFileCountdata_objectWorkshopBytesDonedata_objectWorkshopBytesTotaldata_objectWorkshopFileCountdata_objectWorkshopTargetItemIddata_objectWorkshopUploadSizedata_objectWorkshopUploadStatusdata_objectWorkshopUrldata_objectWorkshopWarning

Methods

functionsAddCodePackageReferencefunctionsAddFilefunctionsGetGameSettingsfunctionsPrePublishfunctionsPublishfunctionsSetChangeDetailsfunctionsSetMetafunctionsSetThumbnailfunctionsSetWorkshopItemfunctionsSetWorkshopVisibilityfunctionsUploadFiles

Static Fields

crop_dinMaxPickedWorkshopTagscrop_dinWorkshopTagsMetaKey

Static Methods

functionsCanPublishFilefunctionsCropToSquarefunctionsFromAssetfunctionsFromProjectfunctionsGetPublishedWorkshopItemsAsyncfunctionsGetWorkshopItemIdAsyncfunctionsGetWorkshopItemInfoAsyncfunctionsPlayerTagsfunctionsPublishesToWorkshopfunctionsWorkshopTagChoices
PublishesToWorkshop
Would publishing this project put its files in a Steam Workshop item?
methodstatic
static bool PublishesToWorkshop (Project project)

Parameters

NameTypeDescription
project Project

Returns

TypeDescription
bool
Declared in Editor.ProjectPublisher ยท Assembly Sandbox.Tools
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