예제 #1
0
        public override void derialize(ByteBuffer bu)
        {
            base.derialize(bu);

            bu.readUnsignedInt16(ref count);
            if (count > 0)
            {
                int idx = 0;
                info = new List <t_hero>();
                t_hero item;
                while (idx < count)
                {
                    item = new t_hero();
                    info.Add(item);
                    item.derialize(bu);
                    ++idx;
                }
            }
        }
예제 #2
0
        public override void derialize(ByteBuffer bu)
        {
            base.derialize(bu);

            info.derialize(bu);
        }