public CopyStats CopyData() { var copyStats = new LocalLeaderboardsCopyStats(); int statCount = LeaderboardsData.Count; for (int i = 0; i < statCount; i++) { var clones = LeaderboardsData[i].Copy(); foreach (var s in clones) { if (!LeaderboardsData.Contains(s)) { copyStats.CopiedLeaderboards++; LeaderboardsData.Add(s); } else { #if DEBUG Console.WriteLine($"Already contains leaderboard: {s}"); #endif } } } return(copyStats); }
public void ClearLeaderboards() { LeaderboardsData.ClearLeaderboards(); }
public List <Team> GetLeaderboards() { return(LeaderboardsData.GetLeaderboards()); }