HISP/Horse Isle Server/HorseIsleServer/Game/ItemInstance.cs
2021-01-28 20:56:27 +13:00

26 lines
427 B
C#

using HISP.Security;
namespace HISP.Game
{
class ItemInstance
{
public int RandomId;
public int ItemId;
public Item.ItemInformation GetItemInfo()
{
return Item.GetItemById(ItemId);
}
public ItemInstance(int id,int randomId = -1)
{
RandomId = RandomID.NextRandomId(randomId);
ItemId = id;
}
}
}