◆ __construct()
__construct |
( |
Human |
$human, |
|
|
float |
$amount, |
|
|
int |
$cause |
|
) |
| |
PlayerExhaustEvent constructor.
- Parameters
-
Human | $human | |
float | $amount | |
int | $cause | |
55 $this->player = $human;
56 $this->amount = $amount;
◆ getAmount()
◆ getPlayer()
◆ setAmount()
setAmount |
( |
float |
$amount | ) |
|
- Parameters
-
77 $this->amount = $amount;
◆ $handlerList
◆ CAUSE_ATTACK
◆ CAUSE_CUSTOM
◆ CAUSE_DAMAGE
◆ CAUSE_FLAG_SPRINT
const CAUSE_FLAG_SPRINT = 0x10000 |
◆ CAUSE_HEALTH_REGEN
const CAUSE_HEALTH_REGEN = 4 |
◆ CAUSE_JUMPING
◆ CAUSE_MINING
◆ CAUSE_POTION
◆ CAUSE_SNEAKING
◆ CAUSE_SWIMMING
◆ CAUSE_WALKING
The documentation for this class was generated from the following file:
- src/pocketmine/event/player/PlayerExhaustEvent.php