public override int GetHashCode() { int hash = 1; if (header_ != null) { hash ^= Header.GetHashCode(); } if (MeasurementTime != 0D) { hash ^= MeasurementTime.GetHashCode(); } if (SolStatus != 0) { hash ^= SolStatus.GetHashCode(); } if (SolType != 0) { hash ^= SolType.GetHashCode(); } if (Latitude != 0D) { hash ^= Latitude.GetHashCode(); } if (Longitude != 0D) { hash ^= Longitude.GetHashCode(); } if (HeightMsl != 0D) { hash ^= HeightMsl.GetHashCode(); } if (Undulation != 0F) { hash ^= Undulation.GetHashCode(); } if (DatumId != 0) { hash ^= DatumId.GetHashCode(); } if (LatitudeStdDev != 0F) { hash ^= LatitudeStdDev.GetHashCode(); } if (LongitudeStdDev != 0F) { hash ^= LongitudeStdDev.GetHashCode(); } if (HeightStdDev != 0F) { hash ^= HeightStdDev.GetHashCode(); } if (BaseStationId.Length != 0) { hash ^= BaseStationId.GetHashCode(); } if (DifferentialAge != 0F) { hash ^= DifferentialAge.GetHashCode(); } if (SolutionAge != 0F) { hash ^= SolutionAge.GetHashCode(); } if (NumSatsTracked != 0) { hash ^= NumSatsTracked.GetHashCode(); } if (NumSatsInSolution != 0) { hash ^= NumSatsInSolution.GetHashCode(); } if (NumSatsL1 != 0) { hash ^= NumSatsL1.GetHashCode(); } if (NumSatsMulti != 0) { hash ^= NumSatsMulti.GetHashCode(); } if (Reserved != 0) { hash ^= Reserved.GetHashCode(); } if (ExtendedSolutionStatus != 0) { hash ^= ExtendedSolutionStatus.GetHashCode(); } if (GalileoBeidouUsedMask != 0) { hash ^= GalileoBeidouUsedMask.GetHashCode(); } if (GpsGlonassUsedMask != 0) { hash ^= GpsGlonassUsedMask.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (PokemonId != 0) { hash ^= PokemonId.GetHashCode(); } if (ModelScale != 0F) { hash ^= ModelScale.GetHashCode(); } if (Type != 0) { hash ^= Type.GetHashCode(); } if (Type2 != 0) { hash ^= Type2.GetHashCode(); } if (camera_ != null) { hash ^= Camera.GetHashCode(); } if (encounter_ != null) { hash ^= Encounter.GetHashCode(); } if (stats_ != null) { hash ^= Stats.GetHashCode(); } hash ^= quickMoves_.GetHashCode(); hash ^= cinematicMoves_.GetHashCode(); hash ^= animationTime_.GetHashCode(); hash ^= evolutionIds_.GetHashCode(); if (EvolutionPips != 0) { hash ^= EvolutionPips.GetHashCode(); } if (Rarity != 0) { hash ^= Rarity.GetHashCode(); } if (PokedexHeightM != 0F) { hash ^= PokedexHeightM.GetHashCode(); } if (PokedexWeightKg != 0F) { hash ^= PokedexWeightKg.GetHashCode(); } if (ParentPokemonId != 0) { hash ^= ParentPokemonId.GetHashCode(); } if (HeightStdDev != 0F) { hash ^= HeightStdDev.GetHashCode(); } if (WeightStdDev != 0F) { hash ^= WeightStdDev.GetHashCode(); } if (KmDistanceToHatch != 0F) { hash ^= KmDistanceToHatch.GetHashCode(); } if (FamilyId != 0) { hash ^= FamilyId.GetHashCode(); } if (CandyToEvolve != 0) { hash ^= CandyToEvolve.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (PokemonId != global::POGOProtos.Enums.PokemonId.Missingno) { hash ^= PokemonId.GetHashCode(); } if (ModelScale != 0F) { hash ^= ModelScale.GetHashCode(); } if (Type != global::POGOProtos.Enums.PokemonType.None) { hash ^= Type.GetHashCode(); } if (Type2 != global::POGOProtos.Enums.PokemonType.None) { hash ^= Type2.GetHashCode(); } if (camera_ != null) { hash ^= Camera.GetHashCode(); } if (encounter_ != null) { hash ^= Encounter.GetHashCode(); } if (stats_ != null) { hash ^= Stats.GetHashCode(); } hash ^= quickMoves_.GetHashCode(); hash ^= cinematicMoves_.GetHashCode(); hash ^= animationTime_.GetHashCode(); hash ^= evolutionIds_.GetHashCode(); if (EvolutionPips != 0) { hash ^= EvolutionPips.GetHashCode(); } if (Rarity != global::POGOProtos.Enums.PokemonRarity.Normal) { hash ^= Rarity.GetHashCode(); } if (PokedexHeightM != 0F) { hash ^= PokedexHeightM.GetHashCode(); } if (PokedexWeightKg != 0F) { hash ^= PokedexWeightKg.GetHashCode(); } if (ParentPokemonId != global::POGOProtos.Enums.PokemonId.Missingno) { hash ^= ParentPokemonId.GetHashCode(); } if (HeightStdDev != 0F) { hash ^= HeightStdDev.GetHashCode(); } if (WeightStdDev != 0F) { hash ^= WeightStdDev.GetHashCode(); } if (KmDistanceToHatch != 0F) { hash ^= KmDistanceToHatch.GetHashCode(); } if (FamilyId != global::POGOProtos.Enums.PokemonFamilyId.FamilyUnset) { hash ^= FamilyId.GetHashCode(); } if (CandyToEvolve != 0) { hash ^= CandyToEvolve.GetHashCode(); } if (KmBuddyDistance != 0F) { hash ^= KmBuddyDistance.GetHashCode(); } if (BuddySize != global::POGOProtos.Settings.Master.PokemonSettings.Types.BuddySize.BUDDY_MEDIUM) { hash ^= BuddySize.GetHashCode(); } return(hash); }