_shopMallHandler.cs 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  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-05-05
  12. // * 用途= 商城处理器
  13. // ***************************************************************************
  14. // Generated from: shopMallHandler.proto
  15. namespace pomelo.area
  16. {
  17. //---------------------------------------------------------------------------------------
  18. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MallItem")]
  19. public partial class MallItem : global::ProtoBuf.IExtensible
  20. {
  21. public MallItem() {}
  22. private string _id;
  23. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  24. public string id
  25. {
  26. get { return _id; }
  27. set { _id = value; }
  28. }
  29. private string _code;
  30. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  31. public string code
  32. {
  33. get { return _code; }
  34. set { _code = value; }
  35. }
  36. private int _groupCount;
  37. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"groupCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  38. public int groupCount
  39. {
  40. get { return _groupCount; }
  41. set { _groupCount = value; }
  42. }
  43. private int _originPrice;
  44. /// <summary>
  45. /// 原价
  46. /// </summary>
  47. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"originPrice", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  48. public int originPrice
  49. {
  50. get { return _originPrice; }
  51. set { _originPrice = value; }
  52. }
  53. private int _nowPrice;
  54. /// <summary>
  55. /// 现价
  56. /// </summary>
  57. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"nowPrice", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  58. public int nowPrice
  59. {
  60. get { return _nowPrice; }
  61. set { _nowPrice = value; }
  62. }
  63. private int _disCount;
  64. /// <summary>
  65. /// 折扣 -2.新品 -1.热销 0.无标签 >0.折扣
  66. /// </summary>
  67. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"disCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  68. public int disCount
  69. {
  70. get { return _disCount; }
  71. set { _disCount = value; }
  72. }
  73. private int _endTime;
  74. /// <summary>
  75. /// 结束时间 非限时道具时间为0
  76. /// </summary>
  77. [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"endTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  78. public int endTime
  79. {
  80. get { return _endTime; }
  81. set { _endTime = value; }
  82. }
  83. private int _remainNum;
  84. /// <summary>
  85. /// 限购次数 -1.不限购 >=0.剩余次数
  86. /// </summary>
  87. [global::ProtoBuf.ProtoMember(8, IsRequired = true, Name=@"remainNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  88. public int remainNum
  89. {
  90. get { return _remainNum; }
  91. set { _remainNum = value; }
  92. }
  93. private int _consumeScore;
  94. /// <summary>
  95. /// 消费积分
  96. /// </summary>
  97. [global::ProtoBuf.ProtoMember(9, IsRequired = true, Name=@"consumeScore", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  98. public int consumeScore
  99. {
  100. get { return _consumeScore; }
  101. set { _consumeScore = value; }
  102. }
  103. private int _bindType;
  104. /// <summary>
  105. /// 0.不绑定 1.获得即绑定 2.装备后绑定
  106. /// </summary>
  107. [global::ProtoBuf.ProtoMember(10, IsRequired = true, Name=@"bindType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  108. public int bindType
  109. {
  110. get { return _bindType; }
  111. set { _bindType = value; }
  112. }
  113. private int _canSend;
  114. /// <summary>
  115. /// 1可以赠送 0不可以
  116. /// </summary>
  117. [global::ProtoBuf.ProtoMember(11, IsRequired = true, Name=@"canSend", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  118. public int canSend
  119. {
  120. get { return _canSend; }
  121. set { _canSend = value; }
  122. }
  123. private global::ProtoBuf.IExtension extensionObject;
  124. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  125. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  126. }
  127. //---------------------------------------------------------------------------------------
  128. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MallScoreItem")]
  129. public partial class MallScoreItem : global::ProtoBuf.IExtensible
  130. {
  131. public MallScoreItem() {}
  132. private string _id;
  133. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  134. public string id
  135. {
  136. get { return _id; }
  137. set { _id = value; }
  138. }
  139. private string _code;
  140. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  141. public string code
  142. {
  143. get { return _code; }
  144. set { _code = value; }
  145. }
  146. private int _groupCount;
  147. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"groupCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  148. public int groupCount
  149. {
  150. get { return _groupCount; }
  151. set { _groupCount = value; }
  152. }
  153. private int _consumeScore;
  154. /// <summary>
  155. /// 消费积分
  156. /// </summary>
  157. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"consumeScore", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  158. public int consumeScore
  159. {
  160. get { return _consumeScore; }
  161. set { _consumeScore = value; }
  162. }
  163. private int _isSellOut;
  164. /// <summary>
  165. /// 是否卖完 1.卖完 0.没卖完
  166. /// </summary>
  167. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"isSellOut", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  168. public int isSellOut
  169. {
  170. get { return _isSellOut; }
  171. set { _isSellOut = value; }
  172. }
  173. private int _bindType;
  174. /// <summary>
  175. /// 0.不绑定 1.获得即绑定 2.装备后绑定
  176. /// </summary>
  177. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"bindType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  178. public int bindType
  179. {
  180. get { return _bindType; }
  181. set { _bindType = value; }
  182. }
  183. private global::ProtoBuf.IExtension extensionObject;
  184. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  185. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  186. }
  187. //---------------------------------------------------------------------------------------
  188. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMallItemListRequest")]
  189. public partial class GetMallItemListRequest : global::ProtoBuf.IExtensible
  190. {
  191. public GetMallItemListRequest() {}
  192. private int _c2s_itemType;
  193. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_itemType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  194. public int c2s_itemType
  195. {
  196. get { return _c2s_itemType; }
  197. set { _c2s_itemType = 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. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMallItemListResponse")]
  205. public partial class GetMallItemListResponse : global::ProtoBuf.IExtensible
  206. {
  207. public GetMallItemListResponse() {}
  208. private int _s2c_code;
  209. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  210. public int s2c_code
  211. {
  212. get { return _s2c_code; }
  213. set { _s2c_code = value; }
  214. }
  215. private string _s2c_msg = "";
  216. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  217. [global::System.ComponentModel.DefaultValue("")]
  218. public string s2c_msg
  219. {
  220. get { return _s2c_msg; }
  221. set { _s2c_msg = value; }
  222. }
  223. private int _s2c_endTime = default(int);
  224. /// <summary>
  225. /// 结束时间 -1.限时标签关闭 0.限时活动时间未到 >0.限时活动开启
  226. /// </summary>
  227. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_endTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  228. [global::System.ComponentModel.DefaultValue(default(int))]
  229. public int s2c_endTime
  230. {
  231. get { return _s2c_endTime; }
  232. set { _s2c_endTime = value; }
  233. }
  234. private readonly global::System.Collections.Generic.List<pomelo.area.MallItem> _s2c_items = new global::System.Collections.Generic.List<pomelo.area.MallItem>();
  235. [global::ProtoBuf.ProtoMember(4, Name=@"s2c_items", DataFormat = global::ProtoBuf.DataFormat.Default)]
  236. public global::System.Collections.Generic.List<pomelo.area.MallItem> s2c_items
  237. {
  238. get { return _s2c_items; }
  239. }
  240. private global::ProtoBuf.IExtension extensionObject;
  241. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  242. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  243. }
  244. //---------------------------------------------------------------------------------------
  245. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BuyMallItemRequest")]
  246. public partial class BuyMallItemRequest : global::ProtoBuf.IExtensible
  247. {
  248. public BuyMallItemRequest() {}
  249. private string _c2s_itemId;
  250. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_itemId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  251. public string c2s_itemId
  252. {
  253. get { return _c2s_itemId; }
  254. set { _c2s_itemId = value; }
  255. }
  256. private int _c2s_count;
  257. /// <summary>
  258. /// 购买组数
  259. /// </summary>
  260. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  261. public int c2s_count
  262. {
  263. get { return _c2s_count; }
  264. set { _c2s_count = value; }
  265. }
  266. private string _c2s_playerId;
  267. /// <summary>
  268. /// 物品归属, 如果空字符串则为自己
  269. /// </summary>
  270. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"c2s_playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  271. public string c2s_playerId
  272. {
  273. get { return _c2s_playerId; }
  274. set { _c2s_playerId = value; }
  275. }
  276. private int _c2s_bDiamond;
  277. /// <summary>
  278. /// 1:钻石购买,0:普通购买
  279. /// </summary>
  280. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"c2s_bDiamond", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  281. public int c2s_bDiamond
  282. {
  283. get { return _c2s_bDiamond; }
  284. set { _c2s_bDiamond = value; }
  285. }
  286. private global::ProtoBuf.IExtension extensionObject;
  287. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  288. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  289. }
  290. //---------------------------------------------------------------------------------------
  291. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BuyMallItemResponse")]
  292. public partial class BuyMallItemResponse : global::ProtoBuf.IExtensible
  293. {
  294. public BuyMallItemResponse() {}
  295. private int _s2c_code;
  296. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  297. public int s2c_code
  298. {
  299. get { return _s2c_code; }
  300. set { _s2c_code = value; }
  301. }
  302. private string _s2c_msg = "";
  303. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  304. [global::System.ComponentModel.DefaultValue("")]
  305. public string s2c_msg
  306. {
  307. get { return _s2c_msg; }
  308. set { _s2c_msg = value; }
  309. }
  310. private int _total_num = default(int);
  311. /// <summary>
  312. /// 该物品当前总数量
  313. /// </summary>
  314. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"total_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  315. [global::System.ComponentModel.DefaultValue(default(int))]
  316. public int total_num
  317. {
  318. get { return _total_num; }
  319. set { _total_num = value; }
  320. }
  321. private global::ProtoBuf.IExtension extensionObject;
  322. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  323. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  324. }
  325. //---------------------------------------------------------------------------------------
  326. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMallScoreItemListRequest")]
  327. public partial class GetMallScoreItemListRequest : global::ProtoBuf.IExtensible
  328. {
  329. public GetMallScoreItemListRequest() {}
  330. private global::ProtoBuf.IExtension extensionObject;
  331. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  332. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  333. }
  334. //---------------------------------------------------------------------------------------
  335. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMallScoreItemListResponse")]
  336. public partial class GetMallScoreItemListResponse : global::ProtoBuf.IExtensible
  337. {
  338. public GetMallScoreItemListResponse() {}
  339. private int _s2c_code;
  340. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  341. public int s2c_code
  342. {
  343. get { return _s2c_code; }
  344. set { _s2c_code = value; }
  345. }
  346. private string _s2c_msg = "";
  347. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  348. [global::System.ComponentModel.DefaultValue("")]
  349. public string s2c_msg
  350. {
  351. get { return _s2c_msg; }
  352. set { _s2c_msg = value; }
  353. }
  354. private readonly global::System.Collections.Generic.List<pomelo.area.MallScoreItem> _s2c_items = new global::System.Collections.Generic.List<pomelo.area.MallScoreItem>();
  355. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_items", DataFormat = global::ProtoBuf.DataFormat.Default)]
  356. public global::System.Collections.Generic.List<pomelo.area.MallScoreItem> s2c_items
  357. {
  358. get { return _s2c_items; }
  359. }
  360. private global::ProtoBuf.IExtension extensionObject;
  361. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  362. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  363. }
  364. //---------------------------------------------------------------------------------------
  365. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BuyMallScoreItemRequest")]
  366. public partial class BuyMallScoreItemRequest : global::ProtoBuf.IExtensible
  367. {
  368. public BuyMallScoreItemRequest() {}
  369. private string _c2s_itemId;
  370. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_itemId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  371. public string c2s_itemId
  372. {
  373. get { return _c2s_itemId; }
  374. set { _c2s_itemId = value; }
  375. }
  376. private global::ProtoBuf.IExtension extensionObject;
  377. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  378. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  379. }
  380. //---------------------------------------------------------------------------------------
  381. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BuyMallScoreItemResponse")]
  382. public partial class BuyMallScoreItemResponse : global::ProtoBuf.IExtensible
  383. {
  384. public BuyMallScoreItemResponse() {}
  385. private int _s2c_code;
  386. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  387. public int s2c_code
  388. {
  389. get { return _s2c_code; }
  390. set { _s2c_code = value; }
  391. }
  392. private string _s2c_msg = "";
  393. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  394. [global::System.ComponentModel.DefaultValue("")]
  395. public string s2c_msg
  396. {
  397. get { return _s2c_msg; }
  398. set { _s2c_msg = value; }
  399. }
  400. private global::ProtoBuf.IExtension extensionObject;
  401. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  402. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  403. }
  404. //---------------------------------------------------------------------------------------
  405. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MallTab")]
  406. public partial class MallTab : global::ProtoBuf.IExtensible
  407. {
  408. public MallTab() {}
  409. private int _moneyType;
  410. /// <summary>
  411. /// 1.钻石 2.金票
  412. /// </summary>
  413. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"moneyType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  414. public int moneyType
  415. {
  416. get { return _moneyType; }
  417. set { _moneyType = value; }
  418. }
  419. private int _itemType;
  420. /// <summary>
  421. /// 1.限时 2.时装 3.坐骑 4.材料 5.消耗品 6.其他
  422. /// </summary>
  423. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"itemType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  424. public int itemType
  425. {
  426. get { return _itemType; }
  427. set { _itemType = value; }
  428. }
  429. private int _isOpen;
  430. /// <summary>
  431. /// 1.开放 0.关闭
  432. /// </summary>
  433. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"isOpen", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  434. public int isOpen
  435. {
  436. get { return _isOpen; }
  437. set { _isOpen = value; }
  438. }
  439. private string _name;
  440. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  441. public string name
  442. {
  443. get { return _name; }
  444. set { _name = value; }
  445. }
  446. private int _scriptNum;
  447. /// <summary>
  448. /// 红点信息
  449. /// </summary>
  450. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"scriptNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  451. public int scriptNum
  452. {
  453. get { return _scriptNum; }
  454. set { _scriptNum = value; }
  455. }
  456. private int _isLimit;
  457. /// <summary>
  458. /// 是否是限時 1.是限時 0.不是限時
  459. /// </summary>
  460. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"isLimit", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  461. public int isLimit
  462. {
  463. get { return _isLimit; }
  464. set { _isLimit = value; }
  465. }
  466. private global::ProtoBuf.IExtension extensionObject;
  467. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  468. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  469. }
  470. //---------------------------------------------------------------------------------------
  471. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMallTabsRequest")]
  472. public partial class GetMallTabsRequest : global::ProtoBuf.IExtensible
  473. {
  474. public GetMallTabsRequest() {}
  475. private int _openLvId;
  476. /// <summary>
  477. /// 29:仙坊 79:银两商城
  478. /// </summary>
  479. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"openLvId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  480. public int openLvId
  481. {
  482. get { return _openLvId; }
  483. set { _openLvId = value; }
  484. }
  485. private global::ProtoBuf.IExtension extensionObject;
  486. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  487. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  488. }
  489. //---------------------------------------------------------------------------------------
  490. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMallTabsResponse")]
  491. public partial class GetMallTabsResponse : global::ProtoBuf.IExtensible
  492. {
  493. public GetMallTabsResponse() {}
  494. private int _s2c_code;
  495. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  496. public int s2c_code
  497. {
  498. get { return _s2c_code; }
  499. set { _s2c_code = value; }
  500. }
  501. private string _s2c_msg = "";
  502. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  503. [global::System.ComponentModel.DefaultValue("")]
  504. public string s2c_msg
  505. {
  506. get { return _s2c_msg; }
  507. set { _s2c_msg = value; }
  508. }
  509. private readonly global::System.Collections.Generic.List<pomelo.area.MallTab> _s2c_tabs = new global::System.Collections.Generic.List<pomelo.area.MallTab>();
  510. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_tabs", DataFormat = global::ProtoBuf.DataFormat.Default)]
  511. public global::System.Collections.Generic.List<pomelo.area.MallTab> s2c_tabs
  512. {
  513. get { return _s2c_tabs; }
  514. }
  515. private global::ProtoBuf.IExtension extensionObject;
  516. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  517. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  518. }
  519. }