PocketMine
PlayerGameModeChangeEvent Class Reference
Inheritance diagram for PlayerGameModeChangeEvent:
PlayerEvent Cancellable Event

Public Member Functions

 __construct (Player $player, $newGamemode)
 
 getNewGamemode ()
 
- Public Member Functions inherited from PlayerEvent
 getPlayer ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($value=true)
 

Static Public Attributes

static $handlerList = null
 

Protected Attributes

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

Detailed Description

Called when a player has its gamemode changed


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