public void addToStreamEx(Bundle stream, D_PROPS_INFOS v) { stream.writeInt32(v.prop_id); stream.writeUnicode(v.prop_name); stream.writeString(v.prop_icon); stream.writeInt32(v.prop_type); stream.writeInt32(v.prop_quality); stream.writeInt32(v.prop_order); stream.writeInt32(v.prop_max); stream.writeInt32(v.prop_resale); stream.writeInt32(v.prop_diamond); stream.writeInt32(v.prop_hanbing); stream.writeInt32(v.prop_moba); stream.writeInt32(v.prop_jjc); stream.writeInt32(v.prop_maoxian); stream.writeUnicode(v.prop_describe); stream.writeInt32(v.prop_function); stream.writeInt32(v.prop_parameters1); stream.writeInt32(v.prop_parameters2); stream.writeInt32(v.prop_parameters3); stream.writeInt32(v.prop_parameters4); stream.writeInt32(v.prop_parameters5); stream.writeInt32(v.prop_parameters6); stream.writeInt32(v.prop_drop1); stream.writeInt32(v.prop_drop2); stream.writeInt32(v.prop_drop3); stream.writeInt32(v.prop_drop4); stream.writeInt32(v.prop_gm); stream.writeInt32(v.prop_buy); }
public D_PROPS_INFOS createFromStreamEx(MemoryStream stream) { D_PROPS_INFOS datas = new D_PROPS_INFOS(); datas.prop_id = stream.readInt32(); datas.prop_name = stream.readUnicode(); datas.prop_icon = stream.readString(); datas.prop_type = stream.readInt32(); datas.prop_quality = stream.readInt32(); datas.prop_order = stream.readInt32(); datas.prop_max = stream.readInt32(); datas.prop_resale = stream.readInt32(); datas.prop_diamond = stream.readInt32(); datas.prop_hanbing = stream.readInt32(); datas.prop_moba = stream.readInt32(); datas.prop_jjc = stream.readInt32(); datas.prop_maoxian = stream.readInt32(); datas.prop_describe = stream.readUnicode(); datas.prop_function = stream.readInt32(); datas.prop_parameters1 = stream.readInt32(); datas.prop_parameters2 = stream.readInt32(); datas.prop_parameters3 = stream.readInt32(); datas.prop_parameters4 = stream.readInt32(); datas.prop_parameters5 = stream.readInt32(); datas.prop_parameters6 = stream.readInt32(); datas.prop_drop1 = stream.readInt32(); datas.prop_drop2 = stream.readInt32(); datas.prop_drop3 = stream.readInt32(); datas.prop_drop4 = stream.readInt32(); datas.prop_gm = stream.readInt32(); datas.prop_buy = stream.readInt32(); return(datas); }