PHP Class pocketmine\event\player\PlayerCommandPreprocessEvent

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
Inheritance: extends PlayerEvent, implements pocketmine\event\Cancellable
Afficher le fichier Open project: ClearSkyTeam/ClearSky Class Usage Examples

Méthodes publiques

Свойство Type Description
$handlerList

Protected Properties

Свойство Type Description
$message string

Méthodes publiques

Méthode Description
__construct ( Player $player, string $message )
getMessage ( ) : string
setMessage ( string $message )
setPlayer ( Player $player )

Method Details

__construct() public méthode

public __construct ( Player $player, string $message )
$player pocketmine\Player
$message string

getMessage() public méthode

public getMessage ( ) : string
Résultat string

setMessage() public méthode

public setMessage ( string $message )
$message string

setPlayer() public méthode

public setPlayer ( Player $player )
$player pocketmine\Player

Property Details

$handlerList public_oe static_oe property

public static $handlerList

$message protected_oe property

protected string $message
Résultat string