PHP Class pocketmine\event\player\PlayerGameModeChangeEvent

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

Public Properties

Property Type Description
$handlerList

Protected Properties

Property Type Description
$gamemode integer

Public Methods

Method Description
__construct ( Player $player, $newGamemode )
getNewGamemode ( )

Method Details

__construct() public method

public __construct ( Player $player, $newGamemode )
$player pocketmine\Player

getNewGamemode() public method

public getNewGamemode ( )

Property Details

$gamemode protected property

protected int $gamemode
return integer

$handlerList public static property

public static $handlerList