PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\command\CommandPermissions Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\command\CommandPermissions:

Static Public Member Functions

static fromName (string $name)
 
static toName (int $value)
 

Public Attributes

const AUTOMATION = 2
 
const HOST = 3
 
const INTERNAL = 5
 
const NORMAL = 0
 
const OPERATOR = 1
 
const OWNER = 4
 

Detailed Description

Definition at line 19 of file CommandPermissions.php.

Member Function Documentation

◆ fromName()

static pocketmine\network\mcpe\protocol\types\command\CommandPermissions::fromName ( string $name)
static

Definition at line 44 of file CommandPermissions.php.

◆ toName()

static pocketmine\network\mcpe\protocol\types\command\CommandPermissions::toName ( int $value)
static

Definition at line 40 of file CommandPermissions.php.

Member Data Documentation

◆ AUTOMATION

const pocketmine\network\mcpe\protocol\types\command\CommandPermissions::AUTOMATION = 2

Definition at line 26 of file CommandPermissions.php.

◆ HOST

const pocketmine\network\mcpe\protocol\types\command\CommandPermissions::HOST = 3

Definition at line 27 of file CommandPermissions.php.

◆ INTERNAL

const pocketmine\network\mcpe\protocol\types\command\CommandPermissions::INTERNAL = 5

Definition at line 29 of file CommandPermissions.php.

◆ NORMAL

const pocketmine\network\mcpe\protocol\types\command\CommandPermissions::NORMAL = 0

Definition at line 24 of file CommandPermissions.php.

◆ OPERATOR

const pocketmine\network\mcpe\protocol\types\command\CommandPermissions::OPERATOR = 1

Definition at line 25 of file CommandPermissions.php.

◆ OWNER

const pocketmine\network\mcpe\protocol\types\command\CommandPermissions::OWNER = 4

Definition at line 28 of file CommandPermissions.php.


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