PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
pocketmine\command\CommandMap Interface Reference
+ Inheritance diagram for pocketmine\command\CommandMap:
+ Collaboration diagram for pocketmine\command\CommandMap:

Public Member Functions

 clearCommands ()
 
 dispatch (CommandSender $sender, string $cmdLine)
 
 getCommand (string $name)
 
 register (string $fallbackPrefix, Command $command, ?string $label=null)
 
 registerAll (string $fallbackPrefix, array $commands)
 

Detailed Description

Definition at line 26 of file CommandMap.php.

Member Function Documentation

◆ registerAll()

pocketmine\command\CommandMap::registerAll ( string $fallbackPrefix,
array $commands )
Parameters
Command[]$commands

Implemented in pocketmine\command\SimpleCommandMap.


The documentation for this interface was generated from the following file: