namespace Zennysoft.Ma.Adapter; public interface IInventory { public bool PickUpItem(InventoryItem item); public List Items { get; } public bool TryAdd(InventoryItem inventoryItem); public bool TryInsert(InventoryItem inventoryItem, int index); public void Remove(InventoryItem inventoryItem); public void Sort(EquipableItem currentWeapon, EquipableItem currentArmor, EquipableItem currentAccessory); public event Action BroadcastMessage; public event Action InventoryChanged; }