public override int GetHashCode()
        {
            int hash = 1;

            if (GymId.Length != 0)
            {
                hash ^= GymId.GetHashCode();
            }
            if (PlayerLatDegrees != 0D)
            {
                hash ^= PlayerLatDegrees.GetHashCode();
            }
            if (PlayerLngDegrees != 0D)
            {
                hash ^= PlayerLngDegrees.GetHashCode();
            }
            if (GymLatDegrees != 0D)
            {
                hash ^= GymLatDegrees.GetHashCode();
            }
            if (GymLngDegrees != 0D)
            {
                hash ^= GymLngDegrees.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Item != 0)
            {
                hash ^= Item.GetHashCode();
            }
            if (StartingQuantity != 0)
            {
                hash ^= StartingQuantity.GetHashCode();
            }
            if (GymId.Length != 0)
            {
                hash ^= GymId.GetHashCode();
            }
            if (PokemonId != 0UL)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (PlayerLatDegrees != 0D)
            {
                hash ^= PlayerLatDegrees.GetHashCode();
            }
            if (PlayerLngDegrees != 0D)
            {
                hash ^= PlayerLngDegrees.GetHashCode();
            }
            return(hash);
        }
Пример #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RaidSeed != 0L)
            {
                hash ^= RaidSeed.GetHashCode();
            }
            if (GymId.Length != 0)
            {
                hash ^= GymId.GetHashCode();
            }
            hash ^= lobbyId_.GetHashCode();
            if (Private != false)
            {
                hash ^= Private.GetHashCode();
            }
            if (PlayerLatDegrees != 0D)
            {
                hash ^= PlayerLatDegrees.GetHashCode();
            }
            if (PlayerLngDegrees != 0D)
            {
                hash ^= PlayerLngDegrees.GetHashCode();
            }
            return(hash);
        }
Пример #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (GymId.Length != 0)
            {
                hash ^= GymId.GetHashCode();
            }
            if (BattleId.Length != 0)
            {
                hash ^= BattleId.GetHashCode();
            }
            hash ^= attackActions_.GetHashCode();
            if (lastRetrievedAction_ != null)
            {
                hash ^= LastRetrievedAction.GetHashCode();
            }
            if (PlayerLatDegrees != 0D)
            {
                hash ^= PlayerLatDegrees.GetHashCode();
            }
            if (PlayerLngDegrees != 0D)
            {
                hash ^= PlayerLngDegrees.GetHashCode();
            }
            if (TimestampMs != 0L)
            {
                hash ^= TimestampMs.GetHashCode();
            }
            return(hash);
        }
Пример #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (GymId.Length != 0)
            {
                hash ^= GymId.GetHashCode();
            }
            hash ^= attackingPokemonId_.GetHashCode();
            if (DefendingPokemonId != 0UL)
            {
                hash ^= DefendingPokemonId.GetHashCode();
            }
            if (PlayerLatDegrees != 0D)
            {
                hash ^= PlayerLatDegrees.GetHashCode();
            }
            if (PlayerLngDegrees != 0D)
            {
                hash ^= PlayerLngDegrees.GetHashCode();
            }
            return(hash);
        }
Пример #6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (GymId.Length != 0)
            {
                hash ^= GymId.GetHashCode();
            }
            if (RaidSeed != 0L)
            {
                hash ^= RaidSeed.GetHashCode();
            }
            hash ^= lobbyId_.GetHashCode();
            hash ^= attackingPokemonId_.GetHashCode();
            if (PlayerLatDegrees != 0D)
            {
                hash ^= PlayerLatDegrees.GetHashCode();
            }
            if (PlayerLngDegrees != 0D)
            {
                hash ^= PlayerLngDegrees.GetHashCode();
            }
            return(hash);
        }