protected new void FetchData()
        {
            var stats = doc.GetXmlElement("stats");

            LastMatch = new CSSLastMatchStats(stats.GetXmlElement("lastmatch"));

            var lifeTimeStats = stats.GetXmlElement("lifetime");
            var summaryStats  = stats.GetXmlElement("summary");

            BlindKills          = int.Parse(lifeTimeStats.GetInnerText("blindkills"));
            BombsDefused        = int.Parse(lifeTimeStats.GetInnerText("bombsdefused"));
            Damage              = int.Parse(lifeTimeStats.GetInnerText("dmg"));
            Deaths              = int.Parse(summaryStats.GetInnerText("deaths"));
            DominationOverKills = int.Parse(lifeTimeStats.GetInnerText("dominationoverkills"));
            Dominations         = int.Parse(lifeTimeStats.GetInnerText("dominations"));
            EarnedMoney         = int.Parse(lifeTimeStats.GetInnerText("money"));
            Hits              = int.Parse(summaryStats.GetInnerText("shotshit"));
            HostagesRescued   = int.Parse(lifeTimeStats.GetInnerText("hostagesrescued"));
            Kills             = int.Parse(summaryStats.GetInnerText("kills"));
            KinfeKills        = int.Parse(lifeTimeStats.GetInnerText("knifekills"));
            LogosSprayed      = int.Parse(lifeTimeStats.GetInnerText("decals"));
            NightvisionDamage = int.Parse(lifeTimeStats.GetInnerText("nvgdmg"));
            PistolRoundsWon   = int.Parse(lifeTimeStats.GetInnerText("pistolrounds"));
            Revenges          = int.Parse(lifeTimeStats.GetInnerText("revenges"));
            RoundsPlayed      = int.Parse(summaryStats.GetInnerText("rounds"));
            RoundsWon         = int.Parse(summaryStats.GetInnerText("wins"));
            SecondsPlayed     = int.Parse(summaryStats.GetInnerText("timeplayed"));
            Shots             = int.Parse(summaryStats.GetInnerText("shots"));
            Stars             = int.Parse(summaryStats.GetInnerText("stars"));
            WeaponsDonated    = int.Parse(lifeTimeStats.GetInnerText("wpndonated"));
            WindowsBroken     = int.Parse(lifeTimeStats.GetInnerText("winbroken"));
            ZoomedSniperKills = int.Parse(lifeTimeStats.GetInnerText("zsniperkills"));

            if (Shots == 0)
            {
                Accuracy = 0;
            }
            else
            {
                Accuracy = (float)Hits / Shots;
            }

            if (Deaths == 0)
            {
                KDRatio = (float)Kills / Deaths;
            }

            RoundsLost = RoundsPlayed - RoundsWon;

            List <CSSMap> mapList = new List <CSSMap>();
            var           mapData = doc.GetXmlElement("stats").GetXmlElement("maps");

            foreach (string map in maps)
            {
                mapList.Add(new CSSMap(map, mapData));
            }
            MapStats = mapList.ToArray();

            List <CSSWeapon> weaponList = new List <CSSWeapon>();
            var weaponData = doc.GetXmlElement("stats").GetXmlElement("weapons");

            foreach (string weapon in weapons)
            {
                weaponList.Add(new CSSWeapon(weapon, weaponData));
            }

            WeaponStats = weaponList.ToArray();
        }
        protected new void FetchData()
        {
            var stats = doc.GetXmlElement("stats");
            LastMatch = new CSSLastMatchStats(stats.GetXmlElement("lastmatch"));

            var lifeTimeStats = stats.GetXmlElement("lifetime");
            var summaryStats  = stats.GetXmlElement("summary");

            BlindKills          = int.Parse(lifeTimeStats.GetInnerText("blindkills"));
            BombsDefused        = int.Parse(lifeTimeStats.GetInnerText("bombsdefused"));
            Damage              = int.Parse(lifeTimeStats.GetInnerText("dmg"));
            Deaths              = int.Parse( summaryStats.GetInnerText("deaths"));
            DominationOverKills = int.Parse(lifeTimeStats.GetInnerText("dominationoverkills"));
            Dominations         = int.Parse(lifeTimeStats.GetInnerText("dominations"));
            EarnedMoney         = int.Parse(lifeTimeStats.GetInnerText("money"));
            Hits                = int.Parse( summaryStats.GetInnerText("shotshit"));
            HostagesRescued     = int.Parse(lifeTimeStats.GetInnerText("hostagesrescued"));
            Kills               = int.Parse( summaryStats.GetInnerText("kills"));
            KinfeKills          = int.Parse(lifeTimeStats.GetInnerText("knifekills"));
            LogosSprayed        = int.Parse(lifeTimeStats.GetInnerText("decals"));
            NightvisionDamage   = int.Parse(lifeTimeStats.GetInnerText("nvgdmg"));
            PistolRoundsWon     = int.Parse(lifeTimeStats.GetInnerText("pistolrounds"));
            Revenges            = int.Parse(lifeTimeStats.GetInnerText("revenges"));
            RoundsPlayed        = int.Parse( summaryStats.GetInnerText("rounds"));
            RoundsWon           = int.Parse( summaryStats.GetInnerText("wins"));
            SecondsPlayed       = int.Parse( summaryStats.GetInnerText("timeplayed"));
            Shots               = int.Parse( summaryStats.GetInnerText("shots"));
            Stars               = int.Parse( summaryStats.GetInnerText("stars"));
            WeaponsDonated      = int.Parse(lifeTimeStats.GetInnerText("wpndonated"));
            WindowsBroken       = int.Parse(lifeTimeStats.GetInnerText("winbroken"));
            ZoomedSniperKills   = int.Parse(lifeTimeStats.GetInnerText("zsniperkills"));

            if (Shots == 0)
                Accuracy = 0;
            else
                Accuracy = (float)Hits/Shots;

            if (Deaths == 0)
                KDRatio = (float)Kills/Deaths;

            RoundsLost = RoundsPlayed - RoundsWon;

            List<CSSMap> mapList = new List<CSSMap>();
            var mapData = doc.GetXmlElement("stats").GetXmlElement("maps");
            foreach (string map in maps) {
                mapList.Add(new CSSMap(map, mapData));
            }
            MapStats = mapList.ToArray();

            List<CSSWeapon> weaponList = new List<CSSWeapon>();
            var weaponData = doc.GetXmlElement("stats").GetXmlElement("weapons");
            foreach (string weapon in weapons) {
                weaponList.Add(new CSSWeapon(weapon, weaponData));
            }

            WeaponStats = weaponList.ToArray();
        }