_cardHandler.cs 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926
  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: cardHandler.proto
  15. namespace pomelo.area
  16. {
  17. //---------------------------------------------------------------------------------------
  18. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardRegisterRequest")]
  19. public partial class CardRegisterRequest : global::ProtoBuf.IExtensible
  20. {
  21. public CardRegisterRequest() {}
  22. private int _c2s_cardId;
  23. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_cardId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  24. public int c2s_cardId
  25. {
  26. get { return _c2s_cardId; }
  27. set { _c2s_cardId = value; }
  28. }
  29. private global::ProtoBuf.IExtension extensionObject;
  30. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  31. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  32. }
  33. //---------------------------------------------------------------------------------------
  34. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardLevelUpRequest")]
  35. public partial class CardLevelUpRequest : global::ProtoBuf.IExtensible
  36. {
  37. public CardLevelUpRequest() {}
  38. private int _c2s_cardTemplateId;
  39. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_cardTemplateId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  40. public int c2s_cardTemplateId
  41. {
  42. get { return _c2s_cardTemplateId; }
  43. set { _c2s_cardTemplateId = value; }
  44. }
  45. private global::ProtoBuf.IExtension extensionObject;
  46. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  47. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  48. }
  49. //---------------------------------------------------------------------------------------
  50. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardPreLevelUpRequest")]
  51. public partial class CardPreLevelUpRequest : global::ProtoBuf.IExtensible
  52. {
  53. public CardPreLevelUpRequest() {}
  54. private int _c2s_cardTemplateId;
  55. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_cardTemplateId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  56. public int c2s_cardTemplateId
  57. {
  58. get { return _c2s_cardTemplateId; }
  59. set { _c2s_cardTemplateId = value; }
  60. }
  61. private global::ProtoBuf.IExtension extensionObject;
  62. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  63. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  64. }
  65. //---------------------------------------------------------------------------------------
  66. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardGetAwardRequest")]
  67. public partial class CardGetAwardRequest : global::ProtoBuf.IExtensible
  68. {
  69. public CardGetAwardRequest() {}
  70. private int _c2s_awardId;
  71. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_awardId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  72. public int c2s_awardId
  73. {
  74. get { return _c2s_awardId; }
  75. set { _c2s_awardId = value; }
  76. }
  77. private global::ProtoBuf.IExtension extensionObject;
  78. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  79. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  80. }
  81. //---------------------------------------------------------------------------------------
  82. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardEquipRequest")]
  83. public partial class CardEquipRequest : global::ProtoBuf.IExtensible
  84. {
  85. public CardEquipRequest() {}
  86. private int _c2s_cardId;
  87. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_cardId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  88. public int c2s_cardId
  89. {
  90. get { return _c2s_cardId; }
  91. set { _c2s_cardId = value; }
  92. }
  93. private int _c2s_holePos;
  94. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_holePos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  95. public int c2s_holePos
  96. {
  97. get { return _c2s_holePos; }
  98. set { _c2s_holePos = value; }
  99. }
  100. private global::ProtoBuf.IExtension extensionObject;
  101. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  102. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  103. }
  104. //---------------------------------------------------------------------------------------
  105. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardQueryAllDataRequest")]
  106. public partial class CardQueryAllDataRequest : global::ProtoBuf.IExtensible
  107. {
  108. public CardQueryAllDataRequest() {}
  109. private global::ProtoBuf.IExtension extensionObject;
  110. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  111. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  112. }
  113. //---------------------------------------------------------------------------------------
  114. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"cardRelationAttStruct")]
  115. public partial class cardRelationAttStruct : global::ProtoBuf.IExtensible
  116. {
  117. public cardRelationAttStruct() {}
  118. private string _name;
  119. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  120. public string name
  121. {
  122. get { return _name; }
  123. set { _name = value; }
  124. }
  125. private string _des;
  126. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"des", DataFormat = global::ProtoBuf.DataFormat.Default)]
  127. public string des
  128. {
  129. get { return _des; }
  130. set { _des = value; }
  131. }
  132. private string _attName;
  133. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"attName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  134. public string attName
  135. {
  136. get { return _attName; }
  137. set { _attName = value; }
  138. }
  139. private int _attValue;
  140. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"attValue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  141. public int attValue
  142. {
  143. get { return _attValue; }
  144. set { _attValue = value; }
  145. }
  146. private int _condition;
  147. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"condition", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  148. public int condition
  149. {
  150. get { return _condition; }
  151. set { _condition = value; }
  152. }
  153. private global::ProtoBuf.IExtension extensionObject;
  154. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  155. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  156. }
  157. //---------------------------------------------------------------------------------------
  158. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardPropertyStruct")]
  159. public partial class CardPropertyStruct : global::ProtoBuf.IExtensible
  160. {
  161. public CardPropertyStruct() {}
  162. private string _describ;
  163. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"describ", DataFormat = global::ProtoBuf.DataFormat.Default)]
  164. public string describ
  165. {
  166. get { return _describ; }
  167. set { _describ = value; }
  168. }
  169. private int _value = default(int);
  170. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"value", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  171. [global::System.ComponentModel.DefaultValue(default(int))]
  172. public int value
  173. {
  174. get { return _value; }
  175. set { _value = value; }
  176. }
  177. private int _maxValue = default(int);
  178. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"maxValue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  179. [global::System.ComponentModel.DefaultValue(default(int))]
  180. public int maxValue
  181. {
  182. get { return _maxValue; }
  183. set { _maxValue = value; }
  184. }
  185. private string _name = "";
  186. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  187. [global::System.ComponentModel.DefaultValue("")]
  188. public string name
  189. {
  190. get { return _name; }
  191. set { _name = value; }
  192. }
  193. private global::ProtoBuf.IExtension extensionObject;
  194. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  195. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  196. }
  197. //---------------------------------------------------------------------------------------
  198. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Card")]
  199. public partial class Card : global::ProtoBuf.IExtensible
  200. {
  201. public Card() {}
  202. private int _id;
  203. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  204. public int id
  205. {
  206. get { return _id; }
  207. set { _id = value; }
  208. }
  209. private string _name;
  210. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  211. public string name
  212. {
  213. get { return _name; }
  214. set { _name = value; }
  215. }
  216. private int _isActive;
  217. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"isActive", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  218. public int isActive
  219. {
  220. get { return _isActive; }
  221. set { _isActive = value; }
  222. }
  223. private int _inUsePos;
  224. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"inUsePos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  225. public int inUsePos
  226. {
  227. get { return _inUsePos; }
  228. set { _inUsePos = value; }
  229. }
  230. private int _pic;
  231. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"pic", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  232. public int pic
  233. {
  234. get { return _pic; }
  235. set { _pic = value; }
  236. }
  237. private int _level;
  238. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  239. public int level
  240. {
  241. get { return _level; }
  242. set { _level = value; }
  243. }
  244. private int _maxLevel;
  245. [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"maxLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  246. public int maxLevel
  247. {
  248. get { return _maxLevel; }
  249. set { _maxLevel = value; }
  250. }
  251. private int _quality;
  252. [global::ProtoBuf.ProtoMember(8, IsRequired = true, Name=@"quality", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  253. public int quality
  254. {
  255. get { return _quality; }
  256. set { _quality = value; }
  257. }
  258. private string _qualityName;
  259. [global::ProtoBuf.ProtoMember(9, IsRequired = true, Name=@"qualityName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  260. public string qualityName
  261. {
  262. get { return _qualityName; }
  263. set { _qualityName = value; }
  264. }
  265. private int _cardType;
  266. [global::ProtoBuf.ProtoMember(10, IsRequired = true, Name=@"cardType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  267. public int cardType
  268. {
  269. get { return _cardType; }
  270. set { _cardType = value; }
  271. }
  272. private string _typeName;
  273. [global::ProtoBuf.ProtoMember(11, IsRequired = true, Name=@"typeName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  274. public string typeName
  275. {
  276. get { return _typeName; }
  277. set { _typeName = value; }
  278. }
  279. private int _suitType;
  280. [global::ProtoBuf.ProtoMember(12, IsRequired = true, Name=@"suitType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  281. public int suitType
  282. {
  283. get { return _suitType; }
  284. set { _suitType = value; }
  285. }
  286. private string _suitDes;
  287. [global::ProtoBuf.ProtoMember(13, IsRequired = true, Name=@"suitDes", DataFormat = global::ProtoBuf.DataFormat.Default)]
  288. public string suitDes
  289. {
  290. get { return _suitDes; }
  291. set { _suitDes = value; }
  292. }
  293. private pomelo.area.CardPropertyStruct _baseAtt;
  294. [global::ProtoBuf.ProtoMember(14, IsRequired = true, Name=@"baseAtt", DataFormat = global::ProtoBuf.DataFormat.Default)]
  295. public pomelo.area.CardPropertyStruct baseAtt
  296. {
  297. get { return _baseAtt; }
  298. set { _baseAtt = value; }
  299. }
  300. private pomelo.area.CardPropertyStruct _baseAttNextLevel;
  301. [global::ProtoBuf.ProtoMember(15, IsRequired = true, Name=@"baseAttNextLevel", DataFormat = global::ProtoBuf.DataFormat.Default)]
  302. public pomelo.area.CardPropertyStruct baseAttNextLevel
  303. {
  304. get { return _baseAttNextLevel; }
  305. set { _baseAttNextLevel = value; }
  306. }
  307. private pomelo.area.cardRelationAttStruct _relationAtt1;
  308. [global::ProtoBuf.ProtoMember(16, IsRequired = true, Name=@"relationAtt1", DataFormat = global::ProtoBuf.DataFormat.Default)]
  309. public pomelo.area.cardRelationAttStruct relationAtt1
  310. {
  311. get { return _relationAtt1; }
  312. set { _relationAtt1 = value; }
  313. }
  314. private pomelo.area.cardRelationAttStruct _relationAtt2;
  315. [global::ProtoBuf.ProtoMember(17, IsRequired = true, Name=@"relationAtt2", DataFormat = global::ProtoBuf.DataFormat.Default)]
  316. public pomelo.area.cardRelationAttStruct relationAtt2
  317. {
  318. get { return _relationAtt2; }
  319. set { _relationAtt2 = value; }
  320. }
  321. private int _levelUpItemId;
  322. [global::ProtoBuf.ProtoMember(18, IsRequired = true, Name=@"levelUpItemId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  323. public int levelUpItemId
  324. {
  325. get { return _levelUpItemId; }
  326. set { _levelUpItemId = value; }
  327. }
  328. private string _from;
  329. [global::ProtoBuf.ProtoMember(19, IsRequired = true, Name=@"from", DataFormat = global::ProtoBuf.DataFormat.Default)]
  330. public string from
  331. {
  332. get { return _from; }
  333. set { _from = value; }
  334. }
  335. private global::ProtoBuf.IExtension extensionObject;
  336. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  337. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  338. }
  339. //---------------------------------------------------------------------------------------
  340. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardHole")]
  341. public partial class CardHole : global::ProtoBuf.IExtensible
  342. {
  343. public CardHole() {}
  344. private int _pos;
  345. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  346. public int pos
  347. {
  348. get { return _pos; }
  349. set { _pos = value; }
  350. }
  351. private int _quality;
  352. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"quality", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  353. public int quality
  354. {
  355. get { return _quality; }
  356. set { _quality = value; }
  357. }
  358. private int _cardId;
  359. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"cardId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  360. public int cardId
  361. {
  362. get { return _cardId; }
  363. set { _cardId = value; }
  364. }
  365. private int _status;
  366. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"status", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  367. public int status
  368. {
  369. get { return _status; }
  370. set { _status = value; }
  371. }
  372. private int _unLockLevel;
  373. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"unLockLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  374. public int unLockLevel
  375. {
  376. get { return _unLockLevel; }
  377. set { _unLockLevel = value; }
  378. }
  379. private int _taskId;
  380. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"taskId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  381. public int taskId
  382. {
  383. get { return _taskId; }
  384. set { _taskId = value; }
  385. }
  386. private global::ProtoBuf.IExtension extensionObject;
  387. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  388. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  389. }
  390. //---------------------------------------------------------------------------------------
  391. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardAward")]
  392. public partial class CardAward : global::ProtoBuf.IExtensible
  393. {
  394. public CardAward() {}
  395. private int _targetId;
  396. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"targetId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  397. public int targetId
  398. {
  399. get { return _targetId; }
  400. set { _targetId = value; }
  401. }
  402. private int _status;
  403. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"status", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  404. public int status
  405. {
  406. get { return _status; }
  407. set { _status = value; }
  408. }
  409. private string _des;
  410. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"des", DataFormat = global::ProtoBuf.DataFormat.Default)]
  411. public string des
  412. {
  413. get { return _des; }
  414. set { _des = value; }
  415. }
  416. private int _cardType;
  417. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"cardType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  418. public int cardType
  419. {
  420. get { return _cardType; }
  421. set { _cardType = value; }
  422. }
  423. private int _collectNum;
  424. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"collectNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  425. public int collectNum
  426. {
  427. get { return _collectNum; }
  428. set { _collectNum = value; }
  429. }
  430. private int _awardId;
  431. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"awardId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  432. public int awardId
  433. {
  434. get { return _awardId; }
  435. set { _awardId = value; }
  436. }
  437. private global::ProtoBuf.IExtension extensionObject;
  438. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  439. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  440. }
  441. //---------------------------------------------------------------------------------------
  442. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardSuit")]
  443. public partial class CardSuit : global::ProtoBuf.IExtensible
  444. {
  445. public CardSuit() {}
  446. private int _suitId;
  447. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"suitId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  448. public int suitId
  449. {
  450. get { return _suitId; }
  451. set { _suitId = value; }
  452. }
  453. private string _name;
  454. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  455. public string name
  456. {
  457. get { return _name; }
  458. set { _name = value; }
  459. }
  460. private int _num;
  461. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  462. public int num
  463. {
  464. get { return _num; }
  465. set { _num = value; }
  466. }
  467. private int _itemid1;
  468. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"itemid1", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  469. public int itemid1
  470. {
  471. get { return _itemid1; }
  472. set { _itemid1 = value; }
  473. }
  474. private int _itemid2;
  475. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"itemid2", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  476. public int itemid2
  477. {
  478. get { return _itemid2; }
  479. set { _itemid2 = value; }
  480. }
  481. private int _itemid3;
  482. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"itemid3", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  483. public int itemid3
  484. {
  485. get { return _itemid3; }
  486. set { _itemid3 = value; }
  487. }
  488. private int _itemid4;
  489. [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"itemid4", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  490. public int itemid4
  491. {
  492. get { return _itemid4; }
  493. set { _itemid4 = value; }
  494. }
  495. private int _itemid5;
  496. [global::ProtoBuf.ProtoMember(8, IsRequired = true, Name=@"itemid5", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  497. public int itemid5
  498. {
  499. get { return _itemid5; }
  500. set { _itemid5 = value; }
  501. }
  502. private int _itemid6;
  503. [global::ProtoBuf.ProtoMember(9, IsRequired = true, Name=@"itemid6", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  504. public int itemid6
  505. {
  506. get { return _itemid6; }
  507. set { _itemid6 = value; }
  508. }
  509. private string _story;
  510. [global::ProtoBuf.ProtoMember(10, IsRequired = true, Name=@"story", DataFormat = global::ProtoBuf.DataFormat.Default)]
  511. public string story
  512. {
  513. get { return _story; }
  514. set { _story = value; }
  515. }
  516. private string _suitSkillName;
  517. [global::ProtoBuf.ProtoMember(11, IsRequired = true, Name=@"suitSkillName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  518. public string suitSkillName
  519. {
  520. get { return _suitSkillName; }
  521. set { _suitSkillName = value; }
  522. }
  523. private string _suitskillDes;
  524. [global::ProtoBuf.ProtoMember(12, IsRequired = true, Name=@"suitskillDes", DataFormat = global::ProtoBuf.DataFormat.Default)]
  525. public string suitskillDes
  526. {
  527. get { return _suitskillDes; }
  528. set { _suitskillDes = value; }
  529. }
  530. private int _buffId;
  531. [global::ProtoBuf.ProtoMember(13, IsRequired = true, Name=@"buffId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  532. public int buffId
  533. {
  534. get { return _buffId; }
  535. set { _buffId = value; }
  536. }
  537. private global::ProtoBuf.IExtension extensionObject;
  538. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  539. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  540. }
  541. //---------------------------------------------------------------------------------------
  542. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardRegisterResponse")]
  543. public partial class CardRegisterResponse : global::ProtoBuf.IExtensible
  544. {
  545. public CardRegisterResponse() {}
  546. private int _s2c_code;
  547. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  548. public int s2c_code
  549. {
  550. get { return _s2c_code; }
  551. set { _s2c_code = value; }
  552. }
  553. private string _s2c_msg = "";
  554. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  555. [global::System.ComponentModel.DefaultValue("")]
  556. public string s2c_msg
  557. {
  558. get { return _s2c_msg; }
  559. set { _s2c_msg = value; }
  560. }
  561. private readonly global::System.Collections.Generic.List<pomelo.area.Card> _s2c_card = new global::System.Collections.Generic.List<pomelo.area.Card>();
  562. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_card", DataFormat = global::ProtoBuf.DataFormat.Default)]
  563. public global::System.Collections.Generic.List<pomelo.area.Card> s2c_card
  564. {
  565. get { return _s2c_card; }
  566. }
  567. private readonly global::System.Collections.Generic.List<pomelo.area.CardHole> _s2c_cardHole = new global::System.Collections.Generic.List<pomelo.area.CardHole>();
  568. [global::ProtoBuf.ProtoMember(4, Name=@"s2c_cardHole", DataFormat = global::ProtoBuf.DataFormat.Default)]
  569. public global::System.Collections.Generic.List<pomelo.area.CardHole> s2c_cardHole
  570. {
  571. get { return _s2c_cardHole; }
  572. }
  573. private readonly global::System.Collections.Generic.List<pomelo.area.CardAward> _s2c_cardAward = new global::System.Collections.Generic.List<pomelo.area.CardAward>();
  574. [global::ProtoBuf.ProtoMember(5, Name=@"s2c_cardAward", DataFormat = global::ProtoBuf.DataFormat.Default)]
  575. public global::System.Collections.Generic.List<pomelo.area.CardAward> s2c_cardAward
  576. {
  577. get { return _s2c_cardAward; }
  578. }
  579. private readonly global::System.Collections.Generic.List<pomelo.area.CardSuit> _s2c_cardSuit = new global::System.Collections.Generic.List<pomelo.area.CardSuit>();
  580. [global::ProtoBuf.ProtoMember(6, Name=@"s2c_cardSuit", DataFormat = global::ProtoBuf.DataFormat.Default)]
  581. public global::System.Collections.Generic.List<pomelo.area.CardSuit> s2c_cardSuit
  582. {
  583. get { return _s2c_cardSuit; }
  584. }
  585. private global::ProtoBuf.IExtension extensionObject;
  586. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  587. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  588. }
  589. //---------------------------------------------------------------------------------------
  590. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardLevelUpResponse")]
  591. public partial class CardLevelUpResponse : global::ProtoBuf.IExtensible
  592. {
  593. public CardLevelUpResponse() {}
  594. private int _s2c_code;
  595. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  596. public int s2c_code
  597. {
  598. get { return _s2c_code; }
  599. set { _s2c_code = value; }
  600. }
  601. private string _s2c_msg = "";
  602. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  603. [global::System.ComponentModel.DefaultValue("")]
  604. public string s2c_msg
  605. {
  606. get { return _s2c_msg; }
  607. set { _s2c_msg = value; }
  608. }
  609. private pomelo.area.Card _s2c_card;
  610. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"s2c_card", DataFormat = global::ProtoBuf.DataFormat.Default)]
  611. public pomelo.area.Card s2c_card
  612. {
  613. get { return _s2c_card; }
  614. set { _s2c_card = 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. //---------------------------------------------------------------------------------------
  621. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardPreLevelUpResponse")]
  622. public partial class CardPreLevelUpResponse : global::ProtoBuf.IExtensible
  623. {
  624. public CardPreLevelUpResponse() {}
  625. private int _s2c_code;
  626. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  627. public int s2c_code
  628. {
  629. get { return _s2c_code; }
  630. set { _s2c_code = value; }
  631. }
  632. private string _s2c_msg = "";
  633. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  634. [global::System.ComponentModel.DefaultValue("")]
  635. public string s2c_msg
  636. {
  637. get { return _s2c_msg; }
  638. set { _s2c_msg = value; }
  639. }
  640. private pomelo.area.Card _s2c_card;
  641. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"s2c_card", DataFormat = global::ProtoBuf.DataFormat.Default)]
  642. public pomelo.area.Card s2c_card
  643. {
  644. get { return _s2c_card; }
  645. set { _s2c_card = value; }
  646. }
  647. private global::ProtoBuf.IExtension extensionObject;
  648. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  649. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  650. }
  651. //---------------------------------------------------------------------------------------
  652. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardGetAwardResponse")]
  653. public partial class CardGetAwardResponse : global::ProtoBuf.IExtensible
  654. {
  655. public CardGetAwardResponse() {}
  656. private int _s2c_code;
  657. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  658. public int s2c_code
  659. {
  660. get { return _s2c_code; }
  661. set { _s2c_code = value; }
  662. }
  663. private string _s2c_msg = "";
  664. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  665. [global::System.ComponentModel.DefaultValue("")]
  666. public string s2c_msg
  667. {
  668. get { return _s2c_msg; }
  669. set { _s2c_msg = value; }
  670. }
  671. private global::ProtoBuf.IExtension extensionObject;
  672. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  673. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  674. }
  675. //---------------------------------------------------------------------------------------
  676. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardEquipResponse")]
  677. public partial class CardEquipResponse : global::ProtoBuf.IExtensible
  678. {
  679. public CardEquipResponse() {}
  680. private int _s2c_code;
  681. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  682. public int s2c_code
  683. {
  684. get { return _s2c_code; }
  685. set { _s2c_code = value; }
  686. }
  687. private string _s2c_msg = "";
  688. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  689. [global::System.ComponentModel.DefaultValue("")]
  690. public string s2c_msg
  691. {
  692. get { return _s2c_msg; }
  693. set { _s2c_msg = value; }
  694. }
  695. private readonly global::System.Collections.Generic.List<pomelo.area.Card> _s2c_card = new global::System.Collections.Generic.List<pomelo.area.Card>();
  696. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_card", DataFormat = global::ProtoBuf.DataFormat.Default)]
  697. public global::System.Collections.Generic.List<pomelo.area.Card> s2c_card
  698. {
  699. get { return _s2c_card; }
  700. }
  701. private readonly global::System.Collections.Generic.List<pomelo.area.CardHole> _s2c_cardHole = new global::System.Collections.Generic.List<pomelo.area.CardHole>();
  702. [global::ProtoBuf.ProtoMember(4, Name=@"s2c_cardHole", DataFormat = global::ProtoBuf.DataFormat.Default)]
  703. public global::System.Collections.Generic.List<pomelo.area.CardHole> s2c_cardHole
  704. {
  705. get { return _s2c_cardHole; }
  706. }
  707. private readonly global::System.Collections.Generic.List<pomelo.area.CardAward> _s2c_cardAward = new global::System.Collections.Generic.List<pomelo.area.CardAward>();
  708. [global::ProtoBuf.ProtoMember(5, Name=@"s2c_cardAward", DataFormat = global::ProtoBuf.DataFormat.Default)]
  709. public global::System.Collections.Generic.List<pomelo.area.CardAward> s2c_cardAward
  710. {
  711. get { return _s2c_cardAward; }
  712. }
  713. private readonly global::System.Collections.Generic.List<pomelo.area.CardSuit> _s2c_cardSuit = new global::System.Collections.Generic.List<pomelo.area.CardSuit>();
  714. [global::ProtoBuf.ProtoMember(6, Name=@"s2c_cardSuit", DataFormat = global::ProtoBuf.DataFormat.Default)]
  715. public global::System.Collections.Generic.List<pomelo.area.CardSuit> s2c_cardSuit
  716. {
  717. get { return _s2c_cardSuit; }
  718. }
  719. private global::ProtoBuf.IExtension extensionObject;
  720. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  721. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  722. }
  723. //---------------------------------------------------------------------------------------
  724. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CardQueryAllDataResponse")]
  725. public partial class CardQueryAllDataResponse : global::ProtoBuf.IExtensible
  726. {
  727. public CardQueryAllDataResponse() {}
  728. private int _s2c_code;
  729. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  730. public int s2c_code
  731. {
  732. get { return _s2c_code; }
  733. set { _s2c_code = value; }
  734. }
  735. private string _s2c_msg = "";
  736. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  737. [global::System.ComponentModel.DefaultValue("")]
  738. public string s2c_msg
  739. {
  740. get { return _s2c_msg; }
  741. set { _s2c_msg = value; }
  742. }
  743. private readonly global::System.Collections.Generic.List<pomelo.area.Card> _s2c_card = new global::System.Collections.Generic.List<pomelo.area.Card>();
  744. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_card", DataFormat = global::ProtoBuf.DataFormat.Default)]
  745. public global::System.Collections.Generic.List<pomelo.area.Card> s2c_card
  746. {
  747. get { return _s2c_card; }
  748. }
  749. private readonly global::System.Collections.Generic.List<pomelo.area.CardHole> _s2c_cardHole = new global::System.Collections.Generic.List<pomelo.area.CardHole>();
  750. [global::ProtoBuf.ProtoMember(4, Name=@"s2c_cardHole", DataFormat = global::ProtoBuf.DataFormat.Default)]
  751. public global::System.Collections.Generic.List<pomelo.area.CardHole> s2c_cardHole
  752. {
  753. get { return _s2c_cardHole; }
  754. }
  755. private readonly global::System.Collections.Generic.List<pomelo.area.CardAward> _s2c_cardAward = new global::System.Collections.Generic.List<pomelo.area.CardAward>();
  756. [global::ProtoBuf.ProtoMember(5, Name=@"s2c_cardAward", DataFormat = global::ProtoBuf.DataFormat.Default)]
  757. public global::System.Collections.Generic.List<pomelo.area.CardAward> s2c_cardAward
  758. {
  759. get { return _s2c_cardAward; }
  760. }
  761. private readonly global::System.Collections.Generic.List<pomelo.area.CardSuit> _s2c_cardSuit = new global::System.Collections.Generic.List<pomelo.area.CardSuit>();
  762. [global::ProtoBuf.ProtoMember(6, Name=@"s2c_cardSuit", DataFormat = global::ProtoBuf.DataFormat.Default)]
  763. public global::System.Collections.Generic.List<pomelo.area.CardSuit> s2c_cardSuit
  764. {
  765. get { return _s2c_cardSuit; }
  766. }
  767. private global::ProtoBuf.IExtension extensionObject;
  768. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  769. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  770. }
  771. }