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);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemId != 0)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (ExpirationTimestampMs != 0L)
            {
                hash ^= ExpirationTimestampMs.GetHashCode();
            }
            if (DeployerPlayerCodename.Length != 0)
            {
                hash ^= DeployerPlayerCodename.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);
        }