| 
    PocketMine-MP 5.37.1 git-cef37e7835c666594588f957a47b27d521c6a58e
    
   | 
 
 Inheritance diagram for pocketmine\event\inventory\InventoryTransactionEvent:
 Collaboration diagram for pocketmine\event\inventory\InventoryTransactionEvent:Public Member Functions | |
| __construct (private InventoryTransaction $transaction) | |
| call () | |
| getEventName () | |
| getTransaction () | |
| isCancelled () | |
Static Public Member Functions | |
| static | hasHandlers () | 
Protected Attributes | |
| string | $eventName = null | 
Called when a player performs actions involving items in inventories.
This may involve multiple inventories, and may include actions such as:
Definition at line 44 of file InventoryTransactionEvent.php.
| pocketmine\event\inventory\InventoryTransactionEvent::__construct | ( | private InventoryTransaction | $transaction | ) | 
Definition at line 47 of file InventoryTransactionEvent.php.
      
  | 
  inherited | 
| pocketmine\event\inventory\InventoryTransactionEvent::getTransaction | ( | ) | 
Definition at line 49 of file InventoryTransactionEvent.php.
      
  | 
  staticinherited | 
      
  | 
  inherited | 
Returns whether this instance of the event is currently cancelled.
If it is cancelled, only downstream handlers that declare @handleCancelled will be called with this event. 
      
  | 
  protectedinherited |