PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
InventoryCloseEvent.php
1 <?php
2 
22 namespace pocketmine\event\inventory;
23 
26 
28  public static $handlerList = null;
29  public static $eventPool = [];
30  public static $nextEvent = 0;
31 
33  private $who;
34 
39  public function __construct(Inventory $inventory, Player $who){
40  $this->who = $who;
41  parent::__construct($inventory);
42  }
43 
47  public function getPlayer(){
48  return $this->who;
49  }
50 
51 }
__construct(Inventory $inventory, Player $who)