public bool Equals(TableGameInfo other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Included == other.Included && string.Equals(SteamName, other.SteamName) && VerifiedFinite == other.VerifiedFinite && SteamPlaytime.Equals(other.SteamPlaytime) && MainPlaytime.Equals(other.MainPlaytime) && ExtrasPlaytime.Equals(other.ExtrasPlaytime) && CompletionistPlaytime.Equals(other.CompletionistPlaytime) && string.Equals(HltbName, other.HltbName) && VerifiedCorrelation == other.VerifiedCorrelation); }
public override int GetHashCode() { unchecked { var hashCode = Included.GetHashCode(); hashCode = (hashCode * 397) ^ (SteamName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ VerifiedFinite.GetHashCode(); hashCode = (hashCode * 397) ^ SteamPlaytime.GetHashCode(); hashCode = (hashCode * 397) ^ MainPlaytime.GetHashCode(); hashCode = (hashCode * 397) ^ ExtrasPlaytime.GetHashCode(); hashCode = (hashCode * 397) ^ CompletionistPlaytime.GetHashCode(); hashCode = (hashCode * 397) ^ (HltbName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ VerifiedCorrelation.GetHashCode(); return(hashCode); } }