PublishService¶
A service that centralizes uploading assets to Roblox, including publishing cage mesh edits and creating assets or asset versions.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
Description¶
Requires RobloxScript security; used by Studio publishing and avatar-import
workflows rather than ordinary experience code. Centralizes uploading assets
to Roblox: publishing edited cage meshes from WrapTarget and
WrapLayer instances, publishing an instance's descendant assets in
parallel, and creating assets or asset versions while polling for the
resulting asset ID.
Inheritance¶
Object → Instance → PublishService
Methods¶
| Member | Signature | Summary |
|---|---|---|
CreateAssetAndWaitForAssetId |
PublishService:CreateAssetAndWaitForAssetId(instances: Instances, operationId: string, creatorType: AssetCreatorType, creatorId: int64, assetType: string, name: string, description: string, expectedPrice: int = 0, additionalParameters: Dictionary = nil): int64 |
— |
CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsync |
PublishService:CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsync(serializedInstance: string, creatorType: AssetCreatorType, creatorId: int64, assetType: string, assetId: int64, name: string, description: string, token: string, contentType: string, expectedPrice: int = 0): Dictionary |
— |
CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsyncWithAddParam |
PublishService:CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsyncWithAddParam(serializedInstance: string, publishInfo: Dictionary): Dictionary |
— |
CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsyncWithAddParamErrorJson |
PublishService:CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsyncWithAddParamErrorJson(serializedInstance: string, publishInfo: Dictionary): Dictionary |
— |
PublishCageMeshAsync |
PublishService:PublishCageMeshAsync(wrap: Instance, cageType: CageType): ContentId |
— |
PublishDescendantAssets |
PublishService:PublishDescendantAssets(instance: Instance): bool |
— |
PublishDescendantAssetsAsync |
PublishService:PublishDescendantAssetsAsync(instance: Instance): bool |
— |
TagEmoteAnimation |
PublishService:TagEmoteAnimation(instance: Instance): null |
— |
Roblox reference: PublishService
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.