public override int GetHashCode() { int hash = 1; if (PokemonVisibleRange != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PokemonVisibleRange); } if (PokeNavRangeMeters != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PokeNavRangeMeters); } if (EncounterRangeMeters != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(EncounterRangeMeters); } if (GetMapObjectsMinRefreshSeconds != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(GetMapObjectsMinRefreshSeconds); } if (GetMapObjectsMaxRefreshSeconds != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(GetMapObjectsMaxRefreshSeconds); } if (GetMapObjectsMinDistanceMeters != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(GetMapObjectsMinDistanceMeters); } if (GoogleMapsApiKey.Length != 0) { hash ^= GoogleMapsApiKey.GetHashCode(); } if (MinNearbyHideSightings != 0) { hash ^= MinNearbyHideSightings.GetHashCode(); } if (EnableSpecialWeather != false) { hash ^= EnableSpecialWeather.GetHashCode(); } if (SpecialWeatherProbability != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SpecialWeatherProbability); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (PokemonVisibleRange != 0D) { hash ^= PokemonVisibleRange.GetHashCode(); } if (PokeNavRangeMeters != 0D) { hash ^= PokeNavRangeMeters.GetHashCode(); } if (EncounterRangeMeters != 0D) { hash ^= EncounterRangeMeters.GetHashCode(); } if (GetMapObjectsMinRefreshSeconds != 0F) { hash ^= GetMapObjectsMinRefreshSeconds.GetHashCode(); } if (GetMapObjectsMaxRefreshSeconds != 0F) { hash ^= GetMapObjectsMaxRefreshSeconds.GetHashCode(); } if (GetMapObjectsMinDistanceMeters != 0F) { hash ^= GetMapObjectsMinDistanceMeters.GetHashCode(); } if (GoogleMapsApiKey.Length != 0) { hash ^= GoogleMapsApiKey.GetHashCode(); } if (MinNearbyHideSightings != 0) { hash ^= MinNearbyHideSightings.GetHashCode(); } return(hash); }