public bool Equals(Result other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(GameBaseVariantId.Equals(other.GameBaseVariantId) && Equals(GameVariant, other.GameVariant) && HopperId.Equals(other.HopperId) && Equals(Id, other.Id) && IsTeamGame == other.IsTeamGame && Links.OrderBy(l => l.Key).SequenceEqual(other.Links.OrderBy(l => l.Key)) && MapId.Equals(other.MapId) && Equals(MapVariant, other.MapVariant) && Equals(MatchCompletedDate, other.MatchCompletedDate) && MatchDuration.Equals(other.MatchDuration) && Players.OrderBy(p => p.Identity.Gamertag).SequenceEqual(other.Players.OrderBy(p => p.Identity.Gamertag)) && SeasonId.Equals(other.SeasonId) && MatchCompletedDateFidelity == other.MatchCompletedDateFidelity && Teams.OrderBy(t => t.Id).SequenceEqual(other.Teams.OrderBy(t => t.Id))); }
public bool Equals(TopGameBaseVariant other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(GameBaseVariantId.Equals(other.GameBaseVariantId) && GameBaseVariantRank == other.GameBaseVariantRank && NumberOfMatchesCompleted == other.NumberOfMatchesCompleted && NumberOfMatchesWon == other.NumberOfMatchesWon); }
public bool Equals(ScenarioStat other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(base.Equals(other) && Equals(FlexibleStats, other.FlexibleStats) && GameBaseVariantId.Equals(other.GameBaseVariantId) && MapId.Equals(other.MapId) && TotalPiesEarned == other.TotalPiesEarned); }
public bool Equals(GameVariant other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(ContentId.Equals(other.ContentId) && string.Equals(Description, other.Description) && GameBaseVariantId.Equals(other.GameBaseVariantId) && string.Equals(IconUrl, other.IconUrl) && Id.Equals(other.Id) && string.Equals(Name, other.Name)); }
public bool Equals(BaseMatch other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(GameBaseVariantId.Equals(other.GameBaseVariantId) && GameVariantId.Equals(other.GameVariantId) && IsMatchOver == other.IsMatchOver && IsTeamGame == other.IsTeamGame && MapId.Equals(other.MapId) && MapVariantId.Equals(other.MapVariantId) && PlaylistId.Equals(other.PlaylistId) && SeasonId.Equals(other.SeasonId) && TotalDuration.Equals(other.TotalDuration)); }