Пример #1
0
        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);
        }
Пример #2
0
 public void addToStreamEx(Bundle stream, CARDGROUP_INFO v)
 {
     stream.writeUnicode(v.Name);
     stream.writeUint8(v.RoleType);
     CardList_DataType.addToStreamEx(stream, v.CardList);
 }