PocketMine-MP 5.16.1 git-585aee9386a787c95e73dd0a05ffca8329606b68
pocketmine\network\mcpe\protocol\types\command\CommandData Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\command\CommandData:

Public Member Functions

 __construct (public string $name, public string $description, public int $flags, public int $permission, public ?CommandEnum $aliases, public array $overloads, public array $chainedSubCommandData)
 
 getAliases ()
 
 getChainedSubCommandData ()
 
 getDescription ()
 
 getFlags ()
 
 getName ()
 
 getOverloads ()
 
 getPermission ()
 

Detailed Description

Definition at line 17 of file CommandData.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\command\CommandData::__construct ( public string  $name,
public string  $description,
public int  $flags,
public int  $permission,
public ?CommandEnum  $aliases,
public array  $overloads,
public array  $chainedSubCommandData 
)
Parameters
CommandOverload[]$overloads
ChainedSubCommandData[]$chainedSubCommandData

Definition at line 22 of file CommandData.php.

Member Function Documentation

◆ getAliases()

pocketmine\network\mcpe\protocol\types\command\CommandData::getAliases ( )

Definition at line 51 of file CommandData.php.

◆ getChainedSubCommandData()

pocketmine\network\mcpe\protocol\types\command\CommandData::getChainedSubCommandData ( )
Returns
ChainedSubCommandData[]

Definition at line 65 of file CommandData.php.

◆ getDescription()

pocketmine\network\mcpe\protocol\types\command\CommandData::getDescription ( )

Definition at line 39 of file CommandData.php.

◆ getFlags()

pocketmine\network\mcpe\protocol\types\command\CommandData::getFlags ( )

Definition at line 43 of file CommandData.php.

◆ getName()

pocketmine\network\mcpe\protocol\types\command\CommandData::getName ( )

Definition at line 35 of file CommandData.php.

◆ getOverloads()

pocketmine\network\mcpe\protocol\types\command\CommandData::getOverloads ( )
Returns
CommandOverload[]

Definition at line 58 of file CommandData.php.

◆ getPermission()

pocketmine\network\mcpe\protocol\types\command\CommandData::getPermission ( )

Definition at line 47 of file CommandData.php.


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