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

            if (Success != false)
            {
                hash ^= Success.GetHashCode();
            }
            if (FamilyCandyId != 0)
            {
                hash ^= FamilyCandyId.GetHashCode();
            }
            if (CandyEarnedCount != 0)
            {
                hash ^= CandyEarnedCount.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Success != false)
            {
                hash ^= Success.GetHashCode();
            }
            if (FamilyCandyId != global::POGOProtos.Enums.PokemonFamilyId.FamilyUnset)
            {
                hash ^= FamilyCandyId.GetHashCode();
            }
            if (CandyEarnedCount != 0)
            {
                hash ^= CandyEarnedCount.GetHashCode();
            }
            return(hash);
        }
Exemple #3
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);
        }