public virtual bool RemoveItem(AInventoryItem item) { if (!Items.Remove(item)) { return(false); } OnRemoveItemEvents.Invoke(); return(true); }
////////// Item Management ////////// public virtual bool AddItem(AInventoryItem item) { if (Size == Capacity) { return(false); } Items.Add(item); OnAddItemEvents.Invoke(); return(true); }
////////// Research ////////// public bool Contains(AInventoryItem item) { return(Items.Contains(item)); }