Genisys  Genisys API 1.9.3
A server software for Minecraft: Pocket Edition with many features
PlayerExhaustEvent Class Reference
Inheritance diagram for PlayerExhaustEvent:
[legend]
Collaboration diagram for PlayerExhaustEvent:
[legend]

Public Member Functions

 __construct (Human $human, float $amount, int $cause)
 
 getPlayer ()
 
 getAmount ()
 
 setAmount (float $amount)
 
- Public Member Functions inherited from PlayerEvent
 getPlayer ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($forceCancel=false)
 

Data Fields

const CAUSE_ATTACK = 1
 
const CAUSE_DAMAGE = 2
 
const CAUSE_MINING = 3
 
const CAUSE_HEALTH_REGEN = 4
 
const CAUSE_POTION = 5
 
const CAUSE_WALKING = 6
 
const CAUSE_SNEAKING = 7
 
const CAUSE_SWIMMING = 8
 
const CAUSE_JUMPING = 10
 
const CAUSE_CUSTOM = 11
 
const CAUSE_FLAG_SPRINT = 0x10000
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

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

Member Function Documentation

getPlayer ( )
Returns
Human|Player

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