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

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (duration_ != null)
            {
                hash ^= Duration.GetHashCode();
            }
            if (exclusivityGroup_ != null)
            {
                hash ^= ExclusivityGroup.GetHashCode();
            }
            if (BuffType != 0)
            {
                hash ^= BuffType.GetHashCode();
            }
            hash ^= Modifiers.GetHashCode();
            hash ^= conditionalModifiers_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ExclusivityGroup.Length != 0)
            {
                hash ^= ExclusivityGroup.GetHashCode();
            }
            if (ExclusivityPriority != 0)
            {
                hash ^= ExclusivityPriority.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }