PocketMine-MP 5.23.3 git-976fc63567edab7a6fb6aeae739f43cf9fe57de4
|
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 84 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::__construct | ( | private Server | $server | ) |
Definition at line 92 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::clearCommands | ( | ) |
Implements pocketmine\command\CommandMap.
Definition at line 233 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::dispatch | ( | CommandSender | $sender, |
string | $commandLine ) |
Implements pocketmine\command\CommandMap.
Definition at line 209 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::getCommand | ( | string | $name | ) |
Implements pocketmine\command\CommandMap.
Definition at line 241 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::getCommands | ( | ) |
Definition at line 249 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::register | ( | string | $fallbackPrefix, |
Command | $command, | ||
?string | $label = null ) |
Implements pocketmine\command\CommandMap.
Definition at line 148 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::registerAll | ( | string | $fallbackPrefix, |
array | $commands ) |
Command[] | $commands |
Implements pocketmine\command\CommandMap.
Definition at line 142 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::registerServerAliases | ( | ) |
Definition at line 253 of file SimpleCommandMap.php.
pocketmine\command\SimpleCommandMap::unregister | ( | Command | $command | ) |
Definition at line 178 of file SimpleCommandMap.php.
|
protected |
Definition at line 90 of file SimpleCommandMap.php.