PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\permission\ServerOperator Interface Reference
+ Inheritance diagram for pocketmine\permission\ServerOperator:
+ Collaboration diagram for pocketmine\permission\ServerOperator:

Public Member Functions

 isOp ()
 
 setOp ($value)
 

Detailed Description

Definition at line 25 of file ServerOperator.php.

Member Function Documentation

pocketmine\permission\ServerOperator::isOp ( )

Checks if the current object has operator permissions

Returns
bool

Implemented in pocketmine\Player, pocketmine\command\ConsoleCommandSender, pocketmine\OfflinePlayer, and pocketmine\permission\PermissibleBase.

pocketmine\permission\ServerOperator::setOp (   $value)

Sets the operator permission for the current object

Parameters
bool$value
Returns
void

Implemented in pocketmine\Player, pocketmine\command\ConsoleCommandSender, pocketmine\permission\PermissibleBase, and pocketmine\OfflinePlayer.


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