PocketMine
PlayerToggleSneakEvent Class Reference
Inheritance diagram for PlayerToggleSneakEvent:
PlayerEvent Cancellable Event

Public Member Functions

 __construct (Player $player, $isSneaking)
 
 isSneaking ()
 
- Public Member Functions inherited from PlayerEvent
 getPlayer ()
 
- 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

 $isSneaking
 
- Protected Attributes inherited from PlayerEvent
 $player
 
- Protected Attributes inherited from Event
 $eventName = null
 

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