int Load(string name) { foreach(var stat in Statistics.lifetimeStatistics) { if (stat.championId == ChampionId && stat.statType == name) return stat.value; } throw new Exception("Unable to find stat " + name + " for champion " + ChampionId); }