GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
InventoryCloseEvent 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 ()
 

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
37  {
38  $this->who = $who;
39  parent::__construct($inventory);
40  }

Member Function Documentation

◆ getPlayer()

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

Field Documentation

◆ $handlerList

$handlerList = null
static

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