|
| static | allFields (string $paramName, int $paramType, bool $isOptional, int $flags, CommandHardEnum|CommandSoftEnum|null $enum, ?string $postfix) |
| |
| static | enum (string $name, CommandHardEnum $enum, int $flags, bool $optional=false) |
| |
| static | postfixed (string $name, string $postfix, int $flags=0, bool $optional=false) |
| |
| static | softEnum (string $name, CommandSoftEnum $enum, int $flags, bool $optional=false) |
| |
| static | standard (string $name, int $type, int $flags=0, bool $optional=false) |
| |
Definition at line 17 of file CommandParameter.php.
◆ allFields()
| static pocketmine\network\mcpe\protocol\types\command\CommandParameter::allFields |
( |
string | $paramName, |
|
|
int | $paramType, |
|
|
bool | $isOptional, |
|
|
int | $flags, |
|
|
CommandHardEnum|CommandSoftEnum|null | $enum, |
|
|
?string | $postfix ) |
|
static |
◆ enum()
| static pocketmine\network\mcpe\protocol\types\command\CommandParameter::enum |
( |
string | $name, |
|
|
CommandHardEnum | $enum, |
|
|
int | $flags, |
|
|
bool | $optional = false ) |
|
static |
◆ postfixed()
| static pocketmine\network\mcpe\protocol\types\command\CommandParameter::postfixed |
( |
string | $name, |
|
|
string | $postfix, |
|
|
int | $flags = 0, |
|
|
bool | $optional = false ) |
|
static |
◆ softEnum()
| static pocketmine\network\mcpe\protocol\types\command\CommandParameter::softEnum |
( |
string | $name, |
|
|
CommandSoftEnum | $enum, |
|
|
int | $flags, |
|
|
bool | $optional = false ) |
|
static |
◆ standard()
| static pocketmine\network\mcpe\protocol\types\command\CommandParameter::standard |
( |
string | $name, |
|
|
int | $type, |
|
|
int | $flags = 0, |
|
|
bool | $optional = false ) |
|
static |
◆ $enum
◆ $flags
| int pocketmine\network\mcpe\protocol\types\command\CommandParameter::$flags = 0 |
◆ $isOptional
| bool pocketmine\network\mcpe\protocol\types\command\CommandParameter::$isOptional |
◆ $paramName
| string pocketmine\network\mcpe\protocol\types\command\CommandParameter::$paramName |
◆ $paramType
| int pocketmine\network\mcpe\protocol\types\command\CommandParameter::$paramType |
◆ $postfix
| string pocketmine\network\mcpe\protocol\types\command\CommandParameter::$postfix = null |
◆ FLAG_FORCE_COLLAPSE_ENUM
| const pocketmine\network\mcpe\protocol\types\command\CommandParameter::FLAG_FORCE_COLLAPSE_ENUM = 0x1 |
◆ FLAG_HAS_ENUM_CONSTRAINT
| const pocketmine\network\mcpe\protocol\types\command\CommandParameter::FLAG_HAS_ENUM_CONSTRAINT = 0x2 |
The documentation for this class was generated from the following file: