PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
pocketmine\permission Namespace Reference

Classes

class  BanEntry
 
class  BanList
 
class  DefaultPermissionNames
 
class  DefaultPermissions
 
interface  Permissible
 
class  PermissibleBase
 
class  PermissibleInternal
 
class  Permission
 
class  PermissionAttachment
 
class  PermissionAttachmentInfo
 
class  PermissionManager
 
class  PermissionParser
 
class  PermissionParserException
 

Functions

 addAttachment (Plugin $plugin, ?string $name=null, ?bool $value=null)
 
 getEffectivePermissions ()
 
 getPermissionRecalculationCallbacks ()
 
 hasPermission (Permission|string $name)
 
 isPermissionSet (Permission|string $name)
 
 recalculatePermissions ()
 
 removeAttachment (PermissionAttachment $attachment)
 
 setBasePermission (Permission|string $name, bool $grant)
 
 unsetBasePermission (Permission|string $name)
 

Variables

trait PermissibleDelegateTrait
 

Detailed Description

Permission related classes

Function Documentation

◆ addAttachment()

pocketmine\permission\addAttachment ( Plugin $plugin,
?string $name = null,
?bool $value = null )

Definition at line 50 of file PermissibleDelegateTrait.php.

◆ getEffectivePermissions()

pocketmine\permission\getEffectivePermissions ( )
Returns
PermissionAttachmentInfo[]

Definition at line 73 of file PermissibleDelegateTrait.php.

◆ getPermissionRecalculationCallbacks()

pocketmine\permission\getPermissionRecalculationCallbacks ( )
Returns
ObjectSet|\Closure[] @phpstan-return ObjectSet<\Closure(array<string, bool> $changedPermissionsOldValues) : void>

Definition at line 66 of file PermissibleDelegateTrait.php.

◆ hasPermission()

pocketmine\permission\hasPermission ( Permission|string $name)

Definition at line 46 of file PermissibleDelegateTrait.php.

◆ isPermissionSet()

pocketmine\permission\isPermissionSet ( Permission|string $name)

Definition at line 42 of file PermissibleDelegateTrait.php.

◆ recalculatePermissions()

pocketmine\permission\recalculatePermissions ( )

Definition at line 58 of file PermissibleDelegateTrait.php.

◆ removeAttachment()

pocketmine\permission\removeAttachment ( PermissionAttachment $attachment)

Definition at line 54 of file PermissibleDelegateTrait.php.

◆ setBasePermission()

pocketmine\permission\setBasePermission ( Permission|string $name,
bool $grant )

Definition at line 34 of file PermissibleDelegateTrait.php.

◆ unsetBasePermission()

pocketmine\permission\unsetBasePermission ( Permission|string $name)

Definition at line 38 of file PermissibleDelegateTrait.php.

Variable Documentation

◆ PermissibleDelegateTrait

trait pocketmine::permission\PermissibleDelegateTrait
Initial value:
{
private $perm

Definition at line 29 of file PermissibleDelegateTrait.php.