public CARDGROUP_INFO createFromStreamEx(MemoryStream stream) { CARDGROUP_INFO datas = new CARDGROUP_INFO(); datas.Name = stream.readUnicode(); datas.RoleType = stream.readUint8(); datas.CardList = CardList_DataType.createFromStreamEx(stream); return(datas); }
public void addToStreamEx(Bundle stream, CARDGROUP_INFO v) { stream.writeUnicode(v.Name); stream.writeUint8(v.RoleType); CardList_DataType.addToStreamEx(stream, v.CardList); }