Show raw api
{
"functions": [
{
"name": "new",
"desc": "Constructs a new AvatarEditorInventory",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "AvatarEditorInventory"
}
],
"function_type": "static",
"source": {
"line": 33,
"path": "src/avatareditorutils/src/Client/AvatarEditorInventory.lua"
}
},
{
"name": "PromiseProcessPages",
"desc": "Processes the pages and stores the asset data in the inventory.",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "AvatarEditorInventory"
},
{
"name": "inventoryPages",
"desc": "",
"lua_type": "Pages"
}
],
"returns": [
{
"desc": "",
"lua_type": "Promise.Promise<()>"
}
],
"function_type": "static",
"source": {
"line": 46,
"path": "src/avatareditorutils/src/Client/AvatarEditorInventory.lua"
}
},
{
"name": "IsAssetIdInInventory",
"desc": "Returns the asset data for the given assetId.",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "AvatarEditorInventory"
},
{
"name": "assetId",
"desc": "",
"lua_type": "number"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 78,
"path": "src/avatareditorutils/src/Client/AvatarEditorInventory.lua"
}
},
{
"name": "ObserveAssetIdInInventory",
"desc": "Observes the assetId in the inventory. Returns true if it is in the inventory.",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "AvatarEditorInventory"
},
{
"name": "assetId",
"desc": "",
"lua_type": "number"
}
],
"returns": [
{
"desc": "",
"lua_type": "Observable<AssetData>"
}
],
"function_type": "static",
"source": {
"line": 87,
"path": "src/avatareditorutils/src/Client/AvatarEditorInventory.lua"
}
}
],
"properties": [],
"types": [],
"name": "AvatarEditorInventory",
"desc": "",
"source": {
"line": 5,
"path": "src/avatareditorutils/src/Client/AvatarEditorInventory.lua"
}
}