public override void derialize(ByteBuffer bu) { base.derialize(bu); bu.readUnsignedInt16(ref count); list = new List <CardListItem>(); CardListItem item; int idx = 0; while (idx < count) { item = new CardListItem(); list.Add(item); item.derialize(bu); ++idx; } }
public override void derialize(ByteBuffer bu) { base.derialize(bu); bu.readUnsignedInt16(ref count); list = new List<CardListItem>(); CardListItem item; int idx = 0; while(idx < count) { item = new CardListItem(); list.Add(item); item.derialize(bu); ++idx; } }