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

Public Member Functions

 __construct (Inventory $inventory, Player $who)
 
 getPlayer ()
 
- Public Member Functions inherited from InventoryEvent
 __construct (Inventory $inventory)
 
 getInventory ()
 
 getViewers ()
 
- 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 InventoryEvent
 $inventory
 
- Protected Attributes inherited from Event
 $eventName = null
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( Inventory  $inventory,
Player  $who 
)
Parameters
Inventory$inventory
Player$who
38  {
39  $this->who = $who;
40  parent::__construct($inventory);
41  }

Member Function Documentation

◆ getPlayer()

getPlayer ( )
Returns
Player
46  {
47  return $this->who;
48  }

Field Documentation

◆ $handlerList

$handlerList = null
static

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