예제 #1
0
파일: Mission.cs 프로젝트: kwsch/ReMasters
        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);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MissionGroupId != 0)
            {
                hash ^= MissionGroupId.GetHashCode();
            }
            if (ScheduleId.Length != 0)
            {
                hash ^= ScheduleId.GetHashCode();
            }
            if (U3 != 0)
            {
                hash ^= U3.GetHashCode();
            }
            if (U4 != 0)
            {
                hash ^= U4.GetHashCode();
            }
            if (U5 != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (U6 != 0)
            {
                hash ^= U6.GetHashCode();
            }
            if (ItemSetId != 0L)
            {
                hash ^= ItemSetId.GetHashCode();
            }
            if (BannerId != 0)
            {
                hash ^= BannerId.GetHashCode();
            }
            if (U9 != 0)
            {
                hash ^= U9.GetHashCode();
            }
            if (U10 != 0)
            {
                hash ^= U10.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemId != 0UL)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (MissionGroupId != 0)
            {
                hash ^= MissionGroupId.GetHashCode();
            }
            if (U3 != 0)
            {
                hash ^= U3.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }