public override int GetHashCode() { int hash = 1; hash ^= target_.GetHashCode(); if (BattleWinningScorePerDefenderCp != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BattleWinningScorePerDefenderCp); } if (GymDefendingScorePerMinute != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(GymDefendingScorePerMinute); } if (BerryFeedingScore != 0) { hash ^= BerryFeedingScore.GetHashCode(); } if (PokemonDeployScore != 0) { hash ^= PokemonDeployScore.GetHashCode(); } if (RaidBattleWinningScore != 0) { hash ^= RaidBattleWinningScore.GetHashCode(); } if (LoseAllBattlesScore != 0) { hash ^= LoseAllBattlesScore.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; hash ^= target_.GetHashCode(); if (BattleWinningScorePerDefenderCp != 0F) { hash ^= BattleWinningScorePerDefenderCp.GetHashCode(); } if (GymDefendingScorePerMinute != 0F) { hash ^= GymDefendingScorePerMinute.GetHashCode(); } if (BerryFeedingScore != 0) { hash ^= BerryFeedingScore.GetHashCode(); } if (PokemonDeployScore != 0) { hash ^= PokemonDeployScore.GetHashCode(); } if (RaidBattleWinningScore != 0) { hash ^= RaidBattleWinningScore.GetHashCode(); } if (LoseAllBattlesScore != 0) { hash ^= LoseAllBattlesScore.GetHashCode(); } return(hash); }