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

Public Member Functions

 __construct (Player $player, $achievementId)
 
 getAchievement ()
 
- 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

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

Detailed Description

Called when a player is awarded an achievement

Constructor & Destructor Documentation

__construct ( Player  $player,
  $achievementId 
)
Parameters
Player$player
string$achievementId

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