Show raw api
{
"functions": [
{
"name": "GetPlayer",
"desc": "Gets the current player",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Player"
}
],
"function_type": "method",
"source": {
"line": 31,
"path": "src/gameproductservice/src/Shared/Manager/PlayerProductManagerBase.lua"
}
},
{
"name": "ObservePlayerOwnsPass",
"desc": "Observes whether the player owns the current pass or not.",
"params": [
{
"name": "gamePassId",
"desc": "",
"lua_type": "number"
}
],
"returns": [
{
"desc": "",
"lua_type": "Observable<boolean>"
}
],
"function_type": "method",
"source": {
"line": 133,
"path": "src/gameproductservice/src/Shared/Manager/PlayerProductManagerBase.lua"
}
},
{
"name": "PromisePlayerOwnsPass",
"desc": "Promises whether the player owns the current pass or not.",
"params": [
{
"name": "gamePassId",
"desc": "",
"lua_type": "number"
}
],
"returns": [
{
"desc": "",
"lua_type": "Promise<boolean>"
}
],
"function_type": "method",
"source": {
"line": 156,
"path": "src/gameproductservice/src/Shared/Manager/PlayerProductManagerBase.lua"
}
}
],
"properties": [],
"types": [],
"name": "PlayerProductManagerBase",
"desc": "",
"source": {
"line": 4,
"path": "src/gameproductservice/src/Shared/Manager/PlayerProductManagerBase.lua"
}
}