static List <Awards.Award> GetAwards(string plName) { if (plName == "") { return(Awards.AwardsList); } List <Awards.Award> awards = new List <Awards.Award>(); foreach (string s in Awards.GetPlayerAwards(plName)) { Awards.Award award = new Awards.Award(); award.Name = s; award.Description = Awards.GetDescription(s); awards.Add(award); } return(awards); }