_itemHandler.cs 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730
  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: itemHandler.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. /// <summary>
  21. /// 更新new角标
  22. /// </summary>
  23. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"QueryItemStatusUpdateNotify")]
  24. public partial class QueryItemStatusUpdateNotify : global::ProtoBuf.IExtensible
  25. {
  26. public QueryItemStatusUpdateNotify() {}
  27. private int _index;
  28. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  29. public int index
  30. {
  31. get { return _index; }
  32. set { _index = 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=@"GetAllEquipDetailsRequest")]
  40. public partial class GetAllEquipDetailsRequest : global::ProtoBuf.IExtensible
  41. {
  42. public GetAllEquipDetailsRequest() {}
  43. private global::ProtoBuf.IExtension extensionObject;
  44. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  45. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  46. }
  47. //---------------------------------------------------------------------------------------
  48. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetAllEquipDetailsResponse")]
  49. public partial class GetAllEquipDetailsResponse : global::ProtoBuf.IExtensible
  50. {
  51. public GetAllEquipDetailsResponse() {}
  52. private int _s2c_code;
  53. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  54. public int s2c_code
  55. {
  56. get { return _s2c_code; }
  57. set { _s2c_code = value; }
  58. }
  59. private string _s2c_msg = "";
  60. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  61. [global::System.ComponentModel.DefaultValue("")]
  62. public string s2c_msg
  63. {
  64. get { return _s2c_msg; }
  65. set { _s2c_msg = value; }
  66. }
  67. private readonly global::System.Collections.Generic.List<pomelo.item.ItemDetail> _s2c_items = new global::System.Collections.Generic.List<pomelo.item.ItemDetail>();
  68. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_items", DataFormat = global::ProtoBuf.DataFormat.Default)]
  69. public global::System.Collections.Generic.List<pomelo.item.ItemDetail> s2c_items
  70. {
  71. get { return _s2c_items; }
  72. }
  73. private global::ProtoBuf.IExtension extensionObject;
  74. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  75. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  76. }
  77. //---------------------------------------------------------------------------------------
  78. /// <summary>
  79. /// 请求合成公式
  80. /// </summary>
  81. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetCombineFormulaRequest")]
  82. public partial class GetCombineFormulaRequest : global::ProtoBuf.IExtensible
  83. {
  84. public GetCombineFormulaRequest() {}
  85. private int _c2s_destID;
  86. /// <summary>
  87. /// 合成表里面的索引ID
  88. /// </summary>
  89. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_destID", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  90. public int c2s_destID
  91. {
  92. get { return _c2s_destID; }
  93. set { _c2s_destID = value; }
  94. }
  95. private global::ProtoBuf.IExtension extensionObject;
  96. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  97. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  98. }
  99. //---------------------------------------------------------------------------------------
  100. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetCombineFormulaResponse")]
  101. public partial class GetCombineFormulaResponse : global::ProtoBuf.IExtensible
  102. {
  103. public GetCombineFormulaResponse() {}
  104. private int _s2c_code;
  105. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  106. public int s2c_code
  107. {
  108. get { return _s2c_code; }
  109. set { _s2c_code = value; }
  110. }
  111. private string _s2c_msg = "";
  112. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  113. [global::System.ComponentModel.DefaultValue("")]
  114. public string s2c_msg
  115. {
  116. get { return _s2c_msg; }
  117. set { _s2c_msg = value; }
  118. }
  119. private pomelo.item.Combine _s2c_data = null;
  120. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  121. [global::System.ComponentModel.DefaultValue(null)]
  122. public pomelo.item.Combine s2c_data
  123. {
  124. get { return _s2c_data; }
  125. set { _s2c_data = value; }
  126. }
  127. private global::ProtoBuf.IExtension extensionObject;
  128. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  129. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  130. }
  131. //---------------------------------------------------------------------------------------
  132. /// <summary>
  133. /// 请求合成
  134. /// </summary>
  135. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CombineRequest")]
  136. public partial class CombineRequest : global::ProtoBuf.IExtensible
  137. {
  138. public CombineRequest() {}
  139. private int _c2s_destID;
  140. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_destID", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  141. public int c2s_destID
  142. {
  143. get { return _c2s_destID; }
  144. set { _c2s_destID = value; }
  145. }
  146. private int _c2s_num = default(int);
  147. /// <summary>
  148. /// 要合成的数量
  149. /// </summary>
  150. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"c2s_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  151. [global::System.ComponentModel.DefaultValue(default(int))]
  152. public int c2s_num
  153. {
  154. get { return _c2s_num; }
  155. set { _c2s_num = value; }
  156. }
  157. private int _c2s_gridIndex = default(int);
  158. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"c2s_gridIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  159. [global::System.ComponentModel.DefaultValue(default(int))]
  160. public int c2s_gridIndex
  161. {
  162. get { return _c2s_gridIndex; }
  163. set { _c2s_gridIndex = value; }
  164. }
  165. private global::ProtoBuf.IExtension extensionObject;
  166. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  167. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  168. }
  169. //---------------------------------------------------------------------------------------
  170. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CombineResponse")]
  171. public partial class CombineResponse : global::ProtoBuf.IExtensible
  172. {
  173. public CombineResponse() {}
  174. private int _s2c_code;
  175. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  176. public int s2c_code
  177. {
  178. get { return _s2c_code; }
  179. set { _s2c_code = value; }
  180. }
  181. private string _s2c_msg = "";
  182. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  183. [global::System.ComponentModel.DefaultValue("")]
  184. public string s2c_msg
  185. {
  186. get { return _s2c_msg; }
  187. set { _s2c_msg = value; }
  188. }
  189. private global::ProtoBuf.IExtension extensionObject;
  190. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  191. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  192. }
  193. //---------------------------------------------------------------------------------------
  194. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GemCombineRequest")]
  195. public partial class GemCombineRequest : global::ProtoBuf.IExtensible
  196. {
  197. public GemCombineRequest() {}
  198. private int _c2s_pos;
  199. /// <summary>
  200. /// 装备pos
  201. /// </summary>
  202. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  203. public int c2s_pos
  204. {
  205. get { return _c2s_pos; }
  206. set { _c2s_pos = value; }
  207. }
  208. private int _c2s_gridIndex;
  209. /// <summary>
  210. /// 宝石孔pos
  211. /// </summary>
  212. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_gridIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  213. public int c2s_gridIndex
  214. {
  215. get { return _c2s_gridIndex; }
  216. set { _c2s_gridIndex = value; }
  217. }
  218. private global::ProtoBuf.IExtension extensionObject;
  219. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  220. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  221. }
  222. //---------------------------------------------------------------------------------------
  223. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"gemLeftBuy")]
  224. public partial class gemLeftBuy : global::ProtoBuf.IExtensible
  225. {
  226. public gemLeftBuy() {}
  227. private string _gemID;
  228. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"gemID", DataFormat = global::ProtoBuf.DataFormat.Default)]
  229. public string gemID
  230. {
  231. get { return _gemID; }
  232. set { _gemID = value; }
  233. }
  234. private int _leftBuyf;
  235. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"leftBuyf", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  236. public int leftBuyf
  237. {
  238. get { return _leftBuyf; }
  239. set { _leftBuyf = value; }
  240. }
  241. private global::ProtoBuf.IExtension extensionObject;
  242. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  243. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  244. }
  245. //---------------------------------------------------------------------------------------
  246. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GemCombineResponse")]
  247. public partial class GemCombineResponse : global::ProtoBuf.IExtensible
  248. {
  249. public GemCombineResponse() {}
  250. private int _s2c_code;
  251. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  252. public int s2c_code
  253. {
  254. get { return _s2c_code; }
  255. set { _s2c_code = value; }
  256. }
  257. private string _s2c_msg = "";
  258. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  259. [global::System.ComponentModel.DefaultValue("")]
  260. public string s2c_msg
  261. {
  262. get { return _s2c_msg; }
  263. set { _s2c_msg = value; }
  264. }
  265. private int _c2s_pos = default(int);
  266. /// <summary>
  267. /// 装备pos
  268. /// </summary>
  269. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"c2s_pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  270. [global::System.ComponentModel.DefaultValue(default(int))]
  271. public int c2s_pos
  272. {
  273. get { return _c2s_pos; }
  274. set { _c2s_pos = value; }
  275. }
  276. private int _c2s_gridIndex = default(int);
  277. /// <summary>
  278. /// 宝石孔pos
  279. /// </summary>
  280. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"c2s_gridIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  281. [global::System.ComponentModel.DefaultValue(default(int))]
  282. public int c2s_gridIndex
  283. {
  284. get { return _c2s_gridIndex; }
  285. set { _c2s_gridIndex = value; }
  286. }
  287. private long _s2c_leftCoin = default(long);
  288. /// <summary>
  289. /// 剩余银币数量
  290. /// </summary>
  291. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"s2c_leftCoin", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  292. [global::System.ComponentModel.DefaultValue(default(long))]
  293. public long s2c_leftCoin
  294. {
  295. get { return _s2c_leftCoin; }
  296. set { _s2c_leftCoin = value; }
  297. }
  298. private readonly global::System.Collections.Generic.List<pomelo.area.gemLeftBuy> _gemShopLeftBuys = new global::System.Collections.Generic.List<pomelo.area.gemLeftBuy>();
  299. /// <summary>
  300. /// 宝石限购剩余次数
  301. /// </summary>
  302. [global::ProtoBuf.ProtoMember(6, Name=@"gemShopLeftBuys", DataFormat = global::ProtoBuf.DataFormat.Default)]
  303. public global::System.Collections.Generic.List<pomelo.area.gemLeftBuy> gemShopLeftBuys
  304. {
  305. get { return _gemShopLeftBuys; }
  306. }
  307. private global::ProtoBuf.IExtension extensionObject;
  308. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  309. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  310. }
  311. //---------------------------------------------------------------------------------------
  312. /// <summary>
  313. /// 勾选的物品对象
  314. /// </summary>
  315. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Item")]
  316. public partial class Item : global::ProtoBuf.IExtensible
  317. {
  318. public Item() {}
  319. private string _code;
  320. /// <summary>
  321. /// 物品code
  322. /// </summary>
  323. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  324. public string code
  325. {
  326. get { return _code; }
  327. set { _code = value; }
  328. }
  329. private int _num = default(int);
  330. /// <summary>
  331. /// 物品数量
  332. /// </summary>
  333. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  334. [global::System.ComponentModel.DefaultValue(default(int))]
  335. public int num
  336. {
  337. get { return _num; }
  338. set { _num = value; }
  339. }
  340. private int _gridIndex = default(int);
  341. /// <summary>
  342. /// 背包的格子
  343. /// </summary>
  344. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"gridIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  345. [global::System.ComponentModel.DefaultValue(default(int))]
  346. public int gridIndex
  347. {
  348. get { return _gridIndex; }
  349. set { _gridIndex = value; }
  350. }
  351. private bool _isbody = default(bool);
  352. /// <summary>
  353. /// 是否是身上穿戴的装备
  354. /// </summary>
  355. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"isbody", DataFormat = global::ProtoBuf.DataFormat.Default)]
  356. [global::System.ComponentModel.DefaultValue(default(bool))]
  357. public bool isbody
  358. {
  359. get { return _isbody; }
  360. set { _isbody = value; }
  361. }
  362. private global::ProtoBuf.IExtension extensionObject;
  363. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  364. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  365. }
  366. //---------------------------------------------------------------------------------------
  367. /// <summary>
  368. /// 八卦炉合成 请求
  369. /// </summary>
  370. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"StoveCombineRequest")]
  371. public partial class StoveCombineRequest : global::ProtoBuf.IExtensible
  372. {
  373. public StoveCombineRequest() {}
  374. private int _c2s_opType;
  375. /// <summary>
  376. /// 合成类型 1:单合一(如:背包的宝石合成) 2:多合一(如:多个材料合成新道具) 3:装备合成
  377. /// </summary>
  378. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_opType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  379. public int c2s_opType
  380. {
  381. get { return _c2s_opType; }
  382. set { _c2s_opType = value; }
  383. }
  384. private int _c2s_destID = default(int);
  385. /// <summary>
  386. /// 合成表里的索引ID(装备合成不传)
  387. /// </summary>
  388. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"c2s_destID", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  389. [global::System.ComponentModel.DefaultValue(default(int))]
  390. public int c2s_destID
  391. {
  392. get { return _c2s_destID; }
  393. set { _c2s_destID = value; }
  394. }
  395. private int _c2s_num = default(int);
  396. /// <summary>
  397. /// 要合成的数量(装备合成不传)
  398. /// </summary>
  399. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"c2s_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  400. [global::System.ComponentModel.DefaultValue(default(int))]
  401. public int c2s_num
  402. {
  403. get { return _c2s_num; }
  404. set { _c2s_num = value; }
  405. }
  406. private readonly global::System.Collections.Generic.List<pomelo.area.Item> _c2s_chooseList = new global::System.Collections.Generic.List<pomelo.area.Item>();
  407. /// <summary>
  408. /// 勾选的物品List
  409. /// </summary>
  410. [global::ProtoBuf.ProtoMember(4, Name=@"c2s_chooseList", DataFormat = global::ProtoBuf.DataFormat.Default)]
  411. public global::System.Collections.Generic.List<pomelo.area.Item> c2s_chooseList
  412. {
  413. get { return _c2s_chooseList; }
  414. }
  415. private global::ProtoBuf.IExtension extensionObject;
  416. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  417. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  418. }
  419. //---------------------------------------------------------------------------------------
  420. /// <summary>
  421. /// 八卦炉装备合成 返回
  422. /// </summary>
  423. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"StoveCombineResponse")]
  424. public partial class StoveCombineResponse : global::ProtoBuf.IExtensible
  425. {
  426. public StoveCombineResponse() {}
  427. private int _s2c_code;
  428. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  429. public int s2c_code
  430. {
  431. get { return _s2c_code; }
  432. set { _s2c_code = value; }
  433. }
  434. private string _s2c_msg = "";
  435. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  436. [global::System.ComponentModel.DefaultValue("")]
  437. public string s2c_msg
  438. {
  439. get { return _s2c_msg; }
  440. set { _s2c_msg = value; }
  441. }
  442. private readonly global::System.Collections.Generic.List<string> _s2c_itemCode = new global::System.Collections.Generic.List<string>();
  443. /// <summary>
  444. /// 获得的装备
  445. /// </summary>
  446. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_itemCode", DataFormat = global::ProtoBuf.DataFormat.Default)]
  447. public global::System.Collections.Generic.List<string> s2c_itemCode
  448. {
  449. get { return _s2c_itemCode; }
  450. }
  451. private global::ProtoBuf.IExtension extensionObject;
  452. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  453. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  454. }
  455. //---------------------------------------------------------------------------------------
  456. /// <summary>
  457. /// 烹饪 请求
  458. /// </summary>
  459. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CookingRequest")]
  460. public partial class CookingRequest : global::ProtoBuf.IExtensible
  461. {
  462. public CookingRequest() {}
  463. private int _c2s_destID = default(int);
  464. /// <summary>
  465. /// 合成表里的索引ID
  466. /// </summary>
  467. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"c2s_destID", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  468. [global::System.ComponentModel.DefaultValue(default(int))]
  469. public int c2s_destID
  470. {
  471. get { return _c2s_destID; }
  472. set { _c2s_destID = value; }
  473. }
  474. private readonly global::System.Collections.Generic.List<pomelo.area.Item> _c2s_chooseList = new global::System.Collections.Generic.List<pomelo.area.Item>();
  475. /// <summary>
  476. /// 勾选的物品List
  477. /// </summary>
  478. [global::ProtoBuf.ProtoMember(2, Name=@"c2s_chooseList", DataFormat = global::ProtoBuf.DataFormat.Default)]
  479. public global::System.Collections.Generic.List<pomelo.area.Item> c2s_chooseList
  480. {
  481. get { return _c2s_chooseList; }
  482. }
  483. private global::ProtoBuf.IExtension extensionObject;
  484. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  485. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  486. }
  487. //---------------------------------------------------------------------------------------
  488. /// <summary>
  489. /// 烹饪 返回
  490. /// </summary>
  491. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CookingResponse")]
  492. public partial class CookingResponse : global::ProtoBuf.IExtensible
  493. {
  494. public CookingResponse() {}
  495. private int _s2c_code;
  496. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  497. public int s2c_code
  498. {
  499. get { return _s2c_code; }
  500. set { _s2c_code = value; }
  501. }
  502. private string _s2c_msg = "";
  503. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  504. [global::System.ComponentModel.DefaultValue("")]
  505. public string s2c_msg
  506. {
  507. get { return _s2c_msg; }
  508. set { _s2c_msg = value; }
  509. }
  510. private string _return_code = "";
  511. /// <summary>
  512. /// 烹饪后的物品code
  513. /// </summary>
  514. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"return_code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  515. [global::System.ComponentModel.DefaultValue("")]
  516. public string return_code
  517. {
  518. get { return _return_code; }
  519. set { _return_code = value; }
  520. }
  521. private global::ProtoBuf.IExtension extensionObject;
  522. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  523. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  524. }
  525. //---------------------------------------------------------------------------------------
  526. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ItemDetailPush")]
  527. public partial class ItemDetailPush : global::ProtoBuf.IExtensible
  528. {
  529. public ItemDetailPush() {}
  530. private readonly global::System.Collections.Generic.List<pomelo.item.ItemDetail> _s2c_data = new global::System.Collections.Generic.List<pomelo.item.ItemDetail>();
  531. [global::ProtoBuf.ProtoMember(1, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  532. public global::System.Collections.Generic.List<pomelo.item.ItemDetail> s2c_data
  533. {
  534. get { return _s2c_data; }
  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. /// <summary>
  542. /// 计数道具变化推送
  543. /// </summary>
  544. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CountItemChangePush")]
  545. public partial class CountItemChangePush : global::ProtoBuf.IExtensible
  546. {
  547. public CountItemChangePush() {}
  548. private readonly global::System.Collections.Generic.List<pomelo.item.CountItem> _s2c_data = new global::System.Collections.Generic.List<pomelo.item.CountItem>();
  549. [global::ProtoBuf.ProtoMember(1, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  550. public global::System.Collections.Generic.List<pomelo.item.CountItem> s2c_data
  551. {
  552. get { return _s2c_data; }
  553. }
  554. private global::ProtoBuf.IExtension extensionObject;
  555. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  556. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  557. }
  558. //---------------------------------------------------------------------------------------
  559. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FishItemPush")]
  560. public partial class FishItemPush : global::ProtoBuf.IExtensible
  561. {
  562. public FishItemPush() {}
  563. private readonly global::System.Collections.Generic.List<pomelo.item.MiniItem> _s2c_item = new global::System.Collections.Generic.List<pomelo.item.MiniItem>();
  564. [global::ProtoBuf.ProtoMember(1, Name=@"s2c_item", DataFormat = global::ProtoBuf.DataFormat.Default)]
  565. public global::System.Collections.Generic.List<pomelo.item.MiniItem> s2c_item
  566. {
  567. get { return _s2c_item; }
  568. }
  569. private global::ProtoBuf.IExtension extensionObject;
  570. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  571. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  572. }
  573. //---------------------------------------------------------------------------------------
  574. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RewardItemPush")]
  575. public partial class RewardItemPush : global::ProtoBuf.IExtensible
  576. {
  577. public RewardItemPush() {}
  578. private readonly global::System.Collections.Generic.List<pomelo.item.MiniItem> _s2c_item = new global::System.Collections.Generic.List<pomelo.item.MiniItem>();
  579. [global::ProtoBuf.ProtoMember(1, Name=@"s2c_item", DataFormat = global::ProtoBuf.DataFormat.Default)]
  580. public global::System.Collections.Generic.List<pomelo.item.MiniItem> s2c_item
  581. {
  582. get { return _s2c_item; }
  583. }
  584. private global::ProtoBuf.IExtension extensionObject;
  585. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  586. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  587. }
  588. }