PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
pocketmine\permission\PermissionAttachmentInfo Class Reference
+ Collaboration diagram for pocketmine\permission\PermissionAttachmentInfo:

Public Member Functions

 __construct (private string $permission, private ?PermissionAttachment $attachment, private bool $value, private ?PermissionAttachmentInfo $groupPermission)
 
 getAttachment ()
 
 getGroupPermissionInfo ()
 
 getPermission ()
 
 getValue ()
 

Detailed Description

Definition at line 26 of file PermissionAttachmentInfo.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\permission\PermissionAttachmentInfo::__construct ( private string $permission,
private ?PermissionAttachment $attachment,
private bool $value,
private ?PermissionAttachmentInfo $groupPermission )

Definition at line 27 of file PermissionAttachmentInfo.php.

Member Function Documentation

◆ getAttachment()

pocketmine\permission\PermissionAttachmentInfo::getAttachment ( )

Definition at line 38 of file PermissionAttachmentInfo.php.

◆ getGroupPermissionInfo()

pocketmine\permission\PermissionAttachmentInfo::getGroupPermissionInfo ( )

Returns the info of the permission group that caused this permission to be set, if any. If null, the permission was set explicitly, either by a permission attachment or base permission.

Definition at line 50 of file PermissionAttachmentInfo.php.

◆ getPermission()

pocketmine\permission\PermissionAttachmentInfo::getPermission ( )

Definition at line 34 of file PermissionAttachmentInfo.php.

◆ getValue()

pocketmine\permission\PermissionAttachmentInfo::getValue ( )

Definition at line 42 of file PermissionAttachmentInfo.php.


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