|
PocketMine-MP 5.37.2 git-e507eb5e50da3ead3ae88ed2324df21e75820019
|
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 |