Show raw api
{
"functions": [
{
"name": "new",
"desc": "",
"params": [
{
"name": "config",
"desc": "",
"lua_type": "table"
}
],
"returns": [
{
"desc": "",
"lua_type": "CreatorPermissionProvider"
}
],
"function_type": "static",
"source": {
"line": 26,
"path": "src/permissionprovider/src/Server/Providers/CreatorPermissionProvider.lua"
}
},
{
"name": "PromiseIsPermissionLevel",
"desc": "Returns whether the player is at a specific permission level.",
"params": [
{
"name": "player",
"desc": "",
"lua_type": "Player"
},
{
"name": "permissionLevel",
"desc": "",
"lua_type": "PermissionLevel"
}
],
"returns": [
{
"desc": "",
"lua_type": "Promise<boolean>"
}
],
"function_type": "method",
"source": {
"line": 42,
"path": "src/permissionprovider/src/Server/Providers/CreatorPermissionProvider.lua"
}
}
],
"properties": [],
"types": [],
"name": "CreatorPermissionProvider",
"desc": "Provides permissions from a single user creator",
"realm": [
"Server"
],
"source": {
"line": 7,
"path": "src/permissionprovider/src/Server/Providers/CreatorPermissionProvider.lua"
}
}