public override int GetHashCode() { int hash = 1; if (PlayRoundNumber != 0L) { hash ^= PlayRoundNumber.GetHashCode(); } if (Amount != 0L) { hash ^= Amount.GetHashCode(); } if (Award != 0L) { hash ^= Award.GetHashCode(); } if (IsComplete != false) { hash ^= IsComplete.GetHashCode(); } if (playId_ != null) { hash ^= PlayId.GetHashCode(); } if (BingoRoundNumber != 0L) { hash ^= BingoRoundNumber.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ (Team1 != null ? Team1.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Team2 != null ? Team2.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)GameState; hashCode = (hashCode * 397) ^ IsComplete.GetHashCode(); hashCode = (hashCode * 397) ^ (WinningTeam != null ? WinningTeam.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsSimulatedGame.GetHashCode(); hashCode = (hashCode * 397) ^ CreatedDate.GetHashCode(); return(hashCode); } }