Show raw api
{
"functions": [
{
"name": "promiseAssetIdsForPackage",
"desc": "Retrieves the assetIds for a package",
"params": [
{
"name": "packageAssetId",
"desc": "",
"lua_type": "number"
}
],
"returns": [
{
"desc": "",
"lua_type": "Promise<table>"
}
],
"function_type": "static",
"source": {
"line": 20,
"path": "src/assetserviceutils/src/Shared/AssetServiceUtils.lua"
}
},
{
"name": "promiseGamePlaces",
"desc": "Gets the places and their name for the current game.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Pages"
}
],
"function_type": "static",
"source": {
"line": 46,
"path": "src/assetserviceutils/src/Shared/AssetServiceUtils.lua"
}
},
{
"name": "promiseBundleDetails",
"desc": "Gets the bundle details",
"params": [
{
"name": "bundleId",
"desc": "",
"lua_type": "number"
}
],
"returns": [
{
"desc": "",
"lua_type": "BundleDetails"
}
],
"function_type": "static",
"source": {
"line": 93,
"path": "src/assetserviceutils/src/Shared/AssetServiceUtils.lua"
}
}
],
"properties": [],
"types": [
{
"name": "BundleDetailsItem",
"desc": "Details for a specific bundle item",
"fields": [
{
"name": "Id",
"lua_type": "number",
"desc": "Item's id"
},
{
"name": "Name",
"lua_type": "string",
"desc": "Item name"
},
{
"name": "Type",
"lua_type": "string",
"desc": "Item Type eg: \"UserOutfit\" or \"Asset\""
}
],
"source": {
"line": 74,
"path": "src/assetserviceutils/src/Shared/AssetServiceUtils.lua"
}
},
{
"name": "BundleDetails",
"desc": "Details for the bundle",
"fields": [
{
"name": "Id",
"lua_type": "number",
"desc": "Bundle Id (passed in as an argument)"
},
{
"name": "Name",
"lua_type": "string",
"desc": "Bundle name"
},
{
"name": "Description",
"lua_type": "string",
"desc": "Bundle description"
},
{
"name": "BundleType",
"lua_type": "string",
"desc": "Bundle Type. eg. BodyParts or `AvatarAnimation|AvatarAnimations`"
},
{
"name": "Items",
"lua_type": "{ BundleDetailsItem }",
"desc": "An array of ValueTable objects"
}
],
"source": {
"line": 86,
"path": "src/assetserviceutils/src/Shared/AssetServiceUtils.lua"
}
}
],
"name": "AssetServiceUtils",
"desc": "Utility methods involving the AssetService",
"source": {
"line": 5,
"path": "src/assetserviceutils/src/Shared/AssetServiceUtils.lua"
}
}