PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
|
Namespaces | |
namespace | block |
namespace | entity |
namespace | inventory |
namespace | player |
namespace | plugin |
namespace | server |
namespace | world |
Classes | |
interface | Cancellable |
class | Event |
class | EventPriority |
class | HandlerList |
class | HandlerListManager |
interface | Listener |
class | ListenerMethodTags |
class | RegisteredListener |
class | RegisteredListenerCache |
Functions | |
cancel () | |
isCancelled () | |
uncancel () | |
Variables | |
trait | CancellableTrait |
Event related classes
pocketmine\event\cancel | ( | ) |
Definition at line 42 of file CancellableTrait.php.
pocketmine\event\isCancelled | ( | ) |
Definition at line 38 of file CancellableTrait.php.
pocketmine\event\uncancel | ( | ) |
Definition at line 46 of file CancellableTrait.php.
trait pocketmine::event\CancellableTrait |
This trait provides a basic boolean-setter-style implementation for Cancellable
to reduce boilerplate. The precise meaning of setCancelled
is subject to definition by the class using this trait.
Implementors of Cancellable
are not required to use this trait.
Definition at line 34 of file CancellableTrait.php.