Ejemplo n.º 1
0
        public GodCollection GetAllSmiteGodsAndStatsGodCollection()
        {
            var allGods = GetAllGodNames();

            Parallel.ForEach(allGods, (currentGod) =>
            {
                try
                {
                    var s = new StatsGrabber();
                    s.GetGodInfo(currentGod);
                }
                catch { /*Ignored*/ }
            });

            return(new GodCollection(allGods));
        }
Ejemplo n.º 2
0
        public List <IEntity> GetAllSmiteGodsAndStats()
        {
            var AllGods = GetAllGodNames();

            Parallel.ForEach(AllGods, (currentGod) =>
            {
                try
                {
                    var s = new StatsGrabber();
                    s.GetGodInfo(currentGod);
                }
                catch { /*Ignored*/ }
            });

            return(AllGods);
        }