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

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (gymStatusAndDefenders_ != null)
            {
                hash ^= GymStatusAndDefenders.GetHashCode();
            }
            if (awardedGymBadge_ != null)
            {
                hash ^= AwardedGymBadge.GetHashCode();
            }
            if (CooldownCompleteTimestampMs != 0L)
            {
                hash ^= CooldownCompleteTimestampMs.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);
        }
Esempio n. 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (gymStatusAndDefenders_ != null)
            {
                hash ^= GymStatusAndDefenders.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Url.Length != 0)
            {
                hash ^= Url.GetHashCode();
            }
            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (SecondaryUrl.Length != 0)
            {
                hash ^= SecondaryUrl.GetHashCode();
            }
            if (awardedGymBadge_ != null)
            {
                hash ^= AwardedGymBadge.GetHashCode();
            }
            if (CheckinImageUrl.Length != 0)
            {
                hash ^= CheckinImageUrl.GetHashCode();
            }
            if (eventInfo_ != null)
            {
                hash ^= EventInfo.GetHashCode();
            }
            if (displayWeather_ != null)
            {
                hash ^= DisplayWeather.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (gymStatusAndDefenders_ != null)
            {
                hash ^= GymStatusAndDefenders.GetHashCode();
            }
            if (awardedGymBadge_ != null)
            {
                hash ^= AwardedGymBadge.GetHashCode();
            }
            if (StardustAwarded != 0)
            {
                hash ^= StardustAwarded.GetHashCode();
            }
            if (XpAwarded != 0)
            {
                hash ^= XpAwarded.GetHashCode();
            }
            if (NumCandyAwarded != 0)
            {
                hash ^= NumCandyAwarded.GetHashCode();
            }
            if (FamilyCandyId != 0)
            {
                hash ^= FamilyCandyId.GetHashCode();
            }
            if (CooldownComplete != 0L)
            {
                hash ^= CooldownComplete.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }