PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
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: