示例#1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (LastModifiedTimestampMs != 0L)
            {
                hash ^= LastModifiedTimestampMs.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= Latitude.GetHashCode();
            }
            if (Longitude != 0D)
            {
                hash ^= Longitude.GetHashCode();
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (pokemonData_ != null)
            {
                hash ^= PokemonData.GetHashCode();
            }
            if (TimeTillHiddenMs != 0)
            {
                hash ^= TimeTillHiddenMs.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (PokemonId != 0)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (ExpirationTimestampMs != 0L)
            {
                hash ^= ExpirationTimestampMs.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= Latitude.GetHashCode();
            }
            if (Longitude != 0D)
            {
                hash ^= Longitude.GetHashCode();
            }
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (Pokeball != 0)
            {
                hash ^= Pokeball.GetHashCode();
            }
            if (NormalizedReticleSize != 0D)
            {
                hash ^= NormalizedReticleSize.GetHashCode();
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (HitPokemon != false)
            {
                hash ^= HitPokemon.GetHashCode();
            }
            if (SpinModifier != 0D)
            {
                hash ^= SpinModifier.GetHashCode();
            }
            if (NormalizedHitPosition != 0D)
            {
                hash ^= NormalizedHitPosition.GetHashCode();
            }
            return(hash);
        }
示例#4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (PlayerLatitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PlayerLatitude);
            }
            if (PlayerLongitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PlayerLongitude);
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (Pokeball != 0)
            {
                hash ^= Pokeball.GetHashCode();
            }
            if (NormalizedReticleSize != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NormalizedReticleSize);
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (HitPokemon != false)
            {
                hash ^= HitPokemon.GetHashCode();
            }
            if (SpinModifier != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(SpinModifier);
            }
            if (NormalizedHitPosition != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NormalizedHitPosition);
            }
            if (arPlusValues_ != null)
            {
                hash ^= ArPlusValues.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (PlayerLatitude != 0D)
            {
                hash ^= PlayerLatitude.GetHashCode();
            }
            if (PlayerLongitude != 0D)
            {
                hash ^= PlayerLongitude.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (PokemonId != 0)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (ExpirationTimestampMs != 0L)
            {
                hash ^= ExpirationTimestampMs.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Latitude);
            }
            if (Longitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Longitude);
            }
            if (pokemonDisplay_ != null)
            {
                hash ^= PokemonDisplay.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (LastModifiedTimestampMs != 0L)
            {
                hash ^= LastModifiedTimestampMs.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Latitude);
            }
            if (Longitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Longitude);
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (pokemonData_ != null)
            {
                hash ^= PokemonData.GetHashCode();
            }
            if (TimeTillHiddenMs != 0)
            {
                hash ^= TimeTillHiddenMs.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }