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

            if (ActivityMissionId != 0)
            {
                hash ^= ActivityMissionId.GetHashCode();
            }
            if (ActivityMissionName.Length != 0)
            {
                hash ^= ActivityMissionName.GetHashCode();
            }
            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            hash ^= award_.GetHashCode();
            if (ActivityMissionDesc.Length != 0)
            {
                hash ^= ActivityMissionDesc.GetHashCode();
            }
            if (JumpTo.Length != 0)
            {
                hash ^= JumpTo.GetHashCode();
            }
            if (extra_ != null)
            {
                hash ^= Extra.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
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);
        }