Show raw api
{
"functions": [
{
"name": "new",
"desc": "Constructs a new PlayerProductManagerBase, which provides helper methods for\nthe PlayerProductManager.",
"params": [
{
"name": "player",
"desc": "",
"lua_type": "Player"
},
{
"name": "serviceBag",
"desc": "",
"lua_type": "ServiceBag"
}
],
"returns": [
{
"desc": "",
"lua_type": "PlayerProductManagerBase"
}
],
"function_type": "static",
"source": {
"line": 36,
"path": "src/gameproductservice/src/Shared/Trackers/PlayerProductManagerBase.lua"
}
},
{
"name": "GetPlayer",
"desc": "Gets the current player",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Player"
}
],
"function_type": "method",
"source": {
"line": 130,
"path": "src/gameproductservice/src/Shared/Trackers/PlayerProductManagerBase.lua"
}
},
{
"name": "IsOwnable",
"desc": "Returns true if the asset type can be owned",
"params": [
{
"name": "assetType",
"desc": "",
"lua_type": "GameConfigAssetType"
}
],
"returns": [
{
"desc": "",
"lua_type": "PlayerAssetMarketTracker"
}
],
"function_type": "method",
"source": {
"line": 139,
"path": "src/gameproductservice/src/Shared/Trackers/PlayerProductManagerBase.lua"
}
},
{
"name": "IsPromptOpen",
"desc": "Returns true if any prompt is open",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "method",
"source": {
"line": 150,
"path": "src/gameproductservice/src/Shared/Trackers/PlayerProductManagerBase.lua"
}
},
{
"name": "PromisePlayerPromptClosed",
"desc": "Promises that no prompt is open",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Promise"
}
],
"function_type": "method",
"source": {
"line": 165,
"path": "src/gameproductservice/src/Shared/Trackers/PlayerProductManagerBase.lua"
}
},
{
"name": "GetAssetTrackerOrError",
"desc": "Gets the current asset tracker",
"params": [
{
"name": "assetType",
"desc": "",
"lua_type": "GameConfigAssetType"
}
],
"returns": [
{
"desc": "",
"lua_type": "PlayerAssetMarketTracker"
}
],
"function_type": "method",
"source": {
"line": 206,
"path": "src/gameproductservice/src/Shared/Trackers/PlayerProductManagerBase.lua"
}
},
{
"name": "GetOwnershipTrackerOrError",
"desc": "Gets the current asset tracker",
"params": [
{
"name": "assetType",
"desc": "",
"lua_type": "GameConfigAssetType"
}
],
"returns": [
{
"desc": "",
"lua_type": "PlayerAssetMarketTracker"
}
],
"function_type": "method",
"source": {
"line": 222,
"path": "src/gameproductservice/src/Shared/Trackers/PlayerProductManagerBase.lua"
}
}
],
"properties": [],
"types": [],
"name": "PlayerProductManagerBase",
"desc": "See [PlayerProductManager] and [PlayerProductManagerClient]",
"source": {
"line": 6,
"path": "src/gameproductservice/src/Shared/Trackers/PlayerProductManagerBase.lua"
}
}