public bool Equals(CampaignMissionStat other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(base.Equals(other) && CoopStats.OrderBy(cs => cs.Key).SequenceEqual(other.CoopStats.OrderBy(cs => cs.Key)) && Equals(FlexibleStats, other.FlexibleStats) && MissionId.Equals(other.MissionId) && SoloStats.OrderBy(ss => ss.Key).SequenceEqual(other.SoloStats.OrderBy(ss => ss.Key))); }
public bool Equals(Skull other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(ContentId.Equals(other.ContentId) && string.Equals(Description, other.Description) && Id == other.Id && string.Equals(ImageUrl, other.ImageUrl) && MissionId.Equals(other.MissionId) && string.Equals(Name, other.Name)); }