_offlineAwardHandler.cs 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606
  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-08-27
  12. // * 用途= 离线奖励处理器
  13. // ***************************************************************************
  14. // Generated from: offlineAwardHandler.proto
  15. namespace pomelo.area
  16. {
  17. //---------------------------------------------------------------------------------------
  18. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OfflineAwardItem")]
  19. public partial class OfflineAwardItem : global::ProtoBuf.IExtensible
  20. {
  21. public OfflineAwardItem() {}
  22. private int _templateId;
  23. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"templateId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  24. public int templateId
  25. {
  26. get { return _templateId; }
  27. set { _templateId = value; }
  28. }
  29. private int _picId;
  30. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"picId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  31. public int picId
  32. {
  33. get { return _picId; }
  34. set { _picId = value; }
  35. }
  36. private string _name;
  37. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  38. public string name
  39. {
  40. get { return _name; }
  41. set { _name = value; }
  42. }
  43. private int _num;
  44. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  45. public int num
  46. {
  47. get { return _num; }
  48. set { _num = value; }
  49. }
  50. private int _quality;
  51. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"quality", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  52. public int quality
  53. {
  54. get { return _quality; }
  55. set { _quality = value; }
  56. }
  57. private global::ProtoBuf.IExtension extensionObject;
  58. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  59. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  60. }
  61. //---------------------------------------------------------------------------------------
  62. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OfflineAward")]
  63. public partial class OfflineAward : global::ProtoBuf.IExtensible
  64. {
  65. public OfflineAward() {}
  66. private int _flag;
  67. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"flag", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  68. public int flag
  69. {
  70. get { return _flag; }
  71. set { _flag = value; }
  72. }
  73. private int _areaId;
  74. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"areaId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  75. public int areaId
  76. {
  77. get { return _areaId; }
  78. set { _areaId = value; }
  79. }
  80. private int _gold;
  81. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"gold", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  82. public int gold
  83. {
  84. get { return _gold; }
  85. set { _gold = value; }
  86. }
  87. private int _exp;
  88. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"exp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  89. public int exp
  90. {
  91. get { return _exp; }
  92. set { _exp = value; }
  93. }
  94. private readonly global::System.Collections.Generic.List<pomelo.area.OfflineAwardItem> _offlineAwardItems = new global::System.Collections.Generic.List<pomelo.area.OfflineAwardItem>();
  95. [global::ProtoBuf.ProtoMember(5, Name=@"offlineAwardItems", DataFormat = global::ProtoBuf.DataFormat.Default)]
  96. public global::System.Collections.Generic.List<pomelo.area.OfflineAwardItem> offlineAwardItems
  97. {
  98. get { return _offlineAwardItems; }
  99. }
  100. private int _offlineTime;
  101. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"offlineTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  102. public int offlineTime
  103. {
  104. get { return _offlineTime; }
  105. set { _offlineTime = value; }
  106. }
  107. private int _v1Cost;
  108. [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"v1Cost", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  109. public int v1Cost
  110. {
  111. get { return _v1Cost; }
  112. set { _v1Cost = value; }
  113. }
  114. private int _v1BoxNum;
  115. [global::ProtoBuf.ProtoMember(8, IsRequired = true, Name=@"v1BoxNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  116. public int v1BoxNum
  117. {
  118. get { return _v1BoxNum; }
  119. set { _v1BoxNum = value; }
  120. }
  121. private int _v5Cost;
  122. [global::ProtoBuf.ProtoMember(9, IsRequired = true, Name=@"v5Cost", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  123. public int v5Cost
  124. {
  125. get { return _v5Cost; }
  126. set { _v5Cost = value; }
  127. }
  128. private int _v5BoxNum;
  129. [global::ProtoBuf.ProtoMember(10, IsRequired = true, Name=@"v5BoxNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  130. public int v5BoxNum
  131. {
  132. get { return _v5BoxNum; }
  133. set { _v5BoxNum = value; }
  134. }
  135. private global::ProtoBuf.IExtension extensionObject;
  136. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  137. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  138. }
  139. //---------------------------------------------------------------------------------------
  140. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OfflineAwardDetail")]
  141. public partial class OfflineAwardDetail : global::ProtoBuf.IExtensible
  142. {
  143. public OfflineAwardDetail() {}
  144. private string _areaName;
  145. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"areaName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  146. public string areaName
  147. {
  148. get { return _areaName; }
  149. set { _areaName = value; }
  150. }
  151. private int _offlineTime;
  152. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"offlineTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  153. public int offlineTime
  154. {
  155. get { return _offlineTime; }
  156. set { _offlineTime = value; }
  157. }
  158. private int _gold;
  159. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"gold", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  160. public int gold
  161. {
  162. get { return _gold; }
  163. set { _gold = value; }
  164. }
  165. private int _exp;
  166. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"exp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  167. public int exp
  168. {
  169. get { return _exp; }
  170. set { _exp = value; }
  171. }
  172. private int _goldPerHour;
  173. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"goldPerHour", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  174. public int goldPerHour
  175. {
  176. get { return _goldPerHour; }
  177. set { _goldPerHour = value; }
  178. }
  179. private int _expPerHour;
  180. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"expPerHour", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  181. public int expPerHour
  182. {
  183. get { return _expPerHour; }
  184. set { _expPerHour = value; }
  185. }
  186. private readonly global::System.Collections.Generic.List<pomelo.area.OfflineAwardItem> _offlineAwardItems = new global::System.Collections.Generic.List<pomelo.area.OfflineAwardItem>();
  187. [global::ProtoBuf.ProtoMember(7, Name=@"offlineAwardItems", DataFormat = global::ProtoBuf.DataFormat.Default)]
  188. public global::System.Collections.Generic.List<pomelo.area.OfflineAwardItem> offlineAwardItems
  189. {
  190. get { return _offlineAwardItems; }
  191. }
  192. private int _v1Cost;
  193. [global::ProtoBuf.ProtoMember(8, IsRequired = true, Name=@"v1Cost", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  194. public int v1Cost
  195. {
  196. get { return _v1Cost; }
  197. set { _v1Cost = value; }
  198. }
  199. private int _v1BoxNum;
  200. [global::ProtoBuf.ProtoMember(9, IsRequired = true, Name=@"v1BoxNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  201. public int v1BoxNum
  202. {
  203. get { return _v1BoxNum; }
  204. set { _v1BoxNum = value; }
  205. }
  206. private int _v5Cost;
  207. [global::ProtoBuf.ProtoMember(10, IsRequired = true, Name=@"v5Cost", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  208. public int v5Cost
  209. {
  210. get { return _v5Cost; }
  211. set { _v5Cost = value; }
  212. }
  213. private int _v5BoxNum;
  214. [global::ProtoBuf.ProtoMember(11, IsRequired = true, Name=@"v5BoxNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  215. public int v5BoxNum
  216. {
  217. get { return _v5BoxNum; }
  218. set { _v5BoxNum = value; }
  219. }
  220. private global::ProtoBuf.IExtension extensionObject;
  221. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  222. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  223. }
  224. //---------------------------------------------------------------------------------------
  225. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OfflineAreaDetail")]
  226. public partial class OfflineAreaDetail : global::ProtoBuf.IExtensible
  227. {
  228. public OfflineAreaDetail() {}
  229. private string _name;
  230. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  231. public string name
  232. {
  233. get { return _name; }
  234. set { _name = value; }
  235. }
  236. private int _id;
  237. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  238. public int id
  239. {
  240. get { return _id; }
  241. set { _id = value; }
  242. }
  243. private int _minLevel;
  244. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"minLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  245. public int minLevel
  246. {
  247. get { return _minLevel; }
  248. set { _minLevel = value; }
  249. }
  250. private int _maxLevel;
  251. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"maxLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  252. public int maxLevel
  253. {
  254. get { return _maxLevel; }
  255. set { _maxLevel = value; }
  256. }
  257. private int _minFightPower;
  258. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"minFightPower", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  259. public int minFightPower
  260. {
  261. get { return _minFightPower; }
  262. set { _minFightPower = value; }
  263. }
  264. private int _goldPerHour;
  265. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"goldPerHour", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  266. public int goldPerHour
  267. {
  268. get { return _goldPerHour; }
  269. set { _goldPerHour = value; }
  270. }
  271. private int _expPerHour;
  272. [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"expPerHour", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  273. public int expPerHour
  274. {
  275. get { return _expPerHour; }
  276. set { _expPerHour = value; }
  277. }
  278. private readonly global::System.Collections.Generic.List<pomelo.area.OfflineAwardItem> _offlineAwardItems = new global::System.Collections.Generic.List<pomelo.area.OfflineAwardItem>();
  279. [global::ProtoBuf.ProtoMember(8, Name=@"offlineAwardItems", DataFormat = global::ProtoBuf.DataFormat.Default)]
  280. public global::System.Collections.Generic.List<pomelo.area.OfflineAwardItem> offlineAwardItems
  281. {
  282. get { return _offlineAwardItems; }
  283. }
  284. private global::ProtoBuf.IExtension extensionObject;
  285. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  286. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  287. }
  288. //---------------------------------------------------------------------------------------
  289. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SetOfflineAreaIdRequest")]
  290. public partial class SetOfflineAreaIdRequest : global::ProtoBuf.IExtensible
  291. {
  292. public SetOfflineAreaIdRequest() {}
  293. private int _c2s_areaId;
  294. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_areaId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  295. public int c2s_areaId
  296. {
  297. get { return _c2s_areaId; }
  298. set { _c2s_areaId = value; }
  299. }
  300. private global::ProtoBuf.IExtension extensionObject;
  301. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  302. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  303. }
  304. //---------------------------------------------------------------------------------------
  305. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"QueryOfflineAwardRequest")]
  306. public partial class QueryOfflineAwardRequest : global::ProtoBuf.IExtensible
  307. {
  308. public QueryOfflineAwardRequest() {}
  309. private global::ProtoBuf.IExtension extensionObject;
  310. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  311. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  312. }
  313. //---------------------------------------------------------------------------------------
  314. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetOfflineAwardRequest")]
  315. public partial class GetOfflineAwardRequest : global::ProtoBuf.IExtensible
  316. {
  317. public GetOfflineAwardRequest() {}
  318. private string _c2s_type;
  319. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_type", DataFormat = global::ProtoBuf.DataFormat.Default)]
  320. public string c2s_type
  321. {
  322. get { return _c2s_type; }
  323. set { _c2s_type = value; }
  324. }
  325. private global::ProtoBuf.IExtension extensionObject;
  326. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  327. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  328. }
  329. //---------------------------------------------------------------------------------------
  330. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetCurrentOfflineAreaRequest")]
  331. public partial class GetCurrentOfflineAreaRequest : global::ProtoBuf.IExtensible
  332. {
  333. public GetCurrentOfflineAreaRequest() {}
  334. private global::ProtoBuf.IExtension extensionObject;
  335. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  336. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  337. }
  338. //---------------------------------------------------------------------------------------
  339. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SetOfflineAreaIdResponse")]
  340. public partial class SetOfflineAreaIdResponse : global::ProtoBuf.IExtensible
  341. {
  342. public SetOfflineAreaIdResponse() {}
  343. private int _s2c_code;
  344. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  345. public int s2c_code
  346. {
  347. get { return _s2c_code; }
  348. set { _s2c_code = value; }
  349. }
  350. private string _s2c_msg = "";
  351. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  352. [global::System.ComponentModel.DefaultValue("")]
  353. public string s2c_msg
  354. {
  355. get { return _s2c_msg; }
  356. set { _s2c_msg = value; }
  357. }
  358. private global::ProtoBuf.IExtension extensionObject;
  359. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  360. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  361. }
  362. //---------------------------------------------------------------------------------------
  363. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"QueryOfflineAwardResponse")]
  364. public partial class QueryOfflineAwardResponse : global::ProtoBuf.IExtensible
  365. {
  366. public QueryOfflineAwardResponse() {}
  367. private int _s2c_code;
  368. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  369. public int s2c_code
  370. {
  371. get { return _s2c_code; }
  372. set { _s2c_code = value; }
  373. }
  374. private string _s2c_msg = "";
  375. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  376. [global::System.ComponentModel.DefaultValue("")]
  377. public string s2c_msg
  378. {
  379. get { return _s2c_msg; }
  380. set { _s2c_msg = value; }
  381. }
  382. private pomelo.area.OfflineAward _offlineAward = null;
  383. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"offlineAward", DataFormat = global::ProtoBuf.DataFormat.Default)]
  384. [global::System.ComponentModel.DefaultValue(null)]
  385. public pomelo.area.OfflineAward offlineAward
  386. {
  387. get { return _offlineAward; }
  388. set { _offlineAward = value; }
  389. }
  390. private global::ProtoBuf.IExtension extensionObject;
  391. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  392. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  393. }
  394. //---------------------------------------------------------------------------------------
  395. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetOfflineAwardResponse")]
  396. public partial class GetOfflineAwardResponse : global::ProtoBuf.IExtensible
  397. {
  398. public GetOfflineAwardResponse() {}
  399. private int _s2c_code;
  400. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  401. public int s2c_code
  402. {
  403. get { return _s2c_code; }
  404. set { _s2c_code = value; }
  405. }
  406. private string _s2c_msg = "";
  407. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  408. [global::System.ComponentModel.DefaultValue("")]
  409. public string s2c_msg
  410. {
  411. get { return _s2c_msg; }
  412. set { _s2c_msg = value; }
  413. }
  414. private global::ProtoBuf.IExtension extensionObject;
  415. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  416. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  417. }
  418. //---------------------------------------------------------------------------------------
  419. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetCurrentOfflineAreaResponse")]
  420. public partial class GetCurrentOfflineAreaResponse : global::ProtoBuf.IExtensible
  421. {
  422. public GetCurrentOfflineAreaResponse() {}
  423. private int _s2c_code;
  424. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  425. public int s2c_code
  426. {
  427. get { return _s2c_code; }
  428. set { _s2c_code = value; }
  429. }
  430. private string _s2c_msg = "";
  431. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  432. [global::System.ComponentModel.DefaultValue("")]
  433. public string s2c_msg
  434. {
  435. get { return _s2c_msg; }
  436. set { _s2c_msg = value; }
  437. }
  438. private string _name = "";
  439. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  440. [global::System.ComponentModel.DefaultValue("")]
  441. public string name
  442. {
  443. get { return _name; }
  444. set { _name = value; }
  445. }
  446. private int _minLevel = default(int);
  447. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"minLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  448. [global::System.ComponentModel.DefaultValue(default(int))]
  449. public int minLevel
  450. {
  451. get { return _minLevel; }
  452. set { _minLevel = value; }
  453. }
  454. private int _maxLevel = default(int);
  455. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"maxLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  456. [global::System.ComponentModel.DefaultValue(default(int))]
  457. public int maxLevel
  458. {
  459. get { return _maxLevel; }
  460. set { _maxLevel = value; }
  461. }
  462. private global::ProtoBuf.IExtension extensionObject;
  463. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  464. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  465. }
  466. //---------------------------------------------------------------------------------------
  467. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"QueryAllAreasRequest")]
  468. public partial class QueryAllAreasRequest : global::ProtoBuf.IExtensible
  469. {
  470. public QueryAllAreasRequest() {}
  471. private global::ProtoBuf.IExtension extensionObject;
  472. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  473. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  474. }
  475. //---------------------------------------------------------------------------------------
  476. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"QueryAllAreasResponse")]
  477. public partial class QueryAllAreasResponse : global::ProtoBuf.IExtensible
  478. {
  479. public QueryAllAreasResponse() {}
  480. private int _s2c_code;
  481. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  482. public int s2c_code
  483. {
  484. get { return _s2c_code; }
  485. set { _s2c_code = value; }
  486. }
  487. private string _s2c_msg = "";
  488. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  489. [global::System.ComponentModel.DefaultValue("")]
  490. public string s2c_msg
  491. {
  492. get { return _s2c_msg; }
  493. set { _s2c_msg = value; }
  494. }
  495. private readonly global::System.Collections.Generic.List<pomelo.area.OfflineAreaDetail> _s2c_areasDetail = new global::System.Collections.Generic.List<pomelo.area.OfflineAreaDetail>();
  496. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_areasDetail", DataFormat = global::ProtoBuf.DataFormat.Default)]
  497. public global::System.Collections.Generic.List<pomelo.area.OfflineAreaDetail> s2c_areasDetail
  498. {
  499. get { return _s2c_areasDetail; }
  500. }
  501. private global::ProtoBuf.IExtension extensionObject;
  502. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  503. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  504. }
  505. }