_bagHandler.cs 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. //
  5. // Changes to this file may cause incorrect behavior and will be lost if
  6. // the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. // ***************************************************************************
  10. // * 作者= 刘羿君
  11. // * 创建时间= 2015-10-17
  12. // * 用途= 背包处理器
  13. // ***************************************************************************
  14. // Generated from: bagHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. // Note: requires additional types generated from: item.proto
  17. namespace pomelo.area
  18. {
  19. //---------------------------------------------------------------------------------------
  20. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PackUpBagRequest")]
  21. public partial class PackUpBagRequest : global::ProtoBuf.IExtensible
  22. {
  23. public PackUpBagRequest() {}
  24. private int _c2s_type;
  25. /// <summary>
  26. /// 类型
  27. /// </summary>
  28. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  29. public int c2s_type
  30. {
  31. get { return _c2s_type; }
  32. set { _c2s_type = value; }
  33. }
  34. private global::ProtoBuf.IExtension extensionObject;
  35. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  36. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  37. }
  38. //---------------------------------------------------------------------------------------
  39. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PackUpBagResponse")]
  40. public partial class PackUpBagResponse : global::ProtoBuf.IExtensible
  41. {
  42. public PackUpBagResponse() {}
  43. private int _s2c_code;
  44. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  45. public int s2c_code
  46. {
  47. get { return _s2c_code; }
  48. set { _s2c_code = value; }
  49. }
  50. private string _s2c_msg = "";
  51. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  52. [global::System.ComponentModel.DefaultValue("")]
  53. public string s2c_msg
  54. {
  55. get { return _s2c_msg; }
  56. set { _s2c_msg = value; }
  57. }
  58. private int _s2c_type = default(int);
  59. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  60. [global::System.ComponentModel.DefaultValue(default(int))]
  61. public int s2c_type
  62. {
  63. get { return _s2c_type; }
  64. set { _s2c_type = value; }
  65. }
  66. private readonly global::System.Collections.Generic.List<pomelo.item.Grid> _s2c_bagGrids = new global::System.Collections.Generic.List<pomelo.item.Grid>();
  67. [global::ProtoBuf.ProtoMember(4, Name=@"s2c_bagGrids", DataFormat = global::ProtoBuf.DataFormat.Default)]
  68. public global::System.Collections.Generic.List<pomelo.item.Grid> s2c_bagGrids
  69. {
  70. get { return _s2c_bagGrids; }
  71. }
  72. private global::ProtoBuf.IExtension extensionObject;
  73. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  74. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  75. }
  76. //---------------------------------------------------------------------------------------
  77. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OpenBagGridRequest")]
  78. public partial class OpenBagGridRequest : global::ProtoBuf.IExtensible
  79. {
  80. public OpenBagGridRequest() {}
  81. private int _c2s_type;
  82. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  83. public int c2s_type
  84. {
  85. get { return _c2s_type; }
  86. set { _c2s_type = value; }
  87. }
  88. private int _c2s_number;
  89. /// <summary>
  90. /// 开的格子数量
  91. /// </summary>
  92. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_number", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  93. public int c2s_number
  94. {
  95. get { return _c2s_number; }
  96. set { _c2s_number = value; }
  97. }
  98. private global::ProtoBuf.IExtension extensionObject;
  99. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  100. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  101. }
  102. //---------------------------------------------------------------------------------------
  103. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OpenBagGridResponse")]
  104. public partial class OpenBagGridResponse : global::ProtoBuf.IExtensible
  105. {
  106. public OpenBagGridResponse() {}
  107. private int _s2c_code;
  108. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  109. public int s2c_code
  110. {
  111. get { return _s2c_code; }
  112. set { _s2c_code = value; }
  113. }
  114. private string _s2c_msg = "";
  115. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  116. [global::System.ComponentModel.DefaultValue("")]
  117. public string s2c_msg
  118. {
  119. get { return _s2c_msg; }
  120. set { _s2c_msg = value; }
  121. }
  122. private int _s2c_type = default(int);
  123. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  124. [global::System.ComponentModel.DefaultValue(default(int))]
  125. public int s2c_type
  126. {
  127. get { return _s2c_type; }
  128. set { _s2c_type = value; }
  129. }
  130. private int _s2c_bagGridCount = default(int);
  131. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_bagGridCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  132. [global::System.ComponentModel.DefaultValue(default(int))]
  133. public int s2c_bagGridCount
  134. {
  135. get { return _s2c_bagGridCount; }
  136. set { _s2c_bagGridCount = value; }
  137. }
  138. private global::ProtoBuf.IExtension extensionObject;
  139. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  140. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  141. }
  142. //---------------------------------------------------------------------------------------
  143. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AddBagItemTestNotify")]
  144. public partial class AddBagItemTestNotify : global::ProtoBuf.IExtensible
  145. {
  146. public AddBagItemTestNotify() {}
  147. private global::ProtoBuf.IExtension extensionObject;
  148. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  149. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  150. }
  151. //---------------------------------------------------------------------------------------
  152. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TransferItemRequest")]
  153. public partial class TransferItemRequest : global::ProtoBuf.IExtensible
  154. {
  155. public TransferItemRequest() {}
  156. private int _c2s_fromType;
  157. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_fromType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  158. public int c2s_fromType
  159. {
  160. get { return _c2s_fromType; }
  161. set { _c2s_fromType = value; }
  162. }
  163. private int _c2s_fromIndex;
  164. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_fromIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  165. public int c2s_fromIndex
  166. {
  167. get { return _c2s_fromIndex; }
  168. set { _c2s_fromIndex = value; }
  169. }
  170. private int _c2s_toType;
  171. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"c2s_toType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  172. public int c2s_toType
  173. {
  174. get { return _c2s_toType; }
  175. set { _c2s_toType = value; }
  176. }
  177. private int _c2s_num;
  178. /// <summary>
  179. /// 存储的数量
  180. /// </summary>
  181. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"c2s_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  182. public int c2s_num
  183. {
  184. get { return _c2s_num; }
  185. set { _c2s_num = value; }
  186. }
  187. private global::ProtoBuf.IExtension extensionObject;
  188. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  189. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  190. }
  191. //---------------------------------------------------------------------------------------
  192. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TransferItemResponse")]
  193. public partial class TransferItemResponse : global::ProtoBuf.IExtensible
  194. {
  195. public TransferItemResponse() {}
  196. private int _s2c_code;
  197. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  198. public int s2c_code
  199. {
  200. get { return _s2c_code; }
  201. set { _s2c_code = value; }
  202. }
  203. private string _s2c_msg = "";
  204. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  205. [global::System.ComponentModel.DefaultValue("")]
  206. public string s2c_msg
  207. {
  208. get { return _s2c_msg; }
  209. set { _s2c_msg = value; }
  210. }
  211. private global::ProtoBuf.IExtension extensionObject;
  212. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  213. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  214. }
  215. //---------------------------------------------------------------------------------------
  216. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SellItemRequest")]
  217. public partial class SellItemRequest : global::ProtoBuf.IExtensible
  218. {
  219. public SellItemRequest() {}
  220. private int _c2s_gridIndex;
  221. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_gridIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  222. public int c2s_gridIndex
  223. {
  224. get { return _c2s_gridIndex; }
  225. set { _c2s_gridIndex = value; }
  226. }
  227. private int _c2s_num;
  228. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  229. public int c2s_num
  230. {
  231. get { return _c2s_num; }
  232. set { _c2s_num = value; }
  233. }
  234. private global::ProtoBuf.IExtension extensionObject;
  235. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  236. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  237. }
  238. //---------------------------------------------------------------------------------------
  239. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SellItemResponse")]
  240. public partial class SellItemResponse : global::ProtoBuf.IExtensible
  241. {
  242. public SellItemResponse() {}
  243. private int _s2c_code;
  244. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  245. public int s2c_code
  246. {
  247. get { return _s2c_code; }
  248. set { _s2c_code = value; }
  249. }
  250. private string _s2c_msg = "";
  251. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  252. [global::System.ComponentModel.DefaultValue("")]
  253. public string s2c_msg
  254. {
  255. get { return _s2c_msg; }
  256. set { _s2c_msg = value; }
  257. }
  258. private global::ProtoBuf.IExtension extensionObject;
  259. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  260. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  261. }
  262. //---------------------------------------------------------------------------------------
  263. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SellItemBatchRequest")]
  264. public partial class SellItemBatchRequest : global::ProtoBuf.IExtensible
  265. {
  266. public SellItemBatchRequest() {}
  267. private readonly global::System.Collections.Generic.List<pomelo.area.SellItemRequest> _c2s_gridList = new global::System.Collections.Generic.List<pomelo.area.SellItemRequest>();
  268. [global::ProtoBuf.ProtoMember(1, Name=@"c2s_gridList", DataFormat = global::ProtoBuf.DataFormat.Default)]
  269. public global::System.Collections.Generic.List<pomelo.area.SellItemRequest> c2s_gridList
  270. {
  271. get { return _c2s_gridList; }
  272. }
  273. private global::ProtoBuf.IExtension extensionObject;
  274. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  275. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  276. }
  277. //---------------------------------------------------------------------------------------
  278. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SellItemBatchResponse")]
  279. public partial class SellItemBatchResponse : global::ProtoBuf.IExtensible
  280. {
  281. public SellItemBatchResponse() {}
  282. private int _s2c_code;
  283. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  284. public int s2c_code
  285. {
  286. get { return _s2c_code; }
  287. set { _s2c_code = value; }
  288. }
  289. private string _s2c_msg = "";
  290. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  291. [global::System.ComponentModel.DefaultValue("")]
  292. public string s2c_msg
  293. {
  294. get { return _s2c_msg; }
  295. set { _s2c_msg = value; }
  296. }
  297. private global::ProtoBuf.IExtension extensionObject;
  298. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  299. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  300. }
  301. //---------------------------------------------------------------------------------------
  302. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UseItemRequest")]
  303. public partial class UseItemRequest : global::ProtoBuf.IExtensible
  304. {
  305. public UseItemRequest() {}
  306. private int _c2s_gridIndex;
  307. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_gridIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  308. public int c2s_gridIndex
  309. {
  310. get { return _c2s_gridIndex; }
  311. set { _c2s_gridIndex = value; }
  312. }
  313. private int _c2s_num;
  314. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  315. public int c2s_num
  316. {
  317. get { return _c2s_num; }
  318. set { _c2s_num = value; }
  319. }
  320. private global::ProtoBuf.IExtension extensionObject;
  321. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  322. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  323. }
  324. //---------------------------------------------------------------------------------------
  325. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UseItemResponse")]
  326. public partial class UseItemResponse : global::ProtoBuf.IExtensible
  327. {
  328. public UseItemResponse() {}
  329. private int _s2c_code;
  330. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  331. public int s2c_code
  332. {
  333. get { return _s2c_code; }
  334. set { _s2c_code = value; }
  335. }
  336. private string _s2c_msg = "";
  337. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  338. [global::System.ComponentModel.DefaultValue("")]
  339. public string s2c_msg
  340. {
  341. get { return _s2c_msg; }
  342. set { _s2c_msg = value; }
  343. }
  344. private readonly global::System.Collections.Generic.List<pomelo.item.MiniItem> _s2c_chest = new global::System.Collections.Generic.List<pomelo.item.MiniItem>();
  345. /// <summary>
  346. /// 宝箱
  347. /// </summary>
  348. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_chest", DataFormat = global::ProtoBuf.DataFormat.Default)]
  349. public global::System.Collections.Generic.List<pomelo.item.MiniItem> s2c_chest
  350. {
  351. get { return _s2c_chest; }
  352. }
  353. private int _is_gain = default(int);
  354. /// <summary>
  355. /// 1:药剂 2:改名卡
  356. /// </summary>
  357. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"is_gain", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  358. [global::System.ComponentModel.DefaultValue(default(int))]
  359. public int is_gain
  360. {
  361. get { return _is_gain; }
  362. set { _is_gain = value; }
  363. }
  364. private string _s2c_itemCode = "";
  365. /// <summary>
  366. /// 物品代码
  367. /// </summary>
  368. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"s2c_itemCode", DataFormat = global::ProtoBuf.DataFormat.Default)]
  369. [global::System.ComponentModel.DefaultValue("")]
  370. public string s2c_itemCode
  371. {
  372. get { return _s2c_itemCode; }
  373. set { _s2c_itemCode = value; }
  374. }
  375. private global::ProtoBuf.IExtension extensionObject;
  376. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  377. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  378. }
  379. //---------------------------------------------------------------------------------------
  380. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DisintegrationRequest")]
  381. public partial class DisintegrationRequest : global::ProtoBuf.IExtensible
  382. {
  383. public DisintegrationRequest() {}
  384. private int _c2s_gridIndex;
  385. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_gridIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  386. public int c2s_gridIndex
  387. {
  388. get { return _c2s_gridIndex; }
  389. set { _c2s_gridIndex = value; }
  390. }
  391. private int _c2s_num;
  392. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  393. public int c2s_num
  394. {
  395. get { return _c2s_num; }
  396. set { _c2s_num = value; }
  397. }
  398. private global::ProtoBuf.IExtension extensionObject;
  399. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  400. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  401. }
  402. //---------------------------------------------------------------------------------------
  403. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DisintegrationResponse")]
  404. public partial class DisintegrationResponse : global::ProtoBuf.IExtensible
  405. {
  406. public DisintegrationResponse() {}
  407. private int _s2c_code;
  408. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  409. public int s2c_code
  410. {
  411. get { return _s2c_code; }
  412. set { _s2c_code = value; }
  413. }
  414. private string _s2c_msg = "";
  415. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  416. [global::System.ComponentModel.DefaultValue("")]
  417. public string s2c_msg
  418. {
  419. get { return _s2c_msg; }
  420. set { _s2c_msg = value; }
  421. }
  422. private global::ProtoBuf.IExtension extensionObject;
  423. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  424. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  425. }
  426. //---------------------------------------------------------------------------------------
  427. /// <summary>
  428. /// 背包格子更新
  429. /// </summary>
  430. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BagItemUpdatePush")]
  431. public partial class BagItemUpdatePush : global::ProtoBuf.IExtensible
  432. {
  433. public BagItemUpdatePush() {}
  434. private int _s2c_type;
  435. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"s2c_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  436. public int s2c_type
  437. {
  438. get { return _s2c_type; }
  439. set { _s2c_type = value; }
  440. }
  441. private readonly global::System.Collections.Generic.List<pomelo.item.Grid> _s2c_data = new global::System.Collections.Generic.List<pomelo.item.Grid>();
  442. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  443. public global::System.Collections.Generic.List<pomelo.item.Grid> s2c_data
  444. {
  445. get { return _s2c_data; }
  446. }
  447. private global::ProtoBuf.IExtension extensionObject;
  448. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  449. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  450. }
  451. //---------------------------------------------------------------------------------------
  452. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BagNewItemPush")]
  453. public partial class BagNewItemPush : global::ProtoBuf.IExtensible
  454. {
  455. public BagNewItemPush() {}
  456. private readonly global::System.Collections.Generic.List<pomelo.item.MiniItem> _s2c_data = new global::System.Collections.Generic.List<pomelo.item.MiniItem>();
  457. [global::ProtoBuf.ProtoMember(2, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  458. public global::System.Collections.Generic.List<pomelo.item.MiniItem> s2c_data
  459. {
  460. get { return _s2c_data; }
  461. }
  462. private int _falg = default(int);
  463. /// <summary>
  464. /// 0-飘字,1-弹框
  465. /// </summary>
  466. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"falg", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  467. [global::System.ComponentModel.DefaultValue(default(int))]
  468. public int falg
  469. {
  470. get { return _falg; }
  471. set { _falg = value; }
  472. }
  473. private global::ProtoBuf.IExtension extensionObject;
  474. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  475. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  476. }
  477. //---------------------------------------------------------------------------------------
  478. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BagNewEquipPush")]
  479. public partial class BagNewEquipPush : global::ProtoBuf.IExtensible
  480. {
  481. public BagNewEquipPush() {}
  482. private readonly global::System.Collections.Generic.List<string> _s2c_data = new global::System.Collections.Generic.List<string>();
  483. /// <summary>
  484. /// 装备ids
  485. /// </summary>
  486. [global::ProtoBuf.ProtoMember(2, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  487. public global::System.Collections.Generic.List<string> s2c_data
  488. {
  489. get { return _s2c_data; }
  490. }
  491. private global::ProtoBuf.IExtension extensionObject;
  492. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  493. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  494. }
  495. //---------------------------------------------------------------------------------------
  496. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BagGridFullPush")]
  497. public partial class BagGridFullPush : global::ProtoBuf.IExtensible
  498. {
  499. public BagGridFullPush() {}
  500. private int _s2c_code;
  501. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  502. public int s2c_code
  503. {
  504. get { return _s2c_code; }
  505. set { _s2c_code = value; }
  506. }
  507. private global::ProtoBuf.IExtension extensionObject;
  508. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  509. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  510. }
  511. //---------------------------------------------------------------------------------------
  512. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BagGridNumPush")]
  513. public partial class BagGridNumPush : global::ProtoBuf.IExtensible
  514. {
  515. public BagGridNumPush() {}
  516. private int _s2c_type;
  517. /// <summary>
  518. /// 1背包 2仓库 3账号仓库 4出售物品回收站
  519. /// </summary>
  520. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  521. public int s2c_type
  522. {
  523. get { return _s2c_type; }
  524. set { _s2c_type = value; }
  525. }
  526. private int _grid_num;
  527. /// <summary>
  528. /// 新的格子数量
  529. /// </summary>
  530. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"grid_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  531. public int grid_num
  532. {
  533. get { return _grid_num; }
  534. set { _grid_num = value; }
  535. }
  536. private global::ProtoBuf.IExtension extensionObject;
  537. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  538. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  539. }
  540. //---------------------------------------------------------------------------------------
  541. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BagNewItemFromResFubenPush")]
  542. public partial class BagNewItemFromResFubenPush : global::ProtoBuf.IExtensible
  543. {
  544. public BagNewItemFromResFubenPush() {}
  545. private readonly global::System.Collections.Generic.List<pomelo.item.MiniItem> _s2c_data = new global::System.Collections.Generic.List<pomelo.item.MiniItem>();
  546. [global::ProtoBuf.ProtoMember(2, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  547. public global::System.Collections.Generic.List<pomelo.item.MiniItem> s2c_data
  548. {
  549. get { return _s2c_data; }
  550. }
  551. private global::ProtoBuf.IExtension extensionObject;
  552. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  553. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  554. }
  555. }