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

            if (BadgeType != 0)
            {
                hash ^= BadgeType.GetHashCode();
            }
            if (BadgeRank != 0)
            {
                hash ^= BadgeRank.GetHashCode();
            }
            hash ^= targets_.GetHashCode();
            hash ^= captureReward_.GetHashCode();
            if (EventBadge != false)
            {
                hash ^= EventBadge.GetHashCode();
            }
            if (eventBadgeSettings_ != null)
            {
                hash ^= EventBadgeSettings.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (BadgeType != 0)
            {
                hash ^= BadgeType.GetHashCode();
            }
            if (BadgeRank != 0)
            {
                hash ^= BadgeRank.GetHashCode();
            }
            hash ^= targets_.GetHashCode();
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (BadgeType != 0)
            {
                hash ^= BadgeType.GetHashCode();
            }
            if (BadgeRank != 0)
            {
                hash ^= BadgeRank.GetHashCode();
            }
            hash ^= targets_.GetHashCode();
            hash ^= captureReward_.GetHashCode();
            if (EventBadge != false)
            {
                hash ^= EventBadge.GetHashCode();
            }
            return(hash);
        }