public void UpdateRank(string name, float v, ErgData ergData, Segment segment) { if (leaderboard == null) { return; } ErgData e = new ErgData(); Segment s = Segment.Factory(segment); e.Copy(ergData); leaderboard.UpdateRank(name, v, e, s); LinkedList <RankNode> ranks = leaderboard.GetRankings(); UpdateRankList(ranks); }