|
PocketMine-MP 5.37.4 git-0c453f585430c41919390ec01ffeb1e004b5334b
|
Inheritance diagram for pocketmine\inventory\InventoryListener:
Collaboration diagram for pocketmine\inventory\InventoryListener:Public Member Functions | |
| onContentChange (Inventory $inventory, array $oldContents) | |
| onSlotChange (Inventory $inventory, int $slot, Item $oldItem) | |
Classes implementing this interface can be injected into inventories to receive notifications when content changes occur.
Definition at line 34 of file InventoryListener.php.
| pocketmine\inventory\InventoryListener::onContentChange | ( | Inventory | $inventory, |
| array | $oldContents ) |
| Item[] | $oldContents |
Implemented in pocketmine\inventory\CallbackInventoryListener.