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; } } }
public override void derialize(ByteBuffer bu) { base.derialize(bu); info.derialize(bu); }