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

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (MissionId != 0)
            {
                hash ^= MissionId.GetHashCode();
            }
            if (MissionType != 0)
            {
                hash ^= MissionType.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (Progress != 0L)
            {
                hash ^= Progress.GetHashCode();
            }
            if (Finish != 0L)
            {
                hash ^= Finish.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MissionType != 0)
            {
                hash ^= MissionType.GetHashCode();
            }
            if (Player != 0)
            {
                hash ^= Player.GetHashCode();
            }
            if (Weight != 0)
            {
                hash ^= Weight.GetHashCode();
            }
            hash ^= awards_.GetHashCode();
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MissionId != 0)
            {
                hash ^= MissionId.GetHashCode();
            }
            if (MissionName.Length != 0)
            {
                hash ^= MissionName.GetHashCode();
            }
            if (MissionType != 0)
            {
                hash ^= MissionType.GetHashCode();
            }
            hash ^= award_.GetHashCode();
            if (MissionDesc.Length != 0)
            {
                hash ^= MissionDesc.GetHashCode();
            }
            if (JumpTo.Length != 0)
            {
                hash ^= JumpTo.GetHashCode();
            }
            if (Weight != 0)
            {
                hash ^= Weight.GetHashCode();
            }
            if (Player != 0)
            {
                hash ^= Player.GetHashCode();
            }
            if (PopUps != 0)
            {
                hash ^= PopUps.GetHashCode();
            }
            if (extra_ != null)
            {
                hash ^= Extra.GetHashCode();
            }
            return(hash);
        }
示例#4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MissionType != 0)
            {
                hash ^= MissionType.GetHashCode();
            }
            if (Player != 0)
            {
                hash ^= Player.GetHashCode();
            }
            if (Progress != 0)
            {
                hash ^= Progress.GetHashCode();
            }
            hash ^= list_.GetHashCode();
            return(hash);
        }