Метод | Описание | |
---|---|---|
addAttachment ( pocketmine\plugin\Plugin $plugin, string $name = null, boolean $value = null ) : |
||
getEffectivePermissions ( ) : |
||
hasPermission ( string | |
Returns the permission value if overridden, or the default value if not | |
isPermissionSet ( string | |
Checks if this instance has a permission overridden | |
recalculatePermissions ( ) : void | ||
removeAttachment ( |
public addAttachment ( pocketmine\plugin\Plugin $plugin, string $name = null, boolean $value = null ) : |
||
$plugin | pocketmine\plugin\Plugin | |
$name | string | |
$value | boolean | |
Результат |
public getEffectivePermissions ( ) : |
||
Результат |
public hasPermission ( string | |
||
$name | string | |
|
Результат | mixed |
public isPermissionSet ( string | |
||
$name | string | |
|
Результат | boolean |
public removeAttachment ( |
||
$attachment | ||
Результат | void |