PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\permission\DefaultPermissions Class Reference
+ Collaboration diagram for pocketmine\permission\DefaultPermissions:

Static Public Member Functions

static registerCorePermissions ()
 
static registerPermission (Permission $candidate, array $grantedBy=[], array $deniedBy=[])
 

Public Attributes

const ROOT_CONSOLE = Names::GROUP_CONSOLE
 
const ROOT_OPERATOR = Names::GROUP_OPERATOR
 
const ROOT_USER = Names::GROUP_USER
 

Detailed Description

Definition at line 29 of file DefaultPermissions.php.

Member Function Documentation

◆ registerCorePermissions()

static pocketmine\permission\DefaultPermissions::registerCorePermissions ( )
static

Definition at line 50 of file DefaultPermissions.php.

◆ registerPermission()

static pocketmine\permission\DefaultPermissions::registerPermission ( Permission $candidate,
array $grantedBy = [],
array $deniedBy = [] )
static
Parameters
Permission[]$grantedBy
Permission[]$deniedBy

Definition at line 38 of file DefaultPermissions.php.

Member Data Documentation

◆ ROOT_CONSOLE

const pocketmine\permission\DefaultPermissions::ROOT_CONSOLE = Names::GROUP_CONSOLE

Definition at line 30 of file DefaultPermissions.php.

◆ ROOT_OPERATOR

const pocketmine\permission\DefaultPermissions::ROOT_OPERATOR = Names::GROUP_OPERATOR

Definition at line 31 of file DefaultPermissions.php.

◆ ROOT_USER

const pocketmine\permission\DefaultPermissions::ROOT_USER = Names::GROUP_USER

Definition at line 32 of file DefaultPermissions.php.


The documentation for this class was generated from the following file: