HISP/Horse Isle Server/Horse Isle Server/IInventory.cs
2020-10-22 19:46:17 +13:00

35 lines
585 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Horse_Isle_Server
{
class InventoryItem
{
public InventoryItem()
{
ItemInstances = new List<ItemInstance>();
}
public int ItemId;
public List<ItemInstance> ItemInstances;
}
interface IInventory
{
void Add(ItemInstance item);
void Remove(ItemInstance item);
int Count
{
get;
}
InventoryItem[] GetItemList();
}
}