PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
Public Member Functions | |
__construct (private Server $server) | |
clearCommands () | |
dispatch (CommandSender $sender, string $commandLine) | |
getCommand (string $name) | |
getCommands () | |
register (string $fallbackPrefix, Command $command, ?string $label=null) | |
registerAll (string $fallbackPrefix, array $commands) | |
registerServerAliases () | |
unregister (Command $command) | |
Protected Attributes | |
array | $knownCommands = [] |
Definition at line 81 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::__construct | ( | private Server | $server | ) |
Definition at line 86 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::clearCommands | ( | ) |
Implements pocketmine\command\CommandMap.
Definition at line 226 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::dispatch | ( | CommandSender | $sender, |
string | $commandLine ) |
Implements pocketmine\command\CommandMap.
Definition at line 202 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::getCommand | ( | string | $name | ) |
Implements pocketmine\command\CommandMap.
Definition at line 234 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::getCommands | ( | ) |
Definition at line 241 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::register | ( | string | $fallbackPrefix, |
Command | $command, | ||
?string | $label = null ) |
Implements pocketmine\command\CommandMap.
Definition at line 141 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::registerAll | ( | string | $fallbackPrefix, |
array | $commands ) |
Command[] | $commands |
Implements pocketmine\command\CommandMap.
Definition at line 135 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::registerServerAliases | ( | ) |
Definition at line 245 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::unregister | ( | Command | $command | ) |
Definition at line 171 of file SimpleCommandMap.php.
|
protected |
Definition at line 84 of file SimpleCommandMap.php.