/// <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()); }
public override void Read() { uint count = _worldPacket.ReadUInt32(); for (uint i = 0; i < count; ++i) { AchievementIDs.Add(_worldPacket.ReadUInt32()); } }