GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
PlayerPickupExpOrbEvent Class Reference

Public Member Functions

 __construct (Player $p, int $amount=0)
 
 getAmount ()
 
 setAmount (int $amount)
 
- Public Member Functions inherited from PlayerEvent
 getPlayer ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($forceCancel=false)
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ __construct()

__construct ( Player  $p,
int  $amount = 0 
)

PlayerPickupExpOrbEvent constructor.

Parameters
Player$p
int$amount
38  {
39  $this->player = $p;
40  $this->amount = $amount;
41  }

Member Function Documentation

◆ getAmount()

getAmount ( )
Returns
int
46  : int{
47  return $this->amount;
48  }

◆ setAmount()

setAmount ( int  $amount)
Parameters
int$amount
53  {
54  $this->amount = $amount;
55  }

Field Documentation

◆ $handlerList

$handlerList = null
static

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