Roblox API Reference

AssetService 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.

Tags: [NotCreatable, Service]

Inherits (1)

Member index (9)

Type Member History
int64 CreatePlaceAsync (string placeName, int64 templatePlaceID, string description = ) 138 315 325
int64 CreatePlaceInPlayerInventoryAsync (Instance player, string placeName, int64 templatePlaceID, string description = ) 138 315 325
Array GetAssetIdsForPackage (int64 packageAssetId) 268 315
Tuple GetAssetThumbnailAsync (int64 assetId, Vector2 thumbnailSize, int assetType = 0) 312 311 312 315
Dictionary GetBundleDetailsAsync (int64 bundleId) 360
Dictionary GetBundleDetailsSync (int64 bundleId) 375
int64 GetCreatorAssetID (int64 creationID) 122 292 319 325
Instance GetGamePlacesAsync () 163
void SavePlaceAsync () 138
47 members inherited from Instance

Removed member index (7)

Type Member History
Dictionary GetAssetVersions (int placeId, int pageNum = 1) 319
Dictionary GetPlacePermissions (int placeId) 319
bool RevertAsset (int placeId, int versionNumber) 319
void SetAssetRevertUrl (string revertUrl) 310
void SetAssetVersionsUrl (string versionsUrl) 310
void SetPlaceAccessUrl (string accessUrl) 310
bool SetPlacePermissions (int placeId, AccessType accessType = Everyone, Array inviteList = {}) 319

History

Members

CreatePlaceAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
placeName string none
templatePlaceID int64 none
description string

History

Tags: [Yields]

CreatePlaceInPlayerInventoryAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
player Instance none
placeName string none
templatePlaceID int64 none
description string

History

Tags: [Yields]

GetAssetIdsForPackage On DevHub

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

History

Tags: [Yields]

GetAssetThumbnailAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
assetId int64 none
thumbnailSize Vector2 none
assetType int 0

History

Tags: [Yields]

GetBundleDetailsAsync On DevHub

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

History

Tags: [Yields]

GetBundleDetailsSync On DevHub

Name Type Default
bundleId int64 none

History

GetCreatorAssetID On DevHub

This function yields. It will block the calling thread until completion.
This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
creationID int64 none

History

Tags: [Yields, Deprecated]

GetGamePlacesAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
No parameters.

History

Tags: [Yields]

SavePlaceAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
No parameters.

History

Tags: [Yields]

Removed members

GetAssetVersions

This function yields. It will block the calling thread until completion.
Name Type Default
placeId int none
pageNum int 1

History

Tags: [Yields]

GetPlacePermissions

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

History

Tags: [Yields]

RevertAsset

This function yields. It will block the calling thread until completion.
Name Type Default
placeId int none
versionNumber int none

History

Tags: [Yields]

SetAssetRevertUrl

Name Type Default
revertUrl string none

History

SetAssetVersionsUrl

Name Type Default
versionsUrl string none

History

SetPlaceAccessUrl

Name Type Default
accessUrl string none

History

SetPlacePermissions

This function yields. It will block the calling thread until completion.
Name Type Default
placeId int none
accessType AccessType Everyone
inviteList Array {}

History

Tags: [Yields]

Relevant classes (1)