Definition at line 31 of file CommandSender.php.
◆ addAttachment()
pocketmine\permission\Permissible::addAttachment |
( |
Plugin | $plugin, |
|
|
?string | $name = null, |
|
|
?bool | $value = null ) |
|
inherited |
◆ getEffectivePermissions()
pocketmine\permission\Permissible::getEffectivePermissions |
( |
| ) |
|
|
inherited |
◆ getName()
pocketmine\command\CommandSender::getName |
( |
| ) |
|
◆ getPermissionRecalculationCallbacks()
pocketmine\permission\Permissible::getPermissionRecalculationCallbacks |
( |
| ) |
|
|
inherited |
◆ getScreenLineHeight()
pocketmine\command\CommandSender::getScreenLineHeight |
( |
| ) |
|
◆ hasPermission()
pocketmine\permission\Permissible::hasPermission |
( |
Permission|string | $name | ) |
|
|
inherited |
◆ isPermissionSet()
pocketmine\permission\Permissible::isPermissionSet |
( |
Permission|string | $name | ) |
|
|
inherited |
◆ recalculatePermissions()
pocketmine\permission\Permissible::recalculatePermissions |
( |
| ) |
|
|
inherited |
◆ sendMessage()
pocketmine\command\CommandSender::sendMessage |
( |
Translatable|string | $message | ) |
|
◆ setBasePermission()
pocketmine\permission\Permissible::setBasePermission |
( |
Permission|string | $name, |
|
|
bool | $grant ) |
|
inherited |
Assigns a baseline permission to the permissible. This is always calculated before anything else, which means that permissions set using addAttachment() will always override base permissions. You probably don't want to use this if you're not assigning (denying) operator permissions.
Implemented in pocketmine\permission\PermissibleInternal.
◆ setScreenLineHeight()
pocketmine\command\CommandSender::setScreenLineHeight |
( |
?int | $height | ) |
|
◆ unsetBasePermission()
pocketmine\permission\Permissible::unsetBasePermission |
( |
Permission|string | $name | ) |
|
|
inherited |
Unsets a baseline permission previously set. If it wasn't already set, this will have no effect. Note that this might have different results than setting the permission to false.
Implemented in pocketmine\permission\PermissibleInternal.
The documentation for this interface was generated from the following file: