PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
InventoryTransactionEvent.php
1 <?php
2 
22 namespace pocketmine\event\inventory;
23 
27 
32 class InventoryTransactionEvent extends Event implements Cancellable{
33  public static $handlerList = null;
34  public static $eventPool = [];
35  public static $nextEvent = 0;
36 
38  private $ts;
39 
43  public function __construct(TransactionGroup $ts){
44  $this->ts = $ts;
45  }
46 
50  public function getTransaction(){
51  return $this->ts;
52  }
53 
54 }