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

            if (RaidSeed != 0L)
            {
                hash ^= RaidSeed.GetHashCode();
            }
            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            if (StartTimeMs != 0L)
            {
                hash ^= StartTimeMs.GetHashCode();
            }
            if (EndTimeMs != 0L)
            {
                hash ^= EndTimeMs.GetHashCode();
            }
            if (ImageUrl.Length != 0)
            {
                hash ^= ImageUrl.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Latitude);
            }
            if (Longitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Longitude);
            }
            if (GymName.Length != 0)
            {
                hash ^= GymName.GetHashCode();
            }
            if (SpawnTimeMs != 0L)
            {
                hash ^= SpawnTimeMs.GetHashCode();
            }
            if (IsCancelled != false)
            {
                hash ^= IsCancelled.GetHashCode();
            }
            if (raidPokemon_ != null)
            {
                hash ^= RaidPokemon.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RaidSeed != 0L)
            {
                hash ^= RaidSeed.GetHashCode();
            }
            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            if (StartTimeMs != 0L)
            {
                hash ^= StartTimeMs.GetHashCode();
            }
            if (EndTimeMs != 0L)
            {
                hash ^= EndTimeMs.GetHashCode();
            }
            if (ImageUrl.Length != 0)
            {
                hash ^= ImageUrl.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= Latitude.GetHashCode();
            }
            if (Longitude != 0D)
            {
                hash ^= Longitude.GetHashCode();
            }
            if (GymName.Length != 0)
            {
                hash ^= GymName.GetHashCode();
            }
            if (SpawnTimeMs != 0L)
            {
                hash ^= SpawnTimeMs.GetHashCode();
            }
            if (IsCancelled != false)
            {
                hash ^= IsCancelled.GetHashCode();
            }
            if (raidPokemon_ != null)
            {
                hash ^= RaidPokemon.GetHashCode();
            }
            return(hash);
        }