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

Public Member Functions

 __construct (private string $name, private array $values,)
 
 getName ()
 
 getValues ()
 

Detailed Description

Definition at line 17 of file CommandHardEnum.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\command\CommandHardEnum::__construct ( private string $name,
private array $values )
Parameters
string[] | ConstrainedEnumValue[]$values@phpstan-param list<string|ConstrainedEnumValue> $values

Definition at line 22 of file CommandHardEnum.php.

Member Function Documentation

◆ getName()

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

Definition at line 33 of file CommandHardEnum.php.

◆ getValues()

pocketmine\network\mcpe\protocol\types\command\CommandHardEnum::getValues ( )
Returns
string[]|ConstrainedEnumValue[] @phpstan-return list<string|ConstrainedEnumValue>

Definition at line 41 of file CommandHardEnum.php.


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