_resourceDungeonHandler.cs 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765
  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. // ***************************************************************************
  12. // Generated from: resourceDungeonHandler.proto
  13. // Note: requires additional types generated from: item.proto
  14. // Note: requires additional types generated from: common.proto
  15. namespace pomelo.area
  16. {
  17. //---------------------------------------------------------------------------------------
  18. /// <summary>
  19. /// 资源副本条目信息
  20. /// </summary>
  21. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceDungeonInfo")]
  22. public partial class ResourceDungeonInfo : global::ProtoBuf.IExtensible
  23. {
  24. public ResourceDungeonInfo() {}
  25. private int _dungeonId;
  26. /// <summary>
  27. /// 副本ID
  28. /// </summary>
  29. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"dungeonId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  30. public int dungeonId
  31. {
  32. get { return _dungeonId; }
  33. set { _dungeonId = value; }
  34. }
  35. private int _lastTimes;
  36. /// <summary>
  37. /// 当日剩余进入次数
  38. /// </summary>
  39. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"lastTimes", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  40. public int lastTimes
  41. {
  42. get { return _lastTimes; }
  43. set { _lastTimes = value; }
  44. }
  45. private int _buyTimes = default(int);
  46. /// <summary>
  47. /// 当日已购买次数
  48. /// </summary>
  49. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"buyTimes", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  50. [global::System.ComponentModel.DefaultValue(default(int))]
  51. public int buyTimes
  52. {
  53. get { return _buyTimes; }
  54. set { _buyTimes = value; }
  55. }
  56. private int _canBuyTimes = default(int);
  57. /// <summary>
  58. /// 当日可购买次数
  59. /// </summary>
  60. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"canBuyTimes", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  61. [global::System.ComponentModel.DefaultValue(default(int))]
  62. public int canBuyTimes
  63. {
  64. get { return _canBuyTimes; }
  65. set { _canBuyTimes = value; }
  66. }
  67. private string _awardItems = "";
  68. /// <summary>
  69. /// 奖励预览
  70. /// </summary>
  71. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"awardItems", DataFormat = global::ProtoBuf.DataFormat.Default)]
  72. [global::System.ComponentModel.DefaultValue("")]
  73. public string awardItems
  74. {
  75. get { return _awardItems; }
  76. set { _awardItems = value; }
  77. }
  78. private bool _canSweep = default(bool);
  79. /// <summary>
  80. /// 能否扫荡
  81. /// </summary>
  82. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"canSweep", DataFormat = global::ProtoBuf.DataFormat.Default)]
  83. [global::System.ComponentModel.DefaultValue(default(bool))]
  84. public bool canSweep
  85. {
  86. get { return _canSweep; }
  87. set { _canSweep = value; }
  88. }
  89. private int _playType = default(int);
  90. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"playType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  91. [global::System.ComponentModel.DefaultValue(default(int))]
  92. public int playType
  93. {
  94. get { return _playType; }
  95. set { _playType = value; }
  96. }
  97. private int _enterLevel = default(int);
  98. [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"enterLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  99. [global::System.ComponentModel.DefaultValue(default(int))]
  100. public int enterLevel
  101. {
  102. get { return _enterLevel; }
  103. set { _enterLevel = value; }
  104. }
  105. private global::ProtoBuf.IExtension extensionObject;
  106. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  107. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  108. }
  109. //---------------------------------------------------------------------------------------
  110. /// <summary>
  111. /// 获取资源副本信息
  112. /// </summary>
  113. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"QueryResourceDugeonInfoRequest")]
  114. public partial class QueryResourceDugeonInfoRequest : global::ProtoBuf.IExtensible
  115. {
  116. public QueryResourceDugeonInfoRequest() {}
  117. private global::ProtoBuf.IExtension extensionObject;
  118. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  119. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  120. }
  121. //---------------------------------------------------------------------------------------
  122. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"QueryResourceDugeonInfoResponse")]
  123. public partial class QueryResourceDugeonInfoResponse : global::ProtoBuf.IExtensible
  124. {
  125. public QueryResourceDugeonInfoResponse() {}
  126. private int _s2c_code;
  127. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  128. public int s2c_code
  129. {
  130. get { return _s2c_code; }
  131. set { _s2c_code = value; }
  132. }
  133. private string _s2c_msg = "";
  134. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  135. [global::System.ComponentModel.DefaultValue("")]
  136. public string s2c_msg
  137. {
  138. get { return _s2c_msg; }
  139. set { _s2c_msg = value; }
  140. }
  141. private readonly global::System.Collections.Generic.List<pomelo.area.ResourceDungeonInfo> _dungeons = new global::System.Collections.Generic.List<pomelo.area.ResourceDungeonInfo>();
  142. /// <summary>
  143. /// 当日剩余进入次数
  144. /// </summary>
  145. [global::ProtoBuf.ProtoMember(3, Name=@"dungeons", DataFormat = global::ProtoBuf.DataFormat.Default)]
  146. public global::System.Collections.Generic.List<pomelo.area.ResourceDungeonInfo> dungeons
  147. {
  148. get { return _dungeons; }
  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=@"BuyTimesRequest")]
  159. public partial class BuyTimesRequest : global::ProtoBuf.IExtensible
  160. {
  161. public BuyTimesRequest() {}
  162. private int _dungeonId;
  163. /// <summary>
  164. /// 类型
  165. /// </summary>
  166. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"dungeonId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  167. public int dungeonId
  168. {
  169. get { return _dungeonId; }
  170. set { _dungeonId = 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=@"BuyTimesResponse")]
  181. public partial class BuyTimesResponse : global::ProtoBuf.IExtensible
  182. {
  183. public BuyTimesResponse() {}
  184. private int _s2c_code;
  185. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  186. public int s2c_code
  187. {
  188. get { return _s2c_code; }
  189. set { _s2c_code = value; }
  190. }
  191. private string _s2c_msg = "";
  192. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  193. [global::System.ComponentModel.DefaultValue("")]
  194. public string s2c_msg
  195. {
  196. get { return _s2c_msg; }
  197. set { _s2c_msg = value; }
  198. }
  199. private global::ProtoBuf.IExtension extensionObject;
  200. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  201. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  202. }
  203. //---------------------------------------------------------------------------------------
  204. /// <summary>
  205. /// 进入资源副本
  206. /// </summary>
  207. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EnterResourceDugeonInfoRequest")]
  208. public partial class EnterResourceDugeonInfoRequest : global::ProtoBuf.IExtensible
  209. {
  210. public EnterResourceDugeonInfoRequest() {}
  211. private int _dungeonId;
  212. /// <summary>
  213. /// 类型
  214. /// </summary>
  215. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"dungeonId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  216. public int dungeonId
  217. {
  218. get { return _dungeonId; }
  219. set { _dungeonId = value; }
  220. }
  221. private global::ProtoBuf.IExtension extensionObject;
  222. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  223. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  224. }
  225. //---------------------------------------------------------------------------------------
  226. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EnterResourceDugeonInfoResponse")]
  227. public partial class EnterResourceDugeonInfoResponse : global::ProtoBuf.IExtensible
  228. {
  229. public EnterResourceDugeonInfoResponse() {}
  230. private int _s2c_code;
  231. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  232. public int s2c_code
  233. {
  234. get { return _s2c_code; }
  235. set { _s2c_code = value; }
  236. }
  237. private string _s2c_msg = "";
  238. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  239. [global::System.ComponentModel.DefaultValue("")]
  240. public string s2c_msg
  241. {
  242. get { return _s2c_msg; }
  243. set { _s2c_msg = value; }
  244. }
  245. private global::ProtoBuf.IExtension extensionObject;
  246. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  247. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  248. }
  249. //---------------------------------------------------------------------------------------
  250. /// <summary>
  251. /// 领取双倍奖励
  252. /// </summary>
  253. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ReceiveDoubleRewardRequest")]
  254. public partial class ReceiveDoubleRewardRequest : global::ProtoBuf.IExtensible
  255. {
  256. public ReceiveDoubleRewardRequest() {}
  257. private int _dungeonId;
  258. /// <summary>
  259. /// 类型
  260. /// </summary>
  261. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"dungeonId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  262. public int dungeonId
  263. {
  264. get { return _dungeonId; }
  265. set { _dungeonId = value; }
  266. }
  267. private global::ProtoBuf.IExtension extensionObject;
  268. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  269. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  270. }
  271. //---------------------------------------------------------------------------------------
  272. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ReceiveDoubleRewardResponse")]
  273. public partial class ReceiveDoubleRewardResponse : global::ProtoBuf.IExtensible
  274. {
  275. public ReceiveDoubleRewardResponse() {}
  276. private int _s2c_code;
  277. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  278. public int s2c_code
  279. {
  280. get { return _s2c_code; }
  281. set { _s2c_code = value; }
  282. }
  283. private string _s2c_msg = "";
  284. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  285. [global::System.ComponentModel.DefaultValue("")]
  286. public string s2c_msg
  287. {
  288. get { return _s2c_msg; }
  289. set { _s2c_msg = value; }
  290. }
  291. private global::ProtoBuf.IExtension extensionObject;
  292. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  293. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  294. }
  295. //---------------------------------------------------------------------------------------
  296. /// <summary>
  297. /// 资源副本倒计时请求
  298. /// </summary>
  299. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceCountDownRequest")]
  300. public partial class ResourceCountDownRequest : global::ProtoBuf.IExtensible
  301. {
  302. public ResourceCountDownRequest() {}
  303. private int _dungeonId = default(int);
  304. /// <summary>
  305. /// 副本ID
  306. /// </summary>
  307. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"dungeonId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  308. [global::System.ComponentModel.DefaultValue(default(int))]
  309. public int dungeonId
  310. {
  311. get { return _dungeonId; }
  312. set { _dungeonId = value; }
  313. }
  314. private global::ProtoBuf.IExtension extensionObject;
  315. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  316. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  317. }
  318. //---------------------------------------------------------------------------------------
  319. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceCountDownResponse")]
  320. public partial class ResourceCountDownResponse : global::ProtoBuf.IExtensible
  321. {
  322. public ResourceCountDownResponse() {}
  323. private int _s2c_code;
  324. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  325. public int s2c_code
  326. {
  327. get { return _s2c_code; }
  328. set { _s2c_code = value; }
  329. }
  330. private string _s2c_msg = "";
  331. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  332. [global::System.ComponentModel.DefaultValue("")]
  333. public string s2c_msg
  334. {
  335. get { return _s2c_msg; }
  336. set { _s2c_msg = value; }
  337. }
  338. private long _countDown = default(long);
  339. /// <summary>
  340. /// 剩余毫秒数
  341. /// </summary>
  342. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"countDown", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  343. [global::System.ComponentModel.DefaultValue(default(long))]
  344. public long countDown
  345. {
  346. get { return _countDown; }
  347. set { _countDown = value; }
  348. }
  349. private global::ProtoBuf.IExtension extensionObject;
  350. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  351. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  352. }
  353. //---------------------------------------------------------------------------------------
  354. /// <summary>
  355. /// 扫荡请求
  356. /// </summary>
  357. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceSweepRequest")]
  358. public partial class ResourceSweepRequest : global::ProtoBuf.IExtensible
  359. {
  360. public ResourceSweepRequest() {}
  361. private int _dungeonId;
  362. /// <summary>
  363. /// 类型
  364. /// </summary>
  365. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"dungeonId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  366. public int dungeonId
  367. {
  368. get { return _dungeonId; }
  369. set { _dungeonId = value; }
  370. }
  371. private global::ProtoBuf.IExtension extensionObject;
  372. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  373. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  374. }
  375. //---------------------------------------------------------------------------------------
  376. /// <summary>
  377. /// 扫荡响应
  378. /// </summary>
  379. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceSweepResponse")]
  380. public partial class ResourceSweepResponse : global::ProtoBuf.IExtensible
  381. {
  382. public ResourceSweepResponse() {}
  383. private int _s2c_code;
  384. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  385. public int s2c_code
  386. {
  387. get { return _s2c_code; }
  388. set { _s2c_code = value; }
  389. }
  390. private string _s2c_msg = "";
  391. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  392. [global::System.ComponentModel.DefaultValue("")]
  393. public string s2c_msg
  394. {
  395. get { return _s2c_msg; }
  396. set { _s2c_msg = value; }
  397. }
  398. private readonly global::System.Collections.Generic.List<pomelo.item.MiniItem> _awardItems = new global::System.Collections.Generic.List<pomelo.item.MiniItem>();
  399. /// <summary>
  400. /// 奖励
  401. /// </summary>
  402. [global::ProtoBuf.ProtoMember(3, Name=@"awardItems", DataFormat = global::ProtoBuf.DataFormat.Default)]
  403. public global::System.Collections.Generic.List<pomelo.item.MiniItem> awardItems
  404. {
  405. get { return _awardItems; }
  406. }
  407. private global::ProtoBuf.IExtension extensionObject;
  408. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  409. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  410. }
  411. //---------------------------------------------------------------------------------------
  412. /// <summary>
  413. /// 资源副本打坐请求----630
  414. /// </summary>
  415. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceSitUnsafeRequest")]
  416. public partial class ResourceSitUnsafeRequest : global::ProtoBuf.IExtensible
  417. {
  418. public ResourceSitUnsafeRequest() {}
  419. private bool _sit_unsafe;
  420. /// <summary>
  421. /// 是否心魔打坐
  422. /// </summary>
  423. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"sit_unsafe", DataFormat = global::ProtoBuf.DataFormat.Default)]
  424. public bool sit_unsafe
  425. {
  426. get { return _sit_unsafe; }
  427. set { _sit_unsafe = value; }
  428. }
  429. private global::ProtoBuf.IExtension extensionObject;
  430. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  431. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  432. }
  433. //---------------------------------------------------------------------------------------
  434. /// <summary>
  435. /// 资源副本打坐响应----630
  436. /// </summary>
  437. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceSitUnsafeResponse")]
  438. public partial class ResourceSitUnsafeResponse : global::ProtoBuf.IExtensible
  439. {
  440. public ResourceSitUnsafeResponse() {}
  441. private int _s2c_code;
  442. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  443. public int s2c_code
  444. {
  445. get { return _s2c_code; }
  446. set { _s2c_code = value; }
  447. }
  448. private string _s2c_msg = "";
  449. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  450. [global::System.ComponentModel.DefaultValue("")]
  451. public string s2c_msg
  452. {
  453. get { return _s2c_msg; }
  454. set { _s2c_msg = value; }
  455. }
  456. private int _s2c_time = default(int);
  457. /// <summary>
  458. /// 打坐时间
  459. /// </summary>
  460. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  461. [global::System.ComponentModel.DefaultValue(default(int))]
  462. public int s2c_time
  463. {
  464. get { return _s2c_time; }
  465. set { _s2c_time = value; }
  466. }
  467. private int _s2c_qi_num = default(int);
  468. /// <summary>
  469. /// 气泡剩余数量
  470. /// </summary>
  471. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_qi_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  472. [global::System.ComponentModel.DefaultValue(default(int))]
  473. public int s2c_qi_num
  474. {
  475. get { return _s2c_qi_num; }
  476. set { _s2c_qi_num = value; }
  477. }
  478. private global::ProtoBuf.IExtension extensionObject;
  479. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  480. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  481. }
  482. //---------------------------------------------------------------------------------------
  483. /// <summary>
  484. /// 资源副本打坐气泡请求----631
  485. /// </summary>
  486. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceSitUnsafeObtainQiRequest")]
  487. public partial class ResourceSitUnsafeObtainQiRequest : global::ProtoBuf.IExtensible
  488. {
  489. public ResourceSitUnsafeObtainQiRequest() {}
  490. private global::ProtoBuf.IExtension extensionObject;
  491. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  492. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  493. }
  494. //---------------------------------------------------------------------------------------
  495. /// <summary>
  496. /// 资源副本打坐气泡响应----631
  497. /// </summary>
  498. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceSitUnsafeObtainQiResponse")]
  499. public partial class ResourceSitUnsafeObtainQiResponse : global::ProtoBuf.IExtensible
  500. {
  501. public ResourceSitUnsafeObtainQiResponse() {}
  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 _s2c_time = default(int);
  518. /// <summary>
  519. /// 打坐时间
  520. /// </summary>
  521. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  522. [global::System.ComponentModel.DefaultValue(default(int))]
  523. public int s2c_time
  524. {
  525. get { return _s2c_time; }
  526. set { _s2c_time = value; }
  527. }
  528. private int _s2c_qi_num = default(int);
  529. /// <summary>
  530. /// 气泡剩余数量
  531. /// </summary>
  532. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_qi_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  533. [global::System.ComponentModel.DefaultValue(default(int))]
  534. public int s2c_qi_num
  535. {
  536. get { return _s2c_qi_num; }
  537. set { _s2c_qi_num = value; }
  538. }
  539. private global::ProtoBuf.IExtension extensionObject;
  540. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  541. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  542. }
  543. //---------------------------------------------------------------------------------------
  544. /// <summary>
  545. /// 采矿副本信息变化
  546. /// </summary>
  547. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OnResourceInfoPush")]
  548. public partial class OnResourceInfoPush : global::ProtoBuf.IExtensible
  549. {
  550. public OnResourceInfoPush() {}
  551. private int _s2c_num = default(int);
  552. /// <summary>
  553. /// 剩余采矿次数
  554. /// </summary>
  555. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"s2c_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  556. [global::System.ComponentModel.DefaultValue(default(int))]
  557. public int s2c_num
  558. {
  559. get { return _s2c_num; }
  560. set { _s2c_num = value; }
  561. }
  562. private readonly global::System.Collections.Generic.List<pomelo.item.MiniItem> _awardItems = new global::System.Collections.Generic.List<pomelo.item.MiniItem>();
  563. /// <summary>
  564. /// 奖励
  565. /// </summary>
  566. [global::ProtoBuf.ProtoMember(2, Name=@"awardItems", DataFormat = global::ProtoBuf.DataFormat.Default)]
  567. public global::System.Collections.Generic.List<pomelo.item.MiniItem> awardItems
  568. {
  569. get { return _awardItems; }
  570. }
  571. private bool _s2c_is_lucky = default(bool);
  572. /// <summary>
  573. /// 彩蛋是否触发
  574. /// </summary>
  575. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_is_lucky", DataFormat = global::ProtoBuf.DataFormat.Default)]
  576. [global::System.ComponentModel.DefaultValue(default(bool))]
  577. public bool s2c_is_lucky
  578. {
  579. get { return _s2c_is_lucky; }
  580. set { _s2c_is_lucky = value; }
  581. }
  582. private global::ProtoBuf.IExtension extensionObject;
  583. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  584. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  585. }
  586. //---------------------------------------------------------------------------------------
  587. /// <summary>
  588. /// 已经钓鱼次数
  589. /// </summary>
  590. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OnFishPush")]
  591. public partial class OnFishPush : global::ProtoBuf.IExtensible
  592. {
  593. public OnFishPush() {}
  594. private int _s2c_fish_num = default(int);
  595. /// <summary>
  596. /// 今日已经钓鱼次数
  597. /// </summary>
  598. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"s2c_fish_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  599. [global::System.ComponentModel.DefaultValue(default(int))]
  600. public int s2c_fish_num
  601. {
  602. get { return _s2c_fish_num; }
  603. set { _s2c_fish_num = value; }
  604. }
  605. private int _s2c_fish_num1 = default(int);
  606. /// <summary>
  607. /// 跨服今日已经钓鱼次数
  608. /// </summary>
  609. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_fish_num1", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  610. [global::System.ComponentModel.DefaultValue(default(int))]
  611. public int s2c_fish_num1
  612. {
  613. get { return _s2c_fish_num1; }
  614. set { _s2c_fish_num1 = value; }
  615. }
  616. private global::ProtoBuf.IExtension extensionObject;
  617. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  618. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  619. }
  620. }