示例#1
0
 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);
 }
示例#2
0
        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();
        }
示例#3
0
        public Gem(JSONProxy.Item item) : base(item)
        {
            Properties = ProxyMapper.GetProperties(item.Properties);
            ItemType   = ItemType.Gem;

            Level = getLevel();

            ExtractGemExperience(item);
        }
示例#4
0
        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();
        }
示例#5
0
        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();
        }