Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TargetType.Length != 0)
            {
                hash ^= TargetType.GetHashCode();
            }
            if (ComparisonOperator != 0)
            {
                hash ^= ComparisonOperator.GetHashCode();
            }
            if (TargetComparisonValue != 0)
            {
                hash ^= TargetComparisonValue.GetHashCode();
            }
            if (LookForBuffs != false)
            {
                hash ^= LookForBuffs.GetHashCode();
            }
            if (ConditionTargetType != 0)
            {
                hash ^= ConditionTargetType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ComparisonOperator != 0)
            {
                hash ^= ComparisonOperator.GetHashCode();
            }
            if (TargetComparisonValue != 0)
            {
                hash ^= TargetComparisonValue.GetHashCode();
            }
            if (ProfessionId.Length != 0)
            {
                hash ^= ProfessionId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ComparisonOperator != 0)
            {
                hash ^= ComparisonOperator.GetHashCode();
            }
            if (TargetComparisonValue != 0)
            {
                hash ^= TargetComparisonValue.GetHashCode();
            }
            if (Criteria != 0)
            {
                hash ^= Criteria.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }