PHP Class pocketmine\event\player\PlayerExperienceChangeEvent

Inheritance: extends PlayerEvent, implements pocketmine\event\Cancellable
显示文件 Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$expLevel
$handlerList
$progress

Public Methods

Method Description
__construct ( Human $player, integer $expLevel, float $progress )
getAction ( )
getExp ( )
getExpLevel ( )
getProgress ( ) : float
setExp ( $exp )
setExpLevel ( $level )
setProgress ( float $progress )

Method Details

__construct() public method

public __construct ( Human $player, integer $expLevel, float $progress )
$player pocketmine\entity\Human
$expLevel integer
$progress float

getAction() public method

Deprecation: This is redundant, and will be removed in the future.
public getAction ( )

getExp() public method

public getExp ( )

getExpLevel() public method

public getExpLevel ( )

getProgress() public method

public getProgress ( ) : float
return float

setExp() public method

public setExp ( $exp )

setExpLevel() public method

public setExpLevel ( $level )

setProgress() public method

public setProgress ( float $progress )
$progress float

Property Details

$expLevel public_oe property

public $expLevel

$handlerList public_oe static_oe property

public static $handlerList

$progress public_oe property

public $progress