PocketMine
|
Public Member Functions | |
__construct (CommandSender $sender, $command) | |
getSender () | |
getCommand () | |
setCommand ($command) | |
Public Member Functions inherited from Event | |
getEventName () | |
getHandlers () | |
Public Member Functions inherited from Cancellable | |
isCancelled () | |
setCancelled ($value=true) | |
Static Public Attributes | |
static | $handlerList = null |
Protected Attributes | |
$command | |
$sender | |
Protected Attributes inherited from Event | |
$eventName = null | |
Called when the console runs a command, early in the process
You don't want to use this except for a few cases like logging commands, blocking commands on certain places, or applying modifiers.
The message contains a slash at the start
__construct | ( | CommandSender | $sender, |
$command | |||
) |
CommandSender | $sender | |
string | $command |
getCommand | ( | ) |
getSender | ( | ) |
setCommand | ( | $command | ) |
string | $command |