How to design looting other inventories in my inventory system?

I have my inventory system with build with OOP, so basicly I have class of “Inventory” thing with slot classes and item classes, and “InventoryManager” which module with all functions, which can add item with InventoryManager.Add(inventory, itemName, amount) InventoryManager.Move(inventory1, inventory2, slotIndex1, slotIndex2) Now I need to know how to design looting, so let’s say I have shared table with all players inventories and crates which have binded inventory to their instance in other shared table. Any ideas?

is there a way to store item like a chest sort of thing because that would be simple to implement at least i think