_battleHandler.cs 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011
  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. // * 作者= agui
  11. // * 创建时间= 2017-04-20
  12. // * 用途= 战斗相关扩展处理器
  13. // ***************************************************************************
  14. // Generated from: battleHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ItemNormal")]
  20. public partial class ItemNormal : global::ProtoBuf.IExtensible
  21. {
  22. public ItemNormal() {}
  23. private string _itemCode;
  24. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"itemCode", DataFormat = global::ProtoBuf.DataFormat.Default)]
  25. public string itemCode
  26. {
  27. get { return _itemCode; }
  28. set { _itemCode = value; }
  29. }
  30. private int _itemNum;
  31. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"itemNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  32. public int itemNum
  33. {
  34. get { return _itemNum; }
  35. set { _itemNum = value; }
  36. }
  37. private global::ProtoBuf.IExtension extensionObject;
  38. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  39. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  40. }
  41. //---------------------------------------------------------------------------------------
  42. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ThrowPointRequest")]
  43. public partial class ThrowPointRequest : global::ProtoBuf.IExtensible
  44. {
  45. public ThrowPointRequest() {}
  46. private string _id = "";
  47. /// <summary>
  48. /// 掷点的物品 掷点标识
  49. /// </summary>
  50. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  51. [global::System.ComponentModel.DefaultValue("")]
  52. public string id
  53. {
  54. get { return _id; }
  55. set { _id = value; }
  56. }
  57. private int _server_id = default(int);
  58. /// <summary>
  59. /// 附带ThrowPointItemListPush消息的server_id
  60. /// </summary>
  61. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"server_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  62. [global::System.ComponentModel.DefaultValue(default(int))]
  63. public int server_id
  64. {
  65. get { return _server_id; }
  66. set { _server_id = value; }
  67. }
  68. private bool _isQuit = default(bool);
  69. /// <summary>
  70. /// 是否放弃(true:放弃)
  71. /// </summary>
  72. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"isQuit", DataFormat = global::ProtoBuf.DataFormat.Default)]
  73. [global::System.ComponentModel.DefaultValue(default(bool))]
  74. public bool isQuit
  75. {
  76. get { return _isQuit; }
  77. set { _isQuit = value; }
  78. }
  79. private int _type = default(int);
  80. /// <summary>
  81. /// 1:roll 2:竞价
  82. /// </summary>
  83. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  84. [global::System.ComponentModel.DefaultValue(default(int))]
  85. public int type
  86. {
  87. get { return _type; }
  88. set { _type = value; }
  89. }
  90. private int _count = default(int);
  91. /// <summary>
  92. /// 加价次数
  93. /// </summary>
  94. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  95. [global::System.ComponentModel.DefaultValue(default(int))]
  96. public int count
  97. {
  98. get { return _count; }
  99. set { _count = value; }
  100. }
  101. private global::ProtoBuf.IExtension extensionObject;
  102. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  103. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  104. }
  105. //---------------------------------------------------------------------------------------
  106. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ThrowPointResponse")]
  107. public partial class ThrowPointResponse : global::ProtoBuf.IExtensible
  108. {
  109. public ThrowPointResponse() {}
  110. private int _s2c_code;
  111. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  112. public int s2c_code
  113. {
  114. get { return _s2c_code; }
  115. set { _s2c_code = value; }
  116. }
  117. private string _s2c_msg = "";
  118. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  119. [global::System.ComponentModel.DefaultValue("")]
  120. public string s2c_msg
  121. {
  122. get { return _s2c_msg; }
  123. set { _s2c_msg = value; }
  124. }
  125. private string _id = "";
  126. /// <summary>
  127. /// 掷点或竞价的物品 掷点标识
  128. /// </summary>
  129. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  130. [global::System.ComponentModel.DefaultValue("")]
  131. public string id
  132. {
  133. get { return _id; }
  134. set { _id = value; }
  135. }
  136. private int _point = default(int);
  137. /// <summary>
  138. /// 点数/价格
  139. /// </summary>
  140. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"point", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  141. [global::System.ComponentModel.DefaultValue(default(int))]
  142. public int point
  143. {
  144. get { return _point; }
  145. set { _point = value; }
  146. }
  147. private bool _isQuit = default(bool);
  148. /// <summary>
  149. /// 是否放弃(true:放弃)
  150. /// </summary>
  151. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"isQuit", DataFormat = global::ProtoBuf.DataFormat.Default)]
  152. [global::System.ComponentModel.DefaultValue(default(bool))]
  153. public bool isQuit
  154. {
  155. get { return _isQuit; }
  156. set { _isQuit = value; }
  157. }
  158. private global::ProtoBuf.IExtension extensionObject;
  159. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  160. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  161. }
  162. //---------------------------------------------------------------------------------------
  163. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FightLevelResultPush")]
  164. public partial class FightLevelResultPush : global::ProtoBuf.IExtensible
  165. {
  166. public FightLevelResultPush() {}
  167. private int _time = default(int);
  168. /// <summary>
  169. /// 倒计时
  170. /// </summary>
  171. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  172. [global::System.ComponentModel.DefaultValue(default(int))]
  173. public int time
  174. {
  175. get { return _time; }
  176. set { _time = value; }
  177. }
  178. private int _level = default(int);
  179. /// <summary>
  180. /// 层级
  181. /// </summary>
  182. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  183. [global::System.ComponentModel.DefaultValue(default(int))]
  184. public int level
  185. {
  186. get { return _level; }
  187. set { _level = value; }
  188. }
  189. private int _type = default(int);
  190. /// <summary>
  191. /// 界面类型(0:当前,1:通关)
  192. /// </summary>
  193. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  194. [global::System.ComponentModel.DefaultValue(default(int))]
  195. public int type
  196. {
  197. get { return _type; }
  198. set { _type = value; }
  199. }
  200. private readonly global::System.Collections.Generic.List<pomelo.area.ItemNormal> _itemLine1 = new global::System.Collections.Generic.List<pomelo.area.ItemNormal>();
  201. /// <summary>
  202. /// 第一行奖励
  203. /// </summary>
  204. [global::ProtoBuf.ProtoMember(4, Name=@"itemLine1", DataFormat = global::ProtoBuf.DataFormat.Default)]
  205. public global::System.Collections.Generic.List<pomelo.area.ItemNormal> itemLine1
  206. {
  207. get { return _itemLine1; }
  208. }
  209. private readonly global::System.Collections.Generic.List<pomelo.area.ItemNormal> _itemLine2 = new global::System.Collections.Generic.List<pomelo.area.ItemNormal>();
  210. /// <summary>
  211. /// 第二行奖励
  212. /// </summary>
  213. [global::ProtoBuf.ProtoMember(6, Name=@"itemLine2", DataFormat = global::ProtoBuf.DataFormat.Default)]
  214. public global::System.Collections.Generic.List<pomelo.area.ItemNormal> itemLine2
  215. {
  216. get { return _itemLine2; }
  217. }
  218. private int _isMax = default(int);
  219. /// <summary>
  220. /// 收益已达上限
  221. /// </summary>
  222. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"isMax", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  223. [global::System.ComponentModel.DefaultValue(default(int))]
  224. public int isMax
  225. {
  226. get { return _isMax; }
  227. set { _isMax = value; }
  228. }
  229. private pomelo.DemonTowerFloorInfo _demonTowerFloorInfo = null;
  230. [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"demonTowerFloorInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  231. [global::System.ComponentModel.DefaultValue(null)]
  232. public pomelo.DemonTowerFloorInfo demonTowerFloorInfo
  233. {
  234. get { return _demonTowerFloorInfo; }
  235. set { _demonTowerFloorInfo = value; }
  236. }
  237. private int _currentTime = default(int);
  238. /// <summary>
  239. /// 本次通关用时
  240. /// </summary>
  241. [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"currentTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  242. [global::System.ComponentModel.DefaultValue(default(int))]
  243. public int currentTime
  244. {
  245. get { return _currentTime; }
  246. set { _currentTime = value; }
  247. }
  248. private bool _newRecordFloor = default(bool);
  249. /// <summary>
  250. /// 是否突破了自己的层记录
  251. /// </summary>
  252. [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"newRecordFloor", DataFormat = global::ProtoBuf.DataFormat.Default)]
  253. [global::System.ComponentModel.DefaultValue(default(bool))]
  254. public bool newRecordFloor
  255. {
  256. get { return _newRecordFloor; }
  257. set { _newRecordFloor = value; }
  258. }
  259. private bool _newRecordTime = default(bool);
  260. /// <summary>
  261. /// 是否突破全服的时间记录
  262. /// </summary>
  263. [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"newRecordTime", DataFormat = global::ProtoBuf.DataFormat.Default)]
  264. [global::System.ComponentModel.DefaultValue(default(bool))]
  265. public bool newRecordTime
  266. {
  267. get { return _newRecordTime; }
  268. set { _newRecordTime = value; }
  269. }
  270. private int _myMaxFloorId = default(int);
  271. /// <summary>
  272. /// 我的最高层
  273. /// </summary>
  274. [global::ProtoBuf.ProtoMember(12, IsRequired = false, Name=@"myMaxFloorId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  275. [global::System.ComponentModel.DefaultValue(default(int))]
  276. public int myMaxFloorId
  277. {
  278. get { return _myMaxFloorId; }
  279. set { _myMaxFloorId = value; }
  280. }
  281. private bool _isAllFlag = default(bool);
  282. /// <summary>
  283. /// 是否全部通关镇妖塔
  284. /// </summary>
  285. [global::ProtoBuf.ProtoMember(13, IsRequired = false, Name=@"isAllFlag", DataFormat = global::ProtoBuf.DataFormat.Default)]
  286. [global::System.ComponentModel.DefaultValue(default(bool))]
  287. public bool isAllFlag
  288. {
  289. get { return _isAllFlag; }
  290. set { _isAllFlag = value; }
  291. }
  292. private global::ProtoBuf.IExtension extensionObject;
  293. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  294. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  295. }
  296. //---------------------------------------------------------------------------------------
  297. /// <summary>
  298. /// 资源副本结算推送
  299. /// </summary>
  300. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceDungeonResultPush")]
  301. public partial class ResourceDungeonResultPush : global::ProtoBuf.IExtensible
  302. {
  303. public ResourceDungeonResultPush() {}
  304. private int _dungeonId;
  305. /// <summary>
  306. /// 副本ID
  307. /// </summary>
  308. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"dungeonId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  309. public int dungeonId
  310. {
  311. get { return _dungeonId; }
  312. set { _dungeonId = value; }
  313. }
  314. private int _killMonster = default(int);
  315. /// <summary>
  316. /// 杀怪数量
  317. /// </summary>
  318. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"killMonster", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  319. [global::System.ComponentModel.DefaultValue(default(int))]
  320. public int killMonster
  321. {
  322. get { return _killMonster; }
  323. set { _killMonster = value; }
  324. }
  325. private int _doubleCost = default(int);
  326. /// <summary>
  327. /// 双倍奖励领取元宝, -1表示没有双倍奖励
  328. /// </summary>
  329. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"doubleCost", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  330. [global::System.ComponentModel.DefaultValue(default(int))]
  331. public int doubleCost
  332. {
  333. get { return _doubleCost; }
  334. set { _doubleCost = value; }
  335. }
  336. private readonly global::System.Collections.Generic.List<pomelo.area.ItemNormal> _itemLine1 = new global::System.Collections.Generic.List<pomelo.area.ItemNormal>();
  337. /// <summary>
  338. /// 奖励
  339. /// </summary>
  340. [global::ProtoBuf.ProtoMember(4, Name=@"itemLine1", DataFormat = global::ProtoBuf.DataFormat.Default)]
  341. public global::System.Collections.Generic.List<pomelo.area.ItemNormal> itemLine1
  342. {
  343. get { return _itemLine1; }
  344. }
  345. private int _succ = default(int);
  346. /// <summary>
  347. /// 0:失败 1:成功
  348. /// </summary>
  349. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"succ", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  350. [global::System.ComponentModel.DefaultValue(default(int))]
  351. public int succ
  352. {
  353. get { return _succ; }
  354. set { _succ = 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=@"ItemDrop")]
  362. public partial class ItemDrop : global::ProtoBuf.IExtensible
  363. {
  364. public ItemDrop() {}
  365. private string _id = "";
  366. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  367. [global::System.ComponentModel.DefaultValue("")]
  368. public string id
  369. {
  370. get { return _id; }
  371. set { _id = value; }
  372. }
  373. private string _name;
  374. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  375. public string name
  376. {
  377. get { return _name; }
  378. set { _name = value; }
  379. }
  380. private string _showId;
  381. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"showId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  382. public string showId
  383. {
  384. get { return _showId; }
  385. set { _showId = value; }
  386. }
  387. private int _groupCount = default(int);
  388. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"groupCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  389. [global::System.ComponentModel.DefaultValue(default(int))]
  390. public int groupCount
  391. {
  392. get { return _groupCount; }
  393. set { _groupCount = value; }
  394. }
  395. private int _qColor;
  396. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"qColor", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  397. public int qColor
  398. {
  399. get { return _qColor; }
  400. set { _qColor = value; }
  401. }
  402. private int _itemTypeId;
  403. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"itemTypeId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  404. public int itemTypeId
  405. {
  406. get { return _itemTypeId; }
  407. set { _itemTypeId = value; }
  408. }
  409. private string _iconName;
  410. [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"iconName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  411. public string iconName
  412. {
  413. get { return _iconName; }
  414. set { _iconName = value; }
  415. }
  416. private int _freezeTime = default(int);
  417. [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"freezeTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  418. [global::System.ComponentModel.DefaultValue(default(int))]
  419. public int freezeTime
  420. {
  421. get { return _freezeTime; }
  422. set { _freezeTime = value; }
  423. }
  424. private int _protectTime = default(int);
  425. [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"protectTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  426. [global::System.ComponentModel.DefaultValue(default(int))]
  427. public int protectTime
  428. {
  429. get { return _protectTime; }
  430. set { _protectTime = value; }
  431. }
  432. private int _lifeTime = default(int);
  433. [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"lifeTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  434. [global::System.ComponentModel.DefaultValue(default(int))]
  435. public int lifeTime
  436. {
  437. get { return _lifeTime; }
  438. set { _lifeTime = value; }
  439. }
  440. private global::ProtoBuf.IExtension extensionObject;
  441. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  442. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  443. }
  444. //---------------------------------------------------------------------------------------
  445. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ItemDropPush")]
  446. public partial class ItemDropPush : global::ProtoBuf.IExtensible
  447. {
  448. public ItemDropPush() {}
  449. private int _x = default(int);
  450. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"x", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  451. [global::System.ComponentModel.DefaultValue(default(int))]
  452. public int x
  453. {
  454. get { return _x; }
  455. set { _x = value; }
  456. }
  457. private int _y;
  458. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"y", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  459. public int y
  460. {
  461. get { return _y; }
  462. set { _y = value; }
  463. }
  464. private readonly global::System.Collections.Generic.List<pomelo.area.ItemDrop> _items = new global::System.Collections.Generic.List<pomelo.area.ItemDrop>();
  465. [global::ProtoBuf.ProtoMember(3, Name=@"items", DataFormat = global::ProtoBuf.DataFormat.Default)]
  466. public global::System.Collections.Generic.List<pomelo.area.ItemDrop> items
  467. {
  468. get { return _items; }
  469. }
  470. private global::ProtoBuf.IExtension extensionObject;
  471. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  472. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  473. }
  474. //---------------------------------------------------------------------------------------
  475. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PointItemView")]
  476. public partial class PointItemView : global::ProtoBuf.IExtensible
  477. {
  478. public PointItemView() {}
  479. private string _id;
  480. /// <summary>
  481. /// 唯一标识
  482. /// </summary>
  483. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  484. public string id
  485. {
  486. get { return _id; }
  487. set { _id = value; }
  488. }
  489. private string _itemCode;
  490. /// <summary>
  491. /// 物品模板
  492. /// </summary>
  493. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"itemCode", DataFormat = global::ProtoBuf.DataFormat.Default)]
  494. public string itemCode
  495. {
  496. get { return _itemCode; }
  497. set { _itemCode = value; }
  498. }
  499. private int _num;
  500. /// <summary>
  501. /// 物品数量
  502. /// </summary>
  503. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  504. public int num
  505. {
  506. get { return _num; }
  507. set { _num = value; }
  508. }
  509. private int _type = default(int);
  510. /// <summary>
  511. /// 1:roll 2:竞价
  512. /// </summary>
  513. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  514. [global::System.ComponentModel.DefaultValue(default(int))]
  515. public int type
  516. {
  517. get { return _type; }
  518. set { _type = value; }
  519. }
  520. private int _time = default(int);
  521. /// <summary>
  522. /// 倒计时
  523. /// </summary>
  524. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  525. [global::System.ComponentModel.DefaultValue(default(int))]
  526. public int time
  527. {
  528. get { return _time; }
  529. set { _time = value; }
  530. }
  531. private int _currencyChange = default(int);
  532. /// <summary>
  533. /// 仙玉转元宝转换率
  534. /// </summary>
  535. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"currencyChange", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  536. [global::System.ComponentModel.DefaultValue(default(int))]
  537. public int currencyChange
  538. {
  539. get { return _currencyChange; }
  540. set { _currencyChange = value; }
  541. }
  542. private int _percentage = default(int);
  543. /// <summary>
  544. /// 加价百分比
  545. /// </summary>
  546. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"percentage", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  547. [global::System.ComponentModel.DefaultValue(default(int))]
  548. public int percentage
  549. {
  550. get { return _percentage; }
  551. set { _percentage = value; }
  552. }
  553. private global::ProtoBuf.IExtension extensionObject;
  554. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  555. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  556. }
  557. //---------------------------------------------------------------------------------------
  558. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ThrowPointItemListPush")]
  559. public partial class ThrowPointItemListPush : global::ProtoBuf.IExtensible
  560. {
  561. public ThrowPointItemListPush() {}
  562. private int _s2c_code;
  563. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  564. public int s2c_code
  565. {
  566. get { return _s2c_code; }
  567. set { _s2c_code = value; }
  568. }
  569. private readonly global::System.Collections.Generic.List<pomelo.area.PointItemView> _items = new global::System.Collections.Generic.List<pomelo.area.PointItemView>();
  570. /// <summary>
  571. /// 道具
  572. /// </summary>
  573. [global::ProtoBuf.ProtoMember(2, Name=@"items", DataFormat = global::ProtoBuf.DataFormat.Default)]
  574. public global::System.Collections.Generic.List<pomelo.area.PointItemView> items
  575. {
  576. get { return _items; }
  577. }
  578. private int _server_id = default(int);
  579. /// <summary>
  580. /// 服务器id,选择roll点(或竞价)时带过来
  581. /// </summary>
  582. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"server_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  583. [global::System.ComponentModel.DefaultValue(default(int))]
  584. public int server_id
  585. {
  586. get { return _server_id; }
  587. set { _server_id = value; }
  588. }
  589. private global::ProtoBuf.IExtension extensionObject;
  590. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  591. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  592. }
  593. //---------------------------------------------------------------------------------------
  594. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResultInfo")]
  595. public partial class ResultInfo : global::ProtoBuf.IExtensible
  596. {
  597. public ResultInfo() {}
  598. private string _playerId = "";
  599. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  600. [global::System.ComponentModel.DefaultValue("")]
  601. public string playerId
  602. {
  603. get { return _playerId; }
  604. set { _playerId = value; }
  605. }
  606. private bool _isQuit = default(bool);
  607. /// <summary>
  608. /// 是否放弃(true:放弃)
  609. /// </summary>
  610. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"isQuit", DataFormat = global::ProtoBuf.DataFormat.Default)]
  611. [global::System.ComponentModel.DefaultValue(default(bool))]
  612. public bool isQuit
  613. {
  614. get { return _isQuit; }
  615. set { _isQuit = value; }
  616. }
  617. private int _point = default(int);
  618. /// <summary>
  619. /// 点数
  620. /// </summary>
  621. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"point", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  622. [global::System.ComponentModel.DefaultValue(default(int))]
  623. public int point
  624. {
  625. get { return _point; }
  626. set { _point = value; }
  627. }
  628. private long _myprice = default(long);
  629. /// <summary>
  630. /// 自己出价
  631. /// </summary>
  632. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"myprice", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  633. [global::System.ComponentModel.DefaultValue(default(long))]
  634. public long myprice
  635. {
  636. get { return _myprice; }
  637. set { _myprice = value; }
  638. }
  639. private global::ProtoBuf.IExtension extensionObject;
  640. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  641. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  642. }
  643. //---------------------------------------------------------------------------------------
  644. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ThrowPointResultPush")]
  645. public partial class ThrowPointResultPush : global::ProtoBuf.IExtensible
  646. {
  647. public ThrowPointResultPush() {}
  648. private string _id = "";
  649. /// <summary>
  650. /// 掷点索引
  651. /// </summary>
  652. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  653. [global::System.ComponentModel.DefaultValue("")]
  654. public string id
  655. {
  656. get { return _id; }
  657. set { _id = value; }
  658. }
  659. private string _name = "";
  660. /// <summary>
  661. /// 获得的玩家名
  662. /// </summary>
  663. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  664. [global::System.ComponentModel.DefaultValue("")]
  665. public string name
  666. {
  667. get { return _name; }
  668. set { _name = value; }
  669. }
  670. private string _itemCode = "";
  671. /// <summary>
  672. /// 获得的物品代码
  673. /// </summary>
  674. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"itemCode", DataFormat = global::ProtoBuf.DataFormat.Default)]
  675. [global::System.ComponentModel.DefaultValue("")]
  676. public string itemCode
  677. {
  678. get { return _itemCode; }
  679. set { _itemCode = value; }
  680. }
  681. private int _num = default(int);
  682. /// <summary>
  683. /// 获得的物品数量
  684. /// </summary>
  685. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  686. [global::System.ComponentModel.DefaultValue(default(int))]
  687. public int num
  688. {
  689. get { return _num; }
  690. set { _num = value; }
  691. }
  692. private int _type = default(int);
  693. /// <summary>
  694. /// 1:roll 2:竞价
  695. /// </summary>
  696. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  697. [global::System.ComponentModel.DefaultValue(default(int))]
  698. public int type
  699. {
  700. get { return _type; }
  701. set { _type = value; }
  702. }
  703. private long _maxprice = default(long);
  704. /// <summary>
  705. /// 当前最高出价
  706. /// </summary>
  707. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"maxprice", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  708. [global::System.ComponentModel.DefaultValue(default(long))]
  709. public long maxprice
  710. {
  711. get { return _maxprice; }
  712. set { _maxprice = value; }
  713. }
  714. private int _biddingType = default(int);
  715. /// <summary>
  716. /// 状态 1:竞价中 2:竞价结束
  717. /// </summary>
  718. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"biddingType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  719. [global::System.ComponentModel.DefaultValue(default(int))]
  720. public int biddingType
  721. {
  722. get { return _biddingType; }
  723. set { _biddingType = value; }
  724. }
  725. private readonly global::System.Collections.Generic.List<pomelo.area.ResultInfo> _info = new global::System.Collections.Generic.List<pomelo.area.ResultInfo>();
  726. [global::ProtoBuf.ProtoMember(8, Name=@"info", DataFormat = global::ProtoBuf.DataFormat.Default)]
  727. public global::System.Collections.Generic.List<pomelo.area.ResultInfo> info
  728. {
  729. get { return _info; }
  730. }
  731. private global::ProtoBuf.IExtension extensionObject;
  732. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  733. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  734. }
  735. //---------------------------------------------------------------------------------------
  736. /// <summary>
  737. /// 出价记录
  738. /// </summary>
  739. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BiddingInfoPush")]
  740. public partial class BiddingInfoPush : global::ProtoBuf.IExtensible
  741. {
  742. public BiddingInfoPush() {}
  743. private string _id;
  744. /// <summary>
  745. /// 掷点索引
  746. /// </summary>
  747. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  748. public string id
  749. {
  750. get { return _id; }
  751. set { _id = value; }
  752. }
  753. private string _playerId;
  754. /// <summary>
  755. /// 出价玩家ID
  756. /// </summary>
  757. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  758. public string playerId
  759. {
  760. get { return _playerId; }
  761. set { _playerId = value; }
  762. }
  763. private string _playerName = "";
  764. /// <summary>
  765. /// 玩家名称
  766. /// </summary>
  767. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"playerName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  768. [global::System.ComponentModel.DefaultValue("")]
  769. public string playerName
  770. {
  771. get { return _playerName; }
  772. set { _playerName = value; }
  773. }
  774. private long _price = default(long);
  775. /// <summary>
  776. /// 我的出价
  777. /// </summary>
  778. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"price", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  779. [global::System.ComponentModel.DefaultValue(default(long))]
  780. public long price
  781. {
  782. get { return _price; }
  783. set { _price = value; }
  784. }
  785. private long _time = default(long);
  786. /// <summary>
  787. /// 出价时间
  788. /// </summary>
  789. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  790. [global::System.ComponentModel.DefaultValue(default(long))]
  791. public long time
  792. {
  793. get { return _time; }
  794. set { _time = value; }
  795. }
  796. private long _maxprice = default(long);
  797. /// <summary>
  798. /// 当前最高出价
  799. /// </summary>
  800. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"maxprice", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  801. [global::System.ComponentModel.DefaultValue(default(long))]
  802. public long maxprice
  803. {
  804. get { return _maxprice; }
  805. set { _maxprice = value; }
  806. }
  807. private string _maxName = "";
  808. /// <summary>
  809. /// 当前最高出价玩家id
  810. /// </summary>
  811. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"maxName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  812. [global::System.ComponentModel.DefaultValue("")]
  813. public string maxName
  814. {
  815. get { return _maxName; }
  816. set { _maxName = value; }
  817. }
  818. private global::ProtoBuf.IExtension extensionObject;
  819. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  820. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  821. }
  822. //---------------------------------------------------------------------------------------
  823. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SceneNamePush")]
  824. public partial class SceneNamePush : global::ProtoBuf.IExtensible
  825. {
  826. public SceneNamePush() {}
  827. private string _scene_name;
  828. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"scene_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  829. public string scene_name
  830. {
  831. get { return _scene_name; }
  832. set { _scene_name = value; }
  833. }
  834. private global::ProtoBuf.IExtension extensionObject;
  835. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  836. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  837. }
  838. }