예제 #1
0
 public void addToStreamEx(Bundle stream, D_SHOP_INFOS v)
 {
     stream.writeInt32(v.shop_id);
     stream.writeUnicode(v.shop_des);
     stream.writeInt32(v.shop_refreshstart);
     stream.writeInt32(v.shop_refreshtime);
     stream.writeInt32(v.shop_needid);
     stream.writeUnicode(v.shop_needdes);
     stream.writeInt32(v.shop_amount);
     stream.writeString(v.shop_refreshtime1);
     stream.writeInt32(v.open_lv);
 }
예제 #2
0
        public D_SHOP_INFOS createFromStreamEx(MemoryStream stream)
        {
            D_SHOP_INFOS datas = new D_SHOP_INFOS();

            datas.shop_id           = stream.readInt32();
            datas.shop_des          = stream.readUnicode();
            datas.shop_refreshstart = stream.readInt32();
            datas.shop_refreshtime  = stream.readInt32();
            datas.shop_needid       = stream.readInt32();
            datas.shop_needdes      = stream.readUnicode();
            datas.shop_amount       = stream.readInt32();
            datas.shop_refreshtime1 = stream.readString();
            datas.open_lv           = stream.readInt32();
            return(datas);
        }