Exemplo n.º 1
0
 /// <summary>
 /// Checks if Cloud IDs match.
 /// </summary>
 /// <param name="otherConfig">Other <see cref="CloudConfig"/>.</param>
 /// <returns>If Cloud IDs match.</returns>
 public bool EqualsCloudIDs(CloudConfig otherConfig)
 {
     return(AchievementIDs.Count == otherConfig.AchievementIDs.Count &&
            LeaderboardIDs.Count == otherConfig.LeaderboardIDs.Count &&
            !AchievementIDs.Where((t, i) => !t.EqualsIDs(otherConfig.AchievementIDs[i])).Any() &&
            !LeaderboardIDs.Where((t, i) => !t.EqualsIDs(otherConfig.LeaderboardIDs[i])).Any());
 }