PocketMine-MP 5.27.2 git-835c383d4e126df6f38000e3217ad6a325b7a1f7
|
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.