_guildDepotHandler.cs 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  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. // * 创建时间 = 2016-5-11
  12. // * 用途= 公会仓库处理器
  13. // ***************************************************************************
  14. // Generated from: guildDepotHandler.proto
  15. // Note: requires additional types generated from: item.proto
  16. // Note: requires additional types generated from: common.proto
  17. namespace pomelo.area
  18. {
  19. //---------------------------------------------------------------------------------------
  20. /// <summary>
  21. /// 使用权限
  22. /// </summary>
  23. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UseCond")]
  24. public partial class UseCond : global::ProtoBuf.IExtensible
  25. {
  26. public UseCond() {}
  27. private int _level = default(int);
  28. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  29. [global::System.ComponentModel.DefaultValue(default(int))]
  30. public int level
  31. {
  32. get { return _level; }
  33. set { _level = value; }
  34. }
  35. private int _upLevel = default(int);
  36. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"upLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  37. [global::System.ComponentModel.DefaultValue(default(int))]
  38. public int upLevel
  39. {
  40. get { return _upLevel; }
  41. set { _upLevel = value; }
  42. }
  43. private int _job;
  44. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"job", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  45. public int job
  46. {
  47. get { return _job; }
  48. set { _job = value; }
  49. }
  50. private global::ProtoBuf.IExtension extensionObject;
  51. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  52. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  53. }
  54. //---------------------------------------------------------------------------------------
  55. /// <summary>
  56. /// 装备品质条件
  57. /// </summary>
  58. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"QualityCond")]
  59. public partial class QualityCond : global::ProtoBuf.IExtensible
  60. {
  61. public QualityCond() {}
  62. private int _level = default(int);
  63. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  64. [global::System.ComponentModel.DefaultValue(default(int))]
  65. public int level
  66. {
  67. get { return _level; }
  68. set { _level = value; }
  69. }
  70. private int _upLevel = default(int);
  71. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"upLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  72. [global::System.ComponentModel.DefaultValue(default(int))]
  73. public int upLevel
  74. {
  75. get { return _upLevel; }
  76. set { _upLevel = value; }
  77. }
  78. private int _qColor = default(int);
  79. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"qColor", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  80. [global::System.ComponentModel.DefaultValue(default(int))]
  81. public int qColor
  82. {
  83. get { return _qColor; }
  84. set { _qColor = value; }
  85. }
  86. private global::ProtoBuf.IExtension extensionObject;
  87. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  88. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  89. }
  90. //---------------------------------------------------------------------------------------
  91. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DepotCondition")]
  92. public partial class DepotCondition : global::ProtoBuf.IExtensible
  93. {
  94. public DepotCondition() {}
  95. private pomelo.area.UseCond _useCond = null;
  96. /// <summary>
  97. /// 使用权限
  98. /// </summary>
  99. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"useCond", DataFormat = global::ProtoBuf.DataFormat.Default)]
  100. [global::System.ComponentModel.DefaultValue(null)]
  101. public pomelo.area.UseCond useCond
  102. {
  103. get { return _useCond; }
  104. set { _useCond = value; }
  105. }
  106. private pomelo.area.QualityCond _minCond = null;
  107. /// <summary>
  108. /// 装备最低条件
  109. /// </summary>
  110. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"minCond", DataFormat = global::ProtoBuf.DataFormat.Default)]
  111. [global::System.ComponentModel.DefaultValue(null)]
  112. public pomelo.area.QualityCond minCond
  113. {
  114. get { return _minCond; }
  115. set { _minCond = value; }
  116. }
  117. private pomelo.area.QualityCond _maxCond = null;
  118. /// <summary>
  119. /// 装备最高条件
  120. /// </summary>
  121. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"maxCond", DataFormat = global::ProtoBuf.DataFormat.Default)]
  122. [global::System.ComponentModel.DefaultValue(null)]
  123. public pomelo.area.QualityCond maxCond
  124. {
  125. get { return _maxCond; }
  126. set { _maxCond = value; }
  127. }
  128. private global::ProtoBuf.IExtension extensionObject;
  129. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  130. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  131. }
  132. //---------------------------------------------------------------------------------------
  133. /// <summary>
  134. /// 存入
  135. /// </summary>
  136. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DepositItemRequest")]
  137. public partial class DepositItemRequest : global::ProtoBuf.IExtensible
  138. {
  139. public DepositItemRequest() {}
  140. private int _c2s_fromIndex;
  141. /// <summary>
  142. /// 自己背包格子索引
  143. /// </summary>
  144. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_fromIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  145. public int c2s_fromIndex
  146. {
  147. get { return _c2s_fromIndex; }
  148. set { _c2s_fromIndex = value; }
  149. }
  150. private global::ProtoBuf.IExtension extensionObject;
  151. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  152. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  153. }
  154. //---------------------------------------------------------------------------------------
  155. /// <summary>
  156. /// 取出
  157. /// </summary>
  158. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TakeOutItemRequest")]
  159. public partial class TakeOutItemRequest : global::ProtoBuf.IExtensible
  160. {
  161. public TakeOutItemRequest() {}
  162. private int _c2s_fromIndex;
  163. /// <summary>
  164. /// 仓库格子索引
  165. /// </summary>
  166. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_fromIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  167. public int c2s_fromIndex
  168. {
  169. get { return _c2s_fromIndex; }
  170. set { _c2s_fromIndex = value; }
  171. }
  172. private global::ProtoBuf.IExtension extensionObject;
  173. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  174. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  175. }
  176. //---------------------------------------------------------------------------------------
  177. /// <summary>
  178. /// 设置使用权限
  179. /// </summary>
  180. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SetConditionRequest")]
  181. public partial class SetConditionRequest : global::ProtoBuf.IExtensible
  182. {
  183. public SetConditionRequest() {}
  184. private int _useLevel = default(int);
  185. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"useLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  186. [global::System.ComponentModel.DefaultValue(default(int))]
  187. public int useLevel
  188. {
  189. get { return _useLevel; }
  190. set { _useLevel = value; }
  191. }
  192. private int _useUpLevel = default(int);
  193. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"useUpLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  194. [global::System.ComponentModel.DefaultValue(default(int))]
  195. public int useUpLevel
  196. {
  197. get { return _useUpLevel; }
  198. set { _useUpLevel = value; }
  199. }
  200. private int _useJob;
  201. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"useJob", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  202. public int useJob
  203. {
  204. get { return _useJob; }
  205. set { _useJob = value; }
  206. }
  207. private int _minLevel = default(int);
  208. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"minLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  209. [global::System.ComponentModel.DefaultValue(default(int))]
  210. public int minLevel
  211. {
  212. get { return _minLevel; }
  213. set { _minLevel = value; }
  214. }
  215. private int _minUpLevel = default(int);
  216. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"minUpLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  217. [global::System.ComponentModel.DefaultValue(default(int))]
  218. public int minUpLevel
  219. {
  220. get { return _minUpLevel; }
  221. set { _minUpLevel = value; }
  222. }
  223. private int _minqColor = default(int);
  224. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"minqColor", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  225. [global::System.ComponentModel.DefaultValue(default(int))]
  226. public int minqColor
  227. {
  228. get { return _minqColor; }
  229. set { _minqColor = value; }
  230. }
  231. private int _maxLevel = default(int);
  232. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"maxLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  233. [global::System.ComponentModel.DefaultValue(default(int))]
  234. public int maxLevel
  235. {
  236. get { return _maxLevel; }
  237. set { _maxLevel = value; }
  238. }
  239. private int _maxUpLevel = default(int);
  240. [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"maxUpLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  241. [global::System.ComponentModel.DefaultValue(default(int))]
  242. public int maxUpLevel
  243. {
  244. get { return _maxUpLevel; }
  245. set { _maxUpLevel = value; }
  246. }
  247. private int _maxqColor = default(int);
  248. [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"maxqColor", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  249. [global::System.ComponentModel.DefaultValue(default(int))]
  250. public int maxqColor
  251. {
  252. get { return _maxqColor; }
  253. set { _maxqColor = value; }
  254. }
  255. private global::ProtoBuf.IExtension extensionObject;
  256. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  257. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  258. }
  259. //---------------------------------------------------------------------------------------
  260. /// <summary>
  261. /// 删除
  262. /// </summary>
  263. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DeleteItemRequest")]
  264. public partial class DeleteItemRequest : global::ProtoBuf.IExtensible
  265. {
  266. public DeleteItemRequest() {}
  267. private int _c2s_fromIndex;
  268. /// <summary>
  269. /// 仓库格子索引
  270. /// </summary>
  271. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_fromIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  272. public int c2s_fromIndex
  273. {
  274. get { return _c2s_fromIndex; }
  275. set { _c2s_fromIndex = value; }
  276. }
  277. private global::ProtoBuf.IExtension extensionObject;
  278. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  279. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  280. }
  281. //---------------------------------------------------------------------------------------
  282. /// <summary>
  283. /// 升级
  284. /// </summary>
  285. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpgradeDepotRequest")]
  286. public partial class UpgradeDepotRequest : global::ProtoBuf.IExtensible
  287. {
  288. public UpgradeDepotRequest() {}
  289. private global::ProtoBuf.IExtension extensionObject;
  290. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  291. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  292. }
  293. //---------------------------------------------------------------------------------------
  294. /// <summary>
  295. /// 消息返回
  296. /// </summary>
  297. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DepositItemResponse")]
  298. public partial class DepositItemResponse : global::ProtoBuf.IExtensible
  299. {
  300. public DepositItemResponse() {}
  301. private int _s2c_code;
  302. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  303. public int s2c_code
  304. {
  305. get { return _s2c_code; }
  306. set { _s2c_code = value; }
  307. }
  308. private string _s2c_msg = "";
  309. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  310. [global::System.ComponentModel.DefaultValue("")]
  311. public string s2c_msg
  312. {
  313. get { return _s2c_msg; }
  314. set { _s2c_msg = value; }
  315. }
  316. private pomelo.item.Grid _s2c_bagGrid = null;
  317. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_bagGrid", DataFormat = global::ProtoBuf.DataFormat.Default)]
  318. [global::System.ComponentModel.DefaultValue(null)]
  319. public pomelo.item.Grid s2c_bagGrid
  320. {
  321. get { return _s2c_bagGrid; }
  322. set { _s2c_bagGrid = value; }
  323. }
  324. private int _depositCount = default(int);
  325. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"depositCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  326. [global::System.ComponentModel.DefaultValue(default(int))]
  327. public int depositCount
  328. {
  329. get { return _depositCount; }
  330. set { _depositCount = value; }
  331. }
  332. private global::ProtoBuf.IExtension extensionObject;
  333. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  334. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  335. }
  336. //---------------------------------------------------------------------------------------
  337. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TakeOutItemResponse")]
  338. public partial class TakeOutItemResponse : global::ProtoBuf.IExtensible
  339. {
  340. public TakeOutItemResponse() {}
  341. private int _s2c_code;
  342. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  343. public int s2c_code
  344. {
  345. get { return _s2c_code; }
  346. set { _s2c_code = value; }
  347. }
  348. private string _s2c_msg = "";
  349. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  350. [global::System.ComponentModel.DefaultValue("")]
  351. public string s2c_msg
  352. {
  353. get { return _s2c_msg; }
  354. set { _s2c_msg = value; }
  355. }
  356. private global::ProtoBuf.IExtension extensionObject;
  357. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  358. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  359. }
  360. //---------------------------------------------------------------------------------------
  361. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SetConditionResponse")]
  362. public partial class SetConditionResponse : global::ProtoBuf.IExtensible
  363. {
  364. public SetConditionResponse() {}
  365. private int _s2c_code;
  366. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  367. public int s2c_code
  368. {
  369. get { return _s2c_code; }
  370. set { _s2c_code = value; }
  371. }
  372. private string _s2c_msg = "";
  373. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  374. [global::System.ComponentModel.DefaultValue("")]
  375. public string s2c_msg
  376. {
  377. get { return _s2c_msg; }
  378. set { _s2c_msg = value; }
  379. }
  380. private pomelo.area.DepotCondition _s2c_condition = null;
  381. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_condition", DataFormat = global::ProtoBuf.DataFormat.Default)]
  382. [global::System.ComponentModel.DefaultValue(null)]
  383. public pomelo.area.DepotCondition s2c_condition
  384. {
  385. get { return _s2c_condition; }
  386. set { _s2c_condition = value; }
  387. }
  388. private global::ProtoBuf.IExtension extensionObject;
  389. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  390. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  391. }
  392. //---------------------------------------------------------------------------------------
  393. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DeleteItemResponse")]
  394. public partial class DeleteItemResponse : global::ProtoBuf.IExtensible
  395. {
  396. public DeleteItemResponse() {}
  397. private int _s2c_code;
  398. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  399. public int s2c_code
  400. {
  401. get { return _s2c_code; }
  402. set { _s2c_code = value; }
  403. }
  404. private string _s2c_msg = "";
  405. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  406. [global::System.ComponentModel.DefaultValue("")]
  407. public string s2c_msg
  408. {
  409. get { return _s2c_msg; }
  410. set { _s2c_msg = value; }
  411. }
  412. private int _deleteCount = default(int);
  413. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"deleteCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  414. [global::System.ComponentModel.DefaultValue(default(int))]
  415. public int deleteCount
  416. {
  417. get { return _deleteCount; }
  418. set { _deleteCount = value; }
  419. }
  420. private global::ProtoBuf.IExtension extensionObject;
  421. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  422. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  423. }
  424. //---------------------------------------------------------------------------------------
  425. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpgradeDepotResponse")]
  426. public partial class UpgradeDepotResponse : global::ProtoBuf.IExtensible
  427. {
  428. public UpgradeDepotResponse() {}
  429. private int _s2c_code;
  430. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  431. public int s2c_code
  432. {
  433. get { return _s2c_code; }
  434. set { _s2c_code = value; }
  435. }
  436. private string _s2c_msg = "";
  437. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  438. [global::System.ComponentModel.DefaultValue("")]
  439. public string s2c_msg
  440. {
  441. get { return _s2c_msg; }
  442. set { _s2c_msg = value; }
  443. }
  444. private int _s2c_level = default(int);
  445. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  446. [global::System.ComponentModel.DefaultValue(default(int))]
  447. public int s2c_level
  448. {
  449. get { return _s2c_level; }
  450. set { _s2c_level = value; }
  451. }
  452. private int _s2c_fund = default(int);
  453. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_fund", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  454. [global::System.ComponentModel.DefaultValue(default(int))]
  455. public int s2c_fund
  456. {
  457. get { return _s2c_fund; }
  458. set { _s2c_fund = value; }
  459. }
  460. private global::ProtoBuf.IExtension extensionObject;
  461. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  462. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  463. }
  464. //---------------------------------------------------------------------------------------
  465. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DepotLevelInfo")]
  466. public partial class DepotLevelInfo : global::ProtoBuf.IExtensible
  467. {
  468. public DepotLevelInfo() {}
  469. private int _level = default(int);
  470. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  471. [global::System.ComponentModel.DefaultValue(default(int))]
  472. public int level
  473. {
  474. get { return _level; }
  475. set { _level = value; }
  476. }
  477. private int _bagGridCount = default(int);
  478. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"bagGridCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  479. [global::System.ComponentModel.DefaultValue(default(int))]
  480. public int bagGridCount
  481. {
  482. get { return _bagGridCount; }
  483. set { _bagGridCount = value; }
  484. }
  485. private int _bagTotalCount = default(int);
  486. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"bagTotalCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  487. [global::System.ComponentModel.DefaultValue(default(int))]
  488. public int bagTotalCount
  489. {
  490. get { return _bagTotalCount; }
  491. set { _bagTotalCount = value; }
  492. }
  493. private global::ProtoBuf.IExtension extensionObject;
  494. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  495. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  496. }
  497. //---------------------------------------------------------------------------------------
  498. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DepotRefreshPush")]
  499. public partial class DepotRefreshPush : global::ProtoBuf.IExtensible
  500. {
  501. public DepotRefreshPush() {}
  502. private int _s2c_code;
  503. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  504. public int s2c_code
  505. {
  506. get { return _s2c_code; }
  507. set { _s2c_code = value; }
  508. }
  509. private string _s2c_msg = "";
  510. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  511. [global::System.ComponentModel.DefaultValue("")]
  512. public string s2c_msg
  513. {
  514. get { return _s2c_msg; }
  515. set { _s2c_msg = value; }
  516. }
  517. private int _type = default(int);
  518. /// <summary>
  519. /// 1:增加(存入) 2:减少(取出) 3:升级 4:权限设置
  520. /// </summary>
  521. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  522. [global::System.ComponentModel.DefaultValue(default(int))]
  523. public int type
  524. {
  525. get { return _type; }
  526. set { _type = value; }
  527. }
  528. private int _bagIndex = default(int);
  529. /// <summary>
  530. /// 存入和取出的格子索引
  531. /// </summary>
  532. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"bagIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  533. [global::System.ComponentModel.DefaultValue(default(int))]
  534. public int bagIndex
  535. {
  536. get { return _bagIndex; }
  537. set { _bagIndex = value; }
  538. }
  539. private pomelo.area.DepotLevelInfo _levelInfo = null;
  540. /// <summary>
  541. /// 升级后等级
  542. /// </summary>
  543. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"levelInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  544. [global::System.ComponentModel.DefaultValue(null)]
  545. public pomelo.area.DepotLevelInfo levelInfo
  546. {
  547. get { return _levelInfo; }
  548. set { _levelInfo = value; }
  549. }
  550. private pomelo.area.DepotCondition _condition = null;
  551. /// <summary>
  552. /// 条件
  553. /// </summary>
  554. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"condition", DataFormat = global::ProtoBuf.DataFormat.Default)]
  555. [global::System.ComponentModel.DefaultValue(null)]
  556. public pomelo.area.DepotCondition condition
  557. {
  558. get { return _condition; }
  559. set { _condition = value; }
  560. }
  561. private global::ProtoBuf.IExtension extensionObject;
  562. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  563. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  564. }
  565. }