Roblox API Reference

StudioAssetService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, Service, NotReplicated]

Inherits (1)

Member index (10)

Type Member History
null ConvertToPackageUpload (string uploadUrl, Objects cloneInstances, Objects originalInstances) 540 573
null FireOnUGCSubmitCompleted (bool cancelled) 601
null PublishPackage (Instance instance, Dictionary publishInfo) 554 573
Instance RequestAvatarAutosetupAsync (Content meshId, Content textureId, Function progressCallback) 602
string SerializeInstances (Objects instances)
null ShowSaveToRoblox (Objects instances, Variant assetType, bool hasSubsequent = false) 583 601
OnConvertToPackageResult (bool isSuccessful, string errorMessage) 540
OnPublishPackageResult (Dictionary result, string errorMessage) 554
OnSaveToRoblox (Objects instances, Variant assetType, bool hasSubsequent) 541 583 601
OnUGCSubmitCompleted (bool cancelled) 601
57 members inherited from Instance

History

Members

ConvertToPackageUpload On DevHub

Name Type Default
uploadUrl string none
cloneInstances Objects none
originalInstances Objects none

History

FireOnUGCSubmitCompleted On DevHub

Name Type Default
cancelled bool none

History

OnConvertToPackageResult On DevHub

Name Type Default
isSuccessful bool none
errorMessage string none

History

OnPublishPackageResult On DevHub

Name Type Default
result Dictionary none
errorMessage string none

History

OnSaveToRoblox On DevHub

Name Type Default
instances Objects none
assetType Variant none
hasSubsequent bool none

History

OnUGCSubmitCompleted On DevHub

Name Type Default
cancelled bool none

History

PublishPackage On DevHub

Name Type Default
instance Instance none
publishInfo Dictionary none

History

RequestAvatarAutosetupAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
meshId Content none
textureId Content none
progressCallback Function none

History

Tags: [Yields]

SerializeInstances On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
instances Objects none

Tags: [Yields]

ShowSaveToRoblox On DevHub

Name Type Default
instances Objects none
assetType Variant none
hasSubsequent bool false

History

Relevant classes (1)