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 bool Sort(EquipableItem currentWeapon, EquipableItem currentArmor, EquipableItem currentAccessory, EquipableItem ammo); public bool AtCapacity(); public event Action BroadcastMessage; public event Action InventoryChanged; }