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

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            hash ^= itemsAwarded_.GetHashCode();
            if (GemsAwarded != 0)
            {
                hash ^= GemsAwarded.GetHashCode();
            }
            if (pokemonDataEgg_ != null)
            {
                hash ^= PokemonDataEgg.GetHashCode();
            }
            if (ExperienceAwarded != 0)
            {
                hash ^= ExperienceAwarded.GetHashCode();
            }
            if (CooldownCompleteTimestampMs != 0L)
            {
                hash ^= CooldownCompleteTimestampMs.GetHashCode();
            }
            if (ChainHackSequenceNumber != 0)
            {
                hash ^= ChainHackSequenceNumber.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Result != global::POGOProtos.Networking.Responses.FortSearchResponse.Types.Result.NoResultSet)
            {
                hash ^= Result.GetHashCode();
            }
            hash ^= itemsAwarded_.GetHashCode();
            if (GemsAwarded != 0)
            {
                hash ^= GemsAwarded.GetHashCode();
            }
            if (pokemonDataEgg_ != null)
            {
                hash ^= PokemonDataEgg.GetHashCode();
            }
            if (ExperienceAwarded != 0)
            {
                hash ^= ExperienceAwarded.GetHashCode();
            }
            if (CooldownCompleteTimestampMs != 0L)
            {
                hash ^= CooldownCompleteTimestampMs.GetHashCode();
            }
            if (ChainHackSequenceNumber != 0)
            {
                hash ^= ChainHackSequenceNumber.GetHashCode();
            }
            return(hash);
        }
Пример #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (evolvedPokemonData_ != null)
            {
                hash ^= EvolvedPokemonData.GetHashCode();
            }
            if (ExperienceAwarded != 0)
            {
                hash ^= ExperienceAwarded.GetHashCode();
            }
            if (CandyAwarded != 0)
            {
                hash ^= CandyAwarded.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            hash ^= itemsAwarded_.GetHashCode();
            if (GemsAwarded != 0)
            {
                hash ^= GemsAwarded.GetHashCode();
            }
            if (pokemonDataEgg_ != null)
            {
                hash ^= PokemonDataEgg.GetHashCode();
            }
            if (ExperienceAwarded != 0)
            {
                hash ^= ExperienceAwarded.GetHashCode();
            }
            if (CooldownCompleteTimestampMs != 0L)
            {
                hash ^= CooldownCompleteTimestampMs.GetHashCode();
            }
            if (ChainHackSequenceNumber != 0)
            {
                hash ^= ChainHackSequenceNumber.GetHashCode();
            }
            if (awardedGymBadge_ != null)
            {
                hash ^= AwardedGymBadge.GetHashCode();
            }
            if (loot_ != null)
            {
                hash ^= Loot.GetHashCode();
            }
            if (bonusLoot_ != null)
            {
                hash ^= BonusLoot.GetHashCode();
            }
            if (RaidTickets != 0)
            {
                hash ^= RaidTickets.GetHashCode();
            }
            if (teamBonusLoot_ != null)
            {
                hash ^= TeamBonusLoot.GetHashCode();
            }
            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            return(hash);
        }