Пример #1
0
 /// <summary>
 /// Constructor for an item in the player's inventory.
 /// </summary>
 /// <param name="item"></param>
 public ItemLocation(Objects.Item item)
 {
     this.WorldLocation = item.ToLocation();
     this.ItemID = item.ID;
     this.ItemCount = item.Count;
     this.StackIndex = item.Slot;
 }