namespace Zennysoft.Ma.Adapter; public interface IInventory { public bool PickUpItem(IBaseInventoryItem item); public List Items { get; } public bool TryAdd(IBaseInventoryItem inventoryItem); public bool TryInsert(IBaseInventoryItem inventoryItem, int index); public void Remove(IBaseInventoryItem inventoryItem); public bool Sort(IWeapon currentWeapon, IArmor currentArmor, IAccessory currentAccessory, IEquipableItem ammo); public bool AtCapacity(); public event Action BroadcastMessage; public event Action InventoryChanged; }