GSmGpE6CwX2y9JjB25B8
We use cookies on this site to enhance your user experience
Collapse Sidebar

AssetService

Show Show deprecated

AssetService

Show deprecated

The AssetService is a non-replicated service that handles asset related queries to the Roblox web API. Eventually, this will house all asset related queries for Roblox objects stored in the web. One should mind the Articles/Multi Place Games|limitations this API has.

Properties

Functions

int64

CreatePlaceAsync ( string placeName , int64 templatePlaceID , string description )

[Yields]

Clones a place with placeId equal to given templatePlaceId.

int64

CreatePlaceInPlayerInventoryAsync ( Instance player , string placeName , int64 templatePlaceID , string description )

[Yields]

Clones a place which has placeId equal to given templatePlaceId and puts it into the inventory of the given player.

Array

GetAssetIdsForPackage ( int64 packageAssetId )

[Yields]

Returns an array of assetIds that are contained in a specified package.

Dictionary

GetBundleDetailsAsync ( int64 bundleId )

[Yields]

Returns details of the contents of specified bundle

int64

GetCreatorAssetID ( int64 creationID )

[Yields] [Deprecated]

Returns the UserId of the account who created the the creationID asset.

Instance

GetGamePlacesAsync ( )

[Yields]

Returns a StandardPages object which contains the name and placeId of places within the current ‘Game’ (otherwise known as a ‘Universe’).

void

SavePlaceAsync ( )

[Yields]

Saves the state of the current place.

Events