Метод | Описание | |
---|---|---|
__construct ( pocketmine\permission\ServerOperator $opable ) | ||
__destruct ( ) | ||
addAttachment ( pocketmine\plugin\Plugin $plugin, string $name = null, boolean $value = null ) : |
TODO: tick scheduled attachments | |
clearPermissions ( ) | ||
getEffectivePermissions ( ) : |
||
hasPermission ( |
||
isOp ( ) : boolean | ||
isPermissionSet ( |
||
recalculatePermissions ( ) | ||
removeAttachment ( |
||
setOp ( boolean $value ) |
Метод | Описание | |
---|---|---|
calculateChildPermissions ( array $children, boolean $invert, |
public __construct ( pocketmine\permission\ServerOperator $opable ) | ||
$opable | pocketmine\permission\ServerOperator |
public addAttachment ( pocketmine\plugin\Plugin $plugin, string $name = null, boolean $value = null ) : |
||
$plugin | pocketmine\plugin\Plugin | |
$name | string | |
$value | boolean | |
Результат |
public getEffectivePermissions ( ) : |
||
Результат |
public hasPermission ( |
||
$name | ||
Результат | boolean |
public isPermissionSet ( |
||
$name | ||
Результат | boolean |
public removeAttachment ( |
||
$attachment |