HISP/HorseIsleServer/LibHISP/Game/Inventory/IInventory.cs
2022-07-25 19:16:21 +12:00

27 lines
455 B
C#
Executable file

using HISP.Game.Items;
namespace HISP.Game.Inventory
{
interface IInventory
{
void Add(ItemInstance item);
void Remove(ItemInstance item);
int Count
{
get;
}
InventoryItem[] GetItemList();
bool HasItem(int randomId);
bool HasItemId(int itemId);
InventoryItem GetItemByItemId(int itemId);
InventoryItem GetItemByRandomid(int randomId);
}
}