PocketMine
InventoryTransactionEvent Class Reference
Inheritance diagram for InventoryTransactionEvent:
Event Cancellable

Public Member Functions

 __construct (TransactionGroup $ts)
 
 getTransaction ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($value=true)
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

- Protected Attributes inherited from Event
 $eventName = null
 

Detailed Description

Called when there is a transaction between two Inventory objects. The source of this can be a Player, entities, mobs, or even hoppers in the future!

Constructor & Destructor Documentation

__construct ( TransactionGroup  $ts)
Parameters
TransactionGroup$ts

Member Function Documentation

getTransaction ( )
Returns
TransactionGroup

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