A service that centralizes uploading assets to Roblox, including publishing
cage mesh edits and creating assets or asset versions.
Its interface does not cross the network boundary.
Instances of this class cannot be created with Instance.new.
It is a singleton that may be acquired with GetService.
Tags: [NotCreatable, Service, NotReplicated]
History Member 648 CreateAssetAndWaitForAssetId ( instances: Instances , operationId: string , creatorType: AssetCreatorType , creatorId: int64 , assetType: string , name: string , description: string , expectedPrice: int = 0 ) : int64 614 CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsync ( serializedInstance: string , creatorType: AssetCreatorType , creatorId: int64 , assetType: string , assetId: int64 , name: string , description: string , token: string , contentType: string , expectedPrice: int = 0 ) : Dictionary 637 CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsyncWithAddParam ( serializedInstance: string , publishInfo: Dictionary ) : Dictionary 658 CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsyncWithAddParamErrorJson ( serializedInstance: string , publishInfo: Dictionary ) : Dictionary 645 PublishCageMeshAsync ( wrap: Instance , cageType: CageType ) : ContentId 514 PublishDescendantAssets ( instance: Instance ) : bool 673 PublishDescendantAssetsAsync ( instance: Instance ) : bool 69 members inherited from Instance731 Archivable : bool 731 Attributes : string 731 AttributesReplicate : string 731 AttributesSerialize : BinaryString 731 Capabilities : SecurityCapabilities 731 DataCost : int 731 DefinesCapabilities : bool 731 HistoryId : UniqueId 731 IsInSandbox : bool 731 Name : string 731 Parent : Instance 731 PredictionMode : PredictionMode 731 PropertyStatusStudio : PropertyStatus 731 RobloxLocked : bool 731 Sandboxed : bool 734 SerializedOverrides : BinaryString 731 SourceAssetId : int64 731 Tags : SharedString 731 UniqueId : UniqueId 731 archivable : bool 731 numExpectedDirectChildren : int 576 AddTag ( tag: string ) : null 573 ClearAllChildren ( ) : null 462 Clone ( ) : Instance 573 Destroy ( ) : null 486 FindFirstAncestor ( name: string ) : Instance 486 FindFirstAncestorOfClass ( className: string ) : Instance 486 FindFirstAncestorWhichIsA ( className: string ) : Instance 486 FindFirstChild ( name: string , recursive: bool = false ) : Instance 486 FindFirstChildOfClass ( className: string ) : Instance 486 FindFirstChildWhichIsA ( className: string , recursive: bool = false ) : Instance 486 FindFirstDescendant ( name: string ) : Instance 563 GetActor ( ) : Actor 486 GetAttribute ( attribute: string ) : Variant 462 GetAttributeChangedSignal ( attribute: string ) : RBXScriptSignal 631 GetAttributes ( ) : Dictionary 648 GetChildren ( ) : Instances 462 GetDebugId ( scopeLength: int = 4 ) : string 707 GetDescendants ( ) : Instances 486 GetFullName ( ) : string 706 GetStyled ( name: string , selector: string? ) : Variant 657 GetStyledPropertyChangedSignal ( property: string ) : RBXScriptSignal 576 GetTags ( ) : Array 576 HasTag ( tag: string ) : bool 486 IsAncestorOf ( descendant: Instance ) : bool 486 IsDescendantOf ( ancestor: Instance ) : bool 664 IsPropertyModified ( property: string ) : bool 698 QueryDescendants ( selector: string ) : Instances 573 Remove ( ) : null 576 RemoveTag ( tag: string ) : null 664 ResetPropertyToDefault ( property: string ) : null 573 SetAttribute ( attribute: string , value: Variant ) : null 462 WaitForChild ( childName: string , timeOut: double ) : Instance 731 children ( ) : Instances 731 clone ( ) : Instance 731 destroy ( ) : null 731 findFirstChild ( name: string , recursive: bool = false ) : Instance 731 getChildren ( ) : Instances 731 isDescendantOf ( ancestor: Instance ) : bool 731 remove ( ) : null 462 AncestryChanged ( child: Instance , parent: Instance ) 462 AttributeChanged ( attribute: string ) 462 ChildAdded ( child: Instance ) 462 ChildRemoved ( child: Instance ) 462 DescendantAdded ( descendant: Instance ) 462 DescendantRemoving ( descendant: Instance ) 500 Destroying ( ) 657 StyledPropertiesChanged ( ) 731 childAdded ( child: Instance ) 6 members inherited from Object731 ClassName : string 731 className : string 647 GetPropertyChangedSignal ( property: string ) : RBXScriptSignal 647 IsA ( className: string ) : bool 731 isA ( className: string ) : bool 647 Changed ( property: string )
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.
673
Add PublishDescendantAssetsAsync658
Add CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsyncWithAddParamErrorJson648
Change Parameters of CreateAssetAndWaitForAssetId
from
( instances: Objects , operationId: string , creatorType: AssetCreatorType , creatorId: int64 , assetType: string , name: string , description: string , expectedPrice: int = 0 )
to
( instances: Instances , operationId: string , creatorType: AssetCreatorType , creatorId: int64 , assetType: string , name: string , description: string , expectedPrice: int = 0 ) 645
Change ReturnType of PublishCageMeshAsync
from
Content
to
ContentId 637
Add CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsyncWithAddParam614
Add CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsync592
Change Parameters of CreateAssetAndWaitForAssetId
from
( instances: Objects , operationId: string , creatorType: AssetCreatorType , creatorId: int64 , assetType: string , name: string , description: string )
to
( instances: Objects , operationId: string , creatorType: AssetCreatorType , creatorId: int64 , assetType: string , name: string , description: string , expectedPrice: int = 0 ) 591
Change Parameters of CreateAssetAndWaitForAssetId
from
( instances: Objects , operationId: string , creatorId: int64 , assetType: string , name: string , description: string )
to
( instances: Objects , operationId: string , creatorType: AssetCreatorType , creatorId: int64 , assetType: string , name: string , description: string ) 587
Change Parameters of CreateAssetAndWaitForAssetId
from
( instance: Instance , operationId: string , creatorId: int64 , assetType: string , name: string , description: string )
to
( instances: Objects , operationId: string , creatorId: int64 , assetType: string , name: string , description: string ) 581
Add CreateAssetAndWaitForAssetId514
Add PublishDescendantAssets475
Add PublishCageMeshAsync475
Add PublishService CreateAssetAndWaitForAssetId
It will block the calling thread until completion.
History 5 648
Change Parameters of CreateAssetAndWaitForAssetId
from
( instances: Objects , operationId: string , creatorType: AssetCreatorType , creatorId: int64 , assetType: string , name: string , description: string , expectedPrice: int = 0 )
to
( instances: Instances , operationId: string , creatorType: AssetCreatorType , creatorId: int64 , assetType: string , name: string , description: string , expectedPrice: int = 0 ) 592
Change Parameters of CreateAssetAndWaitForAssetId
from
( instances: Objects , operationId: string , creatorType: AssetCreatorType , creatorId: int64 , assetType: string , name: string , description: string )
to
( instances: Objects , operationId: string , creatorType: AssetCreatorType , creatorId: int64 , assetType: string , name: string , description: string , expectedPrice: int = 0 ) 591
Change Parameters of CreateAssetAndWaitForAssetId
from
( instances: Objects , operationId: string , creatorId: int64 , assetType: string , name: string , description: string )
to
( instances: Objects , operationId: string , creatorType: AssetCreatorType , creatorId: int64 , assetType: string , name: string , description: string ) 587
Change Parameters of CreateAssetAndWaitForAssetId
from
( instance: Instance , operationId: string , creatorId: int64 , assetType: string , name: string , description: string )
to
( instances: Objects , operationId: string , creatorId: int64 , assetType: string , name: string , description: string ) 581
Add CreateAssetAndWaitForAssetIdTags: [Yields]
CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsync
It will block the calling thread until completion.
History 1 Tags: [Yields]
CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsyncWithAddParam
It will block the calling thread until completion.
History 1 Tags: [Yields]
CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsyncWithAddParamErrorJson
It will block the calling thread until completion.
History 1 Tags: [Yields]
It will block the calling thread until completion.
History 2 Tags: [Yields]
PublishDescendantAssetsAsync
It will block the calling thread until completion.
History 1 Tags: [Yields]