|
static | enum (string $name, CommandEnum $enum, int $flags, bool $optional=false) |
|
static | postfixed (string $name, string $postfix, int $flags=0, bool $optional=false) |
|
static | standard (string $name, int $type, int $flags=0, bool $optional=false) |
|
Definition at line 19 of file CommandParameter.php.
◆ enum()
static pocketmine\network\mcpe\protocol\types\command\CommandParameter::enum |
( |
string | $name, |
|
|
CommandEnum | $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 |
◆ standard()
static pocketmine\network\mcpe\protocol\types\command\CommandParameter::standard |
( |
string | $name, |
|
|
int | $type, |
|
|
int | $flags = 0, |
|
|
bool | $optional = false ) |
|
static |
◆ $enum
CommandEnum pocketmine\network\mcpe\protocol\types\command\CommandParameter::$enum = null |
◆ $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: