PHP Class pocketmine\event\player\PlayerExhaustEvent

Inheritance: extends PlayerEvent, implements pocketmine\event\Cancellable
Show file Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Human $human, float $amount, integer $cause )
getAmount ( ) : float
getPlayer ( ) : Human | Player
setAmount ( float $amount )

Method Details

__construct() public method

public __construct ( Human $human, float $amount, integer $cause )
$human pocketmine\entity\Human
$amount float
$cause integer

getAmount() public method

public getAmount ( ) : float
return float

getPlayer() public method

public getPlayer ( ) : Human | Player
return pocketmine\entity\Human | pocketmine\Player

setAmount() public method

public setAmount ( float $amount )
$amount float

Property Details

$handlerList public static property

public static $handlerList