Example #1
0
        public void copyFrom(CardGroupItem rhv)
        {
            if (rhv.m_cardGroup != null)
            {
                if (m_cardGroup == null)
                {
                    m_cardGroup = new t_group_list();
                }
                m_cardGroup.copyFrom(rhv.m_cardGroup);
            }

            this.m_tableJobItemBody = rhv.m_tableJobItemBody;

            if (this.m_cardList == null)
            {
                this.m_cardList = new List <uint>();
            }
            this.m_cardList.Clear();
            if (rhv.m_cardList != null)
            {
                this.m_cardList.AddRange(rhv.m_cardList);
            }
        }
Example #2
0
        public void copyFrom(CardGroupItem rhv)
        {
            if (rhv.m_cardGroup != null)
            {
                if (m_cardGroup == null)
                {
                    m_cardGroup = new t_group_list();
                }
                m_cardGroup.copyFrom(rhv.m_cardGroup);
            }

            this.m_tableJobItemBody = rhv.m_tableJobItemBody;

            if (this.m_cardList == null)
            {
                this.m_cardList = new List<uint>();
            }
            this.m_cardList.Clear();
            if (rhv.m_cardList != null)
            {
                this.m_cardList.AddRange(rhv.m_cardList);
            }
        }
Example #3
0
        public override void derialize(ByteBuffer bu)
        {
            base.derialize(bu);
            bu.readUnsignedInt16(ref count);

            info = new List<t_group_list>();
            t_group_list item;
            int idx = 0;
            while (idx < count)
            {
                item = new t_group_list();
                item.derialize(bu);
                info.Add(item);
                ++idx;
            }
        }