_mountHandler.cs 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628
  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-10-21
  12. // * 用途= 坐骑处理器
  13. // ***************************************************************************
  14. // Generated from: mountHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ItemData")]
  20. public partial class ItemData : global::ProtoBuf.IExtensible
  21. {
  22. public ItemData() {}
  23. private string _costId;
  24. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"costId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  25. public string costId
  26. {
  27. get { return _costId; }
  28. set { _costId = value; }
  29. }
  30. private string _costItemIcon;
  31. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"costItemIcon", DataFormat = global::ProtoBuf.DataFormat.Default)]
  32. public string costItemIcon
  33. {
  34. get { return _costItemIcon; }
  35. set { _costItemIcon = value; }
  36. }
  37. private string _costItemName;
  38. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"costItemName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  39. public string costItemName
  40. {
  41. get { return _costItemName; }
  42. set { _costItemName = value; }
  43. }
  44. private int _curItemNum;
  45. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"curItemNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  46. public int curItemNum
  47. {
  48. get { return _curItemNum; }
  49. set { _curItemNum = value; }
  50. }
  51. private int _costNum;
  52. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"costNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  53. public int costNum
  54. {
  55. get { return _costNum; }
  56. set { _costNum = value; }
  57. }
  58. private int _costItemQuality;
  59. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"costItemQuality", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  60. public int costItemQuality
  61. {
  62. get { return _costItemQuality; }
  63. set { _costItemQuality = value; }
  64. }
  65. private global::ProtoBuf.IExtension extensionObject;
  66. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  67. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  68. }
  69. //---------------------------------------------------------------------------------------
  70. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SkinInfoData")]
  71. public partial class SkinInfoData : global::ProtoBuf.IExtensible
  72. {
  73. public SkinInfoData() {}
  74. private int _id;
  75. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  76. public int id
  77. {
  78. get { return _id; }
  79. set { _id = value; }
  80. }
  81. private string _name;
  82. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  83. public string name
  84. {
  85. get { return _name; }
  86. set { _name = value; }
  87. }
  88. private int _needRideLevel;
  89. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"needRideLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  90. public int needRideLevel
  91. {
  92. get { return _needRideLevel; }
  93. set { _needRideLevel = value; }
  94. }
  95. private string _icon;
  96. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"icon", DataFormat = global::ProtoBuf.DataFormat.Default)]
  97. public string icon
  98. {
  99. get { return _icon; }
  100. set { _icon = value; }
  101. }
  102. private string _modelFile;
  103. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"modelFile", DataFormat = global::ProtoBuf.DataFormat.Default)]
  104. public string modelFile
  105. {
  106. get { return _modelFile; }
  107. set { _modelFile = value; }
  108. }
  109. private string _desc;
  110. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"desc", DataFormat = global::ProtoBuf.DataFormat.Default)]
  111. public string desc
  112. {
  113. get { return _desc; }
  114. set { _desc = value; }
  115. }
  116. private int _state;
  117. [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  118. public int state
  119. {
  120. get { return _state; }
  121. set { _state = value; }
  122. }
  123. private int _fightPowerValue;
  124. [global::ProtoBuf.ProtoMember(8, IsRequired = true, Name=@"fightPowerValue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  125. public int fightPowerValue
  126. {
  127. get { return _fightPowerValue; }
  128. set { _fightPowerValue = value; }
  129. }
  130. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _skinAttrs = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  131. [global::ProtoBuf.ProtoMember(9, Name=@"skinAttrs", DataFormat = global::ProtoBuf.DataFormat.Default)]
  132. public global::System.Collections.Generic.List<pomelo.AttributeBase> skinAttrs
  133. {
  134. get { return _skinAttrs; }
  135. }
  136. private global::ProtoBuf.IExtension extensionObject;
  137. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  138. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  139. }
  140. //---------------------------------------------------------------------------------------
  141. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MountInfoData")]
  142. public partial class MountInfoData : global::ProtoBuf.IExtensible
  143. {
  144. public MountInfoData() {}
  145. private int _id;
  146. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  147. public int id
  148. {
  149. get { return _id; }
  150. set { _id = value; }
  151. }
  152. private string _name;
  153. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  154. public string name
  155. {
  156. get { return _name; }
  157. set { _name = value; }
  158. }
  159. private int _level;
  160. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  161. public int level
  162. {
  163. get { return _level; }
  164. set { _level = value; }
  165. }
  166. private string _icon;
  167. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"icon", DataFormat = global::ProtoBuf.DataFormat.Default)]
  168. public string icon
  169. {
  170. get { return _icon; }
  171. set { _icon = value; }
  172. }
  173. private string _modelFile;
  174. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"modelFile", DataFormat = global::ProtoBuf.DataFormat.Default)]
  175. public string modelFile
  176. {
  177. get { return _modelFile; }
  178. set { _modelFile = value; }
  179. }
  180. private string _desc;
  181. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"desc", DataFormat = global::ProtoBuf.DataFormat.Default)]
  182. public string desc
  183. {
  184. get { return _desc; }
  185. set { _desc = value; }
  186. }
  187. private int _state;
  188. [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  189. public int state
  190. {
  191. get { return _state; }
  192. set { _state = value; }
  193. }
  194. private int _fightPowerValue;
  195. [global::ProtoBuf.ProtoMember(8, IsRequired = true, Name=@"fightPowerValue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  196. public int fightPowerValue
  197. {
  198. get { return _fightPowerValue; }
  199. set { _fightPowerValue = value; }
  200. }
  201. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _skinAttrs = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  202. [global::ProtoBuf.ProtoMember(9, Name=@"skinAttrs", DataFormat = global::ProtoBuf.DataFormat.Default)]
  203. public global::System.Collections.Generic.List<pomelo.AttributeBase> skinAttrs
  204. {
  205. get { return _skinAttrs; }
  206. }
  207. private global::ProtoBuf.IExtension extensionObject;
  208. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  209. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  210. }
  211. //---------------------------------------------------------------------------------------
  212. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MountData")]
  213. public partial class MountData : global::ProtoBuf.IExtensible
  214. {
  215. public MountData() {}
  216. private int _rideLevel;
  217. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"rideLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  218. public int rideLevel
  219. {
  220. get { return _rideLevel; }
  221. set { _rideLevel = value; }
  222. }
  223. private int _starLv;
  224. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"starLv", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  225. public int starLv
  226. {
  227. get { return _starLv; }
  228. set { _starLv = value; }
  229. }
  230. private int _fightPowerValue;
  231. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"fightPowerValue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  232. public int fightPowerValue
  233. {
  234. get { return _fightPowerValue; }
  235. set { _fightPowerValue = value; }
  236. }
  237. private int _usingSkinID;
  238. [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"usingSkinID", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  239. public int usingSkinID
  240. {
  241. get { return _usingSkinID; }
  242. set { _usingSkinID = value; }
  243. }
  244. private readonly global::System.Collections.Generic.List<int> _mountSkins = new global::System.Collections.Generic.List<int>();
  245. [global::ProtoBuf.ProtoMember(8, Name=@"mountSkins", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  246. public global::System.Collections.Generic.List<int> mountSkins
  247. {
  248. get { return _mountSkins; }
  249. }
  250. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _mountAttrs = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  251. [global::ProtoBuf.ProtoMember(13, Name=@"mountAttrs", DataFormat = global::ProtoBuf.DataFormat.Default)]
  252. public global::System.Collections.Generic.List<pomelo.AttributeBase> mountAttrs
  253. {
  254. get { return _mountAttrs; }
  255. }
  256. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _mountAttrsNext = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  257. [global::ProtoBuf.ProtoMember(14, Name=@"mountAttrsNext", DataFormat = global::ProtoBuf.DataFormat.Default)]
  258. public global::System.Collections.Generic.List<pomelo.AttributeBase> mountAttrsNext
  259. {
  260. get { return _mountAttrsNext; }
  261. }
  262. private global::ProtoBuf.IExtension extensionObject;
  263. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  264. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  265. }
  266. //---------------------------------------------------------------------------------------
  267. /// <summary>
  268. /// 357:面板中的坐骑之间的切换
  269. /// </summary>
  270. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ActiveMountSkinRequest")]
  271. public partial class ActiveMountSkinRequest : global::ProtoBuf.IExtensible
  272. {
  273. public ActiveMountSkinRequest() {}
  274. private int _c2s_skinId;
  275. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_skinId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  276. public int c2s_skinId
  277. {
  278. get { return _c2s_skinId; }
  279. set { _c2s_skinId = value; }
  280. }
  281. private global::ProtoBuf.IExtension extensionObject;
  282. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  283. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  284. }
  285. //---------------------------------------------------------------------------------------
  286. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ActiveMountSkinResponse")]
  287. public partial class ActiveMountSkinResponse : global::ProtoBuf.IExtensible
  288. {
  289. public ActiveMountSkinResponse() {}
  290. private int _s2c_code;
  291. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  292. public int s2c_code
  293. {
  294. get { return _s2c_code; }
  295. set { _s2c_code = value; }
  296. }
  297. private string _s2c_msg = "";
  298. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  299. [global::System.ComponentModel.DefaultValue("")]
  300. public string s2c_msg
  301. {
  302. get { return _s2c_msg; }
  303. set { _s2c_msg = value; }
  304. }
  305. private global::ProtoBuf.IExtension extensionObject;
  306. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  307. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  308. }
  309. //---------------------------------------------------------------------------------------
  310. /// <summary>
  311. /// 241:获取已有坐骑
  312. /// </summary>
  313. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMountInfoRequest")]
  314. public partial class GetMountInfoRequest : global::ProtoBuf.IExtensible
  315. {
  316. public GetMountInfoRequest() {}
  317. private global::ProtoBuf.IExtension extensionObject;
  318. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  319. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  320. }
  321. //---------------------------------------------------------------------------------------
  322. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMountInfoResponse")]
  323. public partial class GetMountInfoResponse : global::ProtoBuf.IExtensible
  324. {
  325. public GetMountInfoResponse() {}
  326. private int _s2c_code;
  327. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  328. public int s2c_code
  329. {
  330. get { return _s2c_code; }
  331. set { _s2c_code = value; }
  332. }
  333. private string _s2c_msg = "";
  334. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  335. [global::System.ComponentModel.DefaultValue("")]
  336. public string s2c_msg
  337. {
  338. get { return _s2c_msg; }
  339. set { _s2c_msg = value; }
  340. }
  341. private readonly global::System.Collections.Generic.List<int> _c2s_skinId = new global::System.Collections.Generic.List<int>();
  342. [global::ProtoBuf.ProtoMember(3, Name=@"c2s_skinId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  343. public global::System.Collections.Generic.List<int> c2s_skinId
  344. {
  345. get { return _c2s_skinId; }
  346. }
  347. private int _c2s_use_skinId = default(int);
  348. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"c2s_use_skinId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  349. [global::System.ComponentModel.DefaultValue(default(int))]
  350. public int c2s_use_skinId
  351. {
  352. get { return _c2s_use_skinId; }
  353. set { _c2s_use_skinId = value; }
  354. }
  355. private readonly global::System.Collections.Generic.List<int> _valid_period = new global::System.Collections.Generic.List<int>();
  356. /// <summary>
  357. /// 有效期(-1表示永久,>0表示到期时间戳)
  358. /// </summary>
  359. [global::ProtoBuf.ProtoMember(5, Name=@"valid_period", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  360. public global::System.Collections.Generic.List<int> valid_period
  361. {
  362. get { return _valid_period; }
  363. }
  364. private global::ProtoBuf.IExtension extensionObject;
  365. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  366. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  367. }
  368. //---------------------------------------------------------------------------------------
  369. /// <summary>
  370. /// 279:上坐骑/下坐骑(快捷键)
  371. /// </summary>
  372. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RidingMountRequest")]
  373. public partial class RidingMountRequest : global::ProtoBuf.IExtensible
  374. {
  375. public RidingMountRequest() {}
  376. private int _c2s_isUp;
  377. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_isUp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  378. public int c2s_isUp
  379. {
  380. get { return _c2s_isUp; }
  381. set { _c2s_isUp = value; }
  382. }
  383. private global::ProtoBuf.IExtension extensionObject;
  384. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  385. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  386. }
  387. //---------------------------------------------------------------------------------------
  388. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RidingMountResponse")]
  389. public partial class RidingMountResponse : global::ProtoBuf.IExtensible
  390. {
  391. public RidingMountResponse() {}
  392. private int _s2c_code;
  393. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  394. public int s2c_code
  395. {
  396. get { return _s2c_code; }
  397. set { _s2c_code = value; }
  398. }
  399. private string _s2c_msg = "";
  400. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  401. [global::System.ComponentModel.DefaultValue("")]
  402. public string s2c_msg
  403. {
  404. get { return _s2c_msg; }
  405. set { _s2c_msg = value; }
  406. }
  407. private global::ProtoBuf.IExtension extensionObject;
  408. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  409. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  410. }
  411. //---------------------------------------------------------------------------------------
  412. /// <summary>
  413. /// 191:第一次选择坐骑皮肤
  414. /// </summary>
  415. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChooseFirstSkinRequest")]
  416. public partial class ChooseFirstSkinRequest : global::ProtoBuf.IExtensible
  417. {
  418. public ChooseFirstSkinRequest() {}
  419. private int _c2s_skinId;
  420. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_skinId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  421. public int c2s_skinId
  422. {
  423. get { return _c2s_skinId; }
  424. set { _c2s_skinId = value; }
  425. }
  426. private global::ProtoBuf.IExtension extensionObject;
  427. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  428. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  429. }
  430. //---------------------------------------------------------------------------------------
  431. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChooseFirstSkinResponse")]
  432. public partial class ChooseFirstSkinResponse : global::ProtoBuf.IExtensible
  433. {
  434. public ChooseFirstSkinResponse() {}
  435. private int _s2c_code;
  436. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  437. public int s2c_code
  438. {
  439. get { return _s2c_code; }
  440. set { _s2c_code = value; }
  441. }
  442. private string _s2c_msg = "";
  443. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  444. [global::System.ComponentModel.DefaultValue("")]
  445. public string s2c_msg
  446. {
  447. get { return _s2c_msg; }
  448. set { _s2c_msg = value; }
  449. }
  450. private global::ProtoBuf.IExtension extensionObject;
  451. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  452. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  453. }
  454. //---------------------------------------------------------------------------------------
  455. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MountFlagPush")]
  456. public partial class MountFlagPush : global::ProtoBuf.IExtensible
  457. {
  458. public MountFlagPush() {}
  459. private int _s2c_flag = default(int);
  460. /// <summary>
  461. /// flag 0 下马 1 上马
  462. /// </summary>
  463. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_flag", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  464. [global::System.ComponentModel.DefaultValue(default(int))]
  465. public int s2c_flag
  466. {
  467. get { return _s2c_flag; }
  468. set { _s2c_flag = value; }
  469. }
  470. private int _s2c_usingSkinId = default(int);
  471. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_usingSkinId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  472. [global::System.ComponentModel.DefaultValue(default(int))]
  473. public int s2c_usingSkinId
  474. {
  475. get { return _s2c_usingSkinId; }
  476. set { _s2c_usingSkinId = value; }
  477. }
  478. private global::ProtoBuf.IExtension extensionObject;
  479. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  480. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  481. }
  482. //---------------------------------------------------------------------------------------
  483. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MountNewSkinPush")]
  484. public partial class MountNewSkinPush : global::ProtoBuf.IExtensible
  485. {
  486. public MountNewSkinPush() {}
  487. private int _s2c_skinId = default(int);
  488. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_skinId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  489. [global::System.ComponentModel.DefaultValue(default(int))]
  490. public int s2c_skinId
  491. {
  492. get { return _s2c_skinId; }
  493. set { _s2c_skinId = value; }
  494. }
  495. private string _s2c_skinName = "";
  496. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_skinName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  497. [global::System.ComponentModel.DefaultValue("")]
  498. public string s2c_skinName
  499. {
  500. get { return _s2c_skinName; }
  501. set { _s2c_skinName = value; }
  502. }
  503. private int _valid_period = default(int);
  504. /// <summary>
  505. /// 有效期(-1表示永久,>0表示到期时间戳)
  506. /// </summary>
  507. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"valid_period", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  508. [global::System.ComponentModel.DefaultValue(default(int))]
  509. public int valid_period
  510. {
  511. get { return _valid_period; }
  512. set { _valid_period = value; }
  513. }
  514. private global::ProtoBuf.IExtension extensionObject;
  515. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  516. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  517. }
  518. }