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

            if (MissionId != 0)
            {
                hash ^= MissionId.GetHashCode();
            }
            if (MissionGroupId != 0)
            {
                hash ^= MissionGroupId.GetHashCode();
            }
            if (U3 != 0)
            {
                hash ^= U3.GetHashCode();
            }
            hash ^= parameters_.GetHashCode();
            hash ^= objectives_.GetHashCode();
            if (ScheduleId.Length != 0)
            {
                hash ^= ScheduleId.GetHashCode();
            }
            if (U7 != 0)
            {
                hash ^= U7.GetHashCode();
            }
            if (U8 != 0)
            {
                hash ^= U8.GetHashCode();
            }
            if (U9 != 0)
            {
                hash ^= U9.GetHashCode();
            }
            hash ^= itemSetIds_.GetHashCode();
            if (Number != 0)
            {
                hash ^= Number.GetHashCode();
            }
            if (RequirementId != 0)
            {
                hash ^= RequirementId.GetHashCode();
            }
            if (U13.Length != 0)
            {
                hash ^= U13.GetHashCode();
            }
            if (U14.Length != 0)
            {
                hash ^= U14.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RequirementId != 0)
            {
                hash ^= RequirementId.GetHashCode();
            }
            if (U2 != 0)
            {
                hash ^= U2.GetHashCode();
            }
            if (U3 != 0)
            {
                hash ^= U3.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }