1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-09-30 15:15:56 -04:00
OpenDiablo2/OpenDiablo2.Common/Models/Item/ItemInstance.cs
Diego M 443fea069d
Inventory based on hero type (#43)
* (Try to) Render inventory based on initial equipment for each hero type
2018-12-11 02:25:41 -03:00

26 lines
632 B
C#

using OpenDiablo2.Common.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenDiablo2.Common.Models
{
/**
* Base Item class, contains common attributes for all item types.
**/
public class ItemInstance : IItemInstance
{
public Item Item { get; internal set; }
public string Name { get; internal set; }
public int Level { get; internal set; }
public bool Identified { get; internal set; }
public ItemInstance(Item item)
{
Item = item;
}
}
}