public override int GetHashCode() { int hash = 1; if (TimesFed != 0) { hash ^= TimesFed.GetHashCode(); } if (BattlesWon != 0) { hash ^= BattlesWon.GetHashCode(); } if (BattlesLost != 0) { hash ^= BattlesLost.GetHashCode(); } if (DeploymentDurationMs != 0L) { hash ^= DeploymentDurationMs.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Level != 0) { hash ^= Level.GetHashCode(); } if (avatar_ != null) { hash ^= Avatar.GetHashCode(); } if (TeamColor != 0) { hash ^= TeamColor.GetHashCode(); } if (BattlesWon != 0) { hash ^= BattlesWon.GetHashCode(); } if (KmWalked != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(KmWalked); } if (CaughtPokemon != 0) { hash ^= CaughtPokemon.GetHashCode(); } if (GymBadgeType != 0) { hash ^= GymBadgeType.GetHashCode(); } hash ^= badges_.GetHashCode(); if (Experience != 0L) { hash ^= Experience.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Level != 0) { hash ^= Level.GetHashCode(); } if (avatar_ != null) { hash ^= Avatar.GetHashCode(); } if (TeamColor != 0) { hash ^= TeamColor.GetHashCode(); } if (BattlesWon != 0) { hash ^= BattlesWon.GetHashCode(); } if (KmWalked != 0F) { hash ^= KmWalked.GetHashCode(); } if (CaughtPokemon != 0) { hash ^= CaughtPokemon.GetHashCode(); } if (GymBadgeType != 0) { hash ^= GymBadgeType.GetHashCode(); } return(hash); }