|
PocketMine-MP 5.37.1 git-cef37e7835c666594588f957a47b27d521c6a58e
|
Inheritance diagram for pocketmine\command\SimpleCommandMap:
Collaboration diagram for pocketmine\command\SimpleCommandMap: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.