public Map(JSONProxy.Item item) : base(item) { ItemType = Model.ItemType.Gear; Properties = ProxyMapper.GetProperties(item.Properties); Rarity = getRarity(item); MapTier = int.Parse(Properties.Find(p => p.Name == "Map Tier").Values[0].Item1); }
internal Map(JSONProxy.Item item) : base(item) { this.ItemType = Model.ItemType.Gear; this.Properties = ProxyMapper.GetProperties(item.Properties); this.Rarity = getRarity(item); this.MapTier = int.Parse(Properties.Find(p => p.Name == "Map Tier").Values[0].Item1); this.UniqueIDHash = base.getHash(); }
public Gem(JSONProxy.Item item) : base(item) { Properties = ProxyMapper.GetProperties(item.Properties); ItemType = ItemType.Gem; Level = getLevel(); ExtractGemExperience(item); }
public Gem(JSONProxy.Item item) : base(item) { this.Properties = ProxyMapper.GetProperties(item.Properties); this.ItemType = Model.ItemType.Gem; this.Socket = item.Socket; this.Color = item.Color; this.Requirements = ProxyMapper.GetRequirements(item.Requirements); this.Level = getLevel(); }
public Gem(JSONProxy.Item item) : base(item) { this.Properties = ProxyMapper.GetProperties(item.Properties); this.ItemType = Model.ItemType.Gem; this.Socket = item.Socket; this.Color = item.Color; this.Requirements = ProxyMapper.GetRequirements(item.Requirements); this.UniqueIDHash = base.getHash(); }