public override int GetHashCode() { int hash = 1; if (BaseCaptureRate != 0F) { hash ^= BaseCaptureRate.GetHashCode(); } if (BaseFleeRate != 0F) { hash ^= BaseFleeRate.GetHashCode(); } if (CollisionRadiusM != 0F) { hash ^= CollisionRadiusM.GetHashCode(); } if (CollisionHeightM != 0F) { hash ^= CollisionHeightM.GetHashCode(); } if (CollisionHeadRadiusM != 0F) { hash ^= CollisionHeadRadiusM.GetHashCode(); } if (MovementType != 0) { hash ^= MovementType.GetHashCode(); } if (MovementTimerS != 0F) { hash ^= MovementTimerS.GetHashCode(); } if (JumpTimeS != 0F) { hash ^= JumpTimeS.GetHashCode(); } if (AttackTimerS != 0F) { hash ^= AttackTimerS.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (BaseCaptureRate != 0F) { hash ^= BaseCaptureRate.GetHashCode(); } if (BaseFleeRate != 0F) { hash ^= BaseFleeRate.GetHashCode(); } if (CollisionRadiusM != 0F) { hash ^= CollisionRadiusM.GetHashCode(); } if (CollisionHeightM != 0F) { hash ^= CollisionHeightM.GetHashCode(); } if (CollisionHeadRadiusM != 0F) { hash ^= CollisionHeadRadiusM.GetHashCode(); } if (MovementType != 0) { hash ^= MovementType.GetHashCode(); } if (MovementTimerS != 0F) { hash ^= MovementTimerS.GetHashCode(); } if (JumpTimeS != 0F) { hash ^= JumpTimeS.GetHashCode(); } if (AttackTimerS != 0F) { hash ^= AttackTimerS.GetHashCode(); } if (BonusCandyCaptureReward != 0) { hash ^= BonusCandyCaptureReward.GetHashCode(); } if (BonusStardustCaptureReward != 0) { hash ^= BonusStardustCaptureReward.GetHashCode(); } if (AttackProbability != 0F) { hash ^= AttackProbability.GetHashCode(); } if (DodgeProbability != 0F) { hash ^= DodgeProbability.GetHashCode(); } if (DodgeDurationS != 0F) { hash ^= DodgeDurationS.GetHashCode(); } if (DodgeDistance != 0F) { hash ^= DodgeDistance.GetHashCode(); } if (CameraDistance != 0F) { hash ^= CameraDistance.GetHashCode(); } if (MinPokemonActionFrequencyS != 0F) { hash ^= MinPokemonActionFrequencyS.GetHashCode(); } if (MaxPokemonActionFrequencyS != 0F) { hash ^= MaxPokemonActionFrequencyS.GetHashCode(); } return(hash); }