PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
|
Public Member Functions | |
__construct (private string $enumName, private array $enumValues, private bool $isSoft=false) | |
getName () | |
getValues () | |
isSoft () | |
Definition at line 17 of file CommandEnum.php.
pocketmine\network\mcpe\protocol\types\command\CommandEnum::__construct | ( | private string | $enumName, |
private array | $enumValues, | ||
private bool | $isSoft = false |
||
) |
string[] | $enumValues | |
bool | $isSoft | Whether the enum is dynamic, i.e. can be updated during the game session |
@phpstan-param list<string> $enumValues
Definition at line 24 of file CommandEnum.php.
pocketmine\network\mcpe\protocol\types\command\CommandEnum::getName | ( | ) |
Definition at line 30 of file CommandEnum.php.
pocketmine\network\mcpe\protocol\types\command\CommandEnum::getValues | ( | ) |
Definition at line 38 of file CommandEnum.php.
Referenced by pocketmine\network\mcpe\protocol\types\command\CommandEnumConstraint\__construct().
pocketmine\network\mcpe\protocol\types\command\CommandEnum::isSoft | ( | ) |
Definition at line 45 of file CommandEnum.php.