PocketMine-MP 5.28.3 git-a4ac28592c6c5f5876927aa2a140b65dad63d786
|
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.