_mailHandler.cs 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  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: mailHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. // Note: requires additional types generated from: item.proto
  17. namespace pomelo.area
  18. {
  19. //---------------------------------------------------------------------------------------
  20. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MailGetAllRequest")]
  21. public partial class MailGetAllRequest : global::ProtoBuf.IExtensible
  22. {
  23. public MailGetAllRequest() {}
  24. private global::ProtoBuf.IExtension extensionObject;
  25. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  26. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  27. }
  28. //---------------------------------------------------------------------------------------
  29. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MailReadNotify")]
  30. public partial class MailReadNotify : global::ProtoBuf.IExtensible
  31. {
  32. public MailReadNotify() {}
  33. private readonly global::System.Collections.Generic.List<string> _c2s_id = new global::System.Collections.Generic.List<string>();
  34. [global::ProtoBuf.ProtoMember(1, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  35. public global::System.Collections.Generic.List<string> c2s_id
  36. {
  37. get { return _c2s_id; }
  38. }
  39. private global::ProtoBuf.IExtension extensionObject;
  40. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  41. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  42. }
  43. //---------------------------------------------------------------------------------------
  44. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MailSendMailRequest")]
  45. public partial class MailSendMailRequest : global::ProtoBuf.IExtensible
  46. {
  47. public MailSendMailRequest() {}
  48. private string _toPlayerId;
  49. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"toPlayerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  50. public string toPlayerId
  51. {
  52. get { return _toPlayerId; }
  53. set { _toPlayerId = value; }
  54. }
  55. private string _mailTitle;
  56. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"mailTitle", DataFormat = global::ProtoBuf.DataFormat.Default)]
  57. public string mailTitle
  58. {
  59. get { return _mailTitle; }
  60. set { _mailTitle = value; }
  61. }
  62. private string _mailText;
  63. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"mailText", DataFormat = global::ProtoBuf.DataFormat.Default)]
  64. public string mailText
  65. {
  66. get { return _mailText; }
  67. set { _mailText = value; }
  68. }
  69. private int _mailRead;
  70. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"mailRead", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  71. public int mailRead
  72. {
  73. get { return _mailRead; }
  74. set { _mailRead = value; }
  75. }
  76. private string _toPlayerName = "";
  77. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"toPlayerName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  78. [global::System.ComponentModel.DefaultValue("")]
  79. public string toPlayerName
  80. {
  81. get { return _toPlayerName; }
  82. set { _toPlayerName = value; }
  83. }
  84. private global::ProtoBuf.IExtension extensionObject;
  85. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  86. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  87. }
  88. //---------------------------------------------------------------------------------------
  89. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MailGetAttachmentRequest")]
  90. public partial class MailGetAttachmentRequest : global::ProtoBuf.IExtensible
  91. {
  92. public MailGetAttachmentRequest() {}
  93. private string _c2s_id;
  94. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  95. public string c2s_id
  96. {
  97. get { return _c2s_id; }
  98. set { _c2s_id = 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=@"MailGetAttachmentOneKeyRequest")]
  106. public partial class MailGetAttachmentOneKeyRequest : global::ProtoBuf.IExtensible
  107. {
  108. public MailGetAttachmentOneKeyRequest() {}
  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=@"MailDeleteRequest")]
  115. public partial class MailDeleteRequest : global::ProtoBuf.IExtensible
  116. {
  117. public MailDeleteRequest() {}
  118. private string _c2s_id;
  119. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  120. public string c2s_id
  121. {
  122. get { return _c2s_id; }
  123. set { _c2s_id = value; }
  124. }
  125. private global::ProtoBuf.IExtension extensionObject;
  126. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  127. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  128. }
  129. //---------------------------------------------------------------------------------------
  130. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MailDeleteOneKeyRequest")]
  131. public partial class MailDeleteOneKeyRequest : global::ProtoBuf.IExtensible
  132. {
  133. public MailDeleteOneKeyRequest() {}
  134. private global::ProtoBuf.IExtension extensionObject;
  135. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  136. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  137. }
  138. //---------------------------------------------------------------------------------------
  139. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MailSendTestNotify")]
  140. public partial class MailSendTestNotify : global::ProtoBuf.IExtensible
  141. {
  142. public MailSendTestNotify() {}
  143. private int _c2s_mailId;
  144. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_mailId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  145. public int c2s_mailId
  146. {
  147. get { return _c2s_mailId; }
  148. set { _c2s_mailId = value; }
  149. }
  150. private string _c2s_tcCode;
  151. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_tcCode", DataFormat = global::ProtoBuf.DataFormat.Default)]
  152. public string c2s_tcCode
  153. {
  154. get { return _c2s_tcCode; }
  155. set { _c2s_tcCode = value; }
  156. }
  157. private global::ProtoBuf.IExtension extensionObject;
  158. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  159. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  160. }
  161. //---------------------------------------------------------------------------------------
  162. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MailAttach")]
  163. public partial class MailAttach : global::ProtoBuf.IExtensible
  164. {
  165. public MailAttach() {}
  166. private pomelo.item.ItemDetail _data = null;
  167. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  168. [global::System.ComponentModel.DefaultValue(null)]
  169. public pomelo.item.ItemDetail data
  170. {
  171. get { return _data; }
  172. set { _data = value; }
  173. }
  174. private int _groupCount = default(int);
  175. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"groupCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  176. [global::System.ComponentModel.DefaultValue(default(int))]
  177. public int groupCount
  178. {
  179. get { return _groupCount; }
  180. set { _groupCount = value; }
  181. }
  182. private global::ProtoBuf.IExtension extensionObject;
  183. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  184. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  185. }
  186. //---------------------------------------------------------------------------------------
  187. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Mail")]
  188. public partial class Mail : global::ProtoBuf.IExtensible
  189. {
  190. public Mail() {}
  191. private string _id;
  192. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  193. public string id
  194. {
  195. get { return _id; }
  196. set { _id = value; }
  197. }
  198. private int _mailId;
  199. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"mailId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  200. public int mailId
  201. {
  202. get { return _mailId; }
  203. set { _mailId = value; }
  204. }
  205. private int _mailType;
  206. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"mailType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  207. public int mailType
  208. {
  209. get { return _mailType; }
  210. set { _mailType = value; }
  211. }
  212. private int _mailIcon;
  213. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"mailIcon", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  214. public int mailIcon
  215. {
  216. get { return _mailIcon; }
  217. set { _mailIcon = value; }
  218. }
  219. private string _mailSender;
  220. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"mailSender", DataFormat = global::ProtoBuf.DataFormat.Default)]
  221. public string mailSender
  222. {
  223. get { return _mailSender; }
  224. set { _mailSender = value; }
  225. }
  226. private string _mailTitle;
  227. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"mailTitle", DataFormat = global::ProtoBuf.DataFormat.Default)]
  228. public string mailTitle
  229. {
  230. get { return _mailTitle; }
  231. set { _mailTitle = value; }
  232. }
  233. private string _mailText;
  234. [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"mailText", DataFormat = global::ProtoBuf.DataFormat.Default)]
  235. public string mailText
  236. {
  237. get { return _mailText; }
  238. set { _mailText = value; }
  239. }
  240. private string _createTime;
  241. [global::ProtoBuf.ProtoMember(8, IsRequired = true, Name=@"createTime", DataFormat = global::ProtoBuf.DataFormat.Default)]
  242. public string createTime
  243. {
  244. get { return _createTime; }
  245. set { _createTime = value; }
  246. }
  247. private int _status;
  248. /// <summary>
  249. /// 1:未读 2:已读 3:已领取附件
  250. /// </summary>
  251. [global::ProtoBuf.ProtoMember(9, IsRequired = true, Name=@"status", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  252. public int status
  253. {
  254. get { return _status; }
  255. set { _status = value; }
  256. }
  257. private int _mailRead;
  258. [global::ProtoBuf.ProtoMember(10, IsRequired = true, Name=@"mailRead", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  259. public int mailRead
  260. {
  261. get { return _mailRead; }
  262. set { _mailRead = value; }
  263. }
  264. private int _hadAttach;
  265. [global::ProtoBuf.ProtoMember(11, IsRequired = true, Name=@"hadAttach", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  266. public int hadAttach
  267. {
  268. get { return _hadAttach; }
  269. set { _hadAttach = value; }
  270. }
  271. private readonly global::System.Collections.Generic.List<pomelo.area.MailAttach> _attachment = new global::System.Collections.Generic.List<pomelo.area.MailAttach>();
  272. [global::ProtoBuf.ProtoMember(12, Name=@"attachment", DataFormat = global::ProtoBuf.DataFormat.Default)]
  273. public global::System.Collections.Generic.List<pomelo.area.MailAttach> attachment
  274. {
  275. get { return _attachment; }
  276. }
  277. private string _mailSenderId = "";
  278. [global::ProtoBuf.ProtoMember(13, IsRequired = false, Name=@"mailSenderId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  279. [global::System.ComponentModel.DefaultValue("")]
  280. public string mailSenderId
  281. {
  282. get { return _mailSenderId; }
  283. set { _mailSenderId = value; }
  284. }
  285. private readonly global::System.Collections.Generic.List<pomelo.item.EarItemDetail> _itemEar = new global::System.Collections.Generic.List<pomelo.item.EarItemDetail>();
  286. [global::ProtoBuf.ProtoMember(14, Name=@"itemEar", DataFormat = global::ProtoBuf.DataFormat.Default)]
  287. public global::System.Collections.Generic.List<pomelo.item.EarItemDetail> itemEar
  288. {
  289. get { return _itemEar; }
  290. }
  291. private global::ProtoBuf.IExtension extensionObject;
  292. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  293. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  294. }
  295. //---------------------------------------------------------------------------------------
  296. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MailGetAllResponse")]
  297. public partial class MailGetAllResponse : global::ProtoBuf.IExtensible
  298. {
  299. public MailGetAllResponse() {}
  300. private int _s2c_code;
  301. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  302. public int s2c_code
  303. {
  304. get { return _s2c_code; }
  305. set { _s2c_code = value; }
  306. }
  307. private string _s2c_msg = "";
  308. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  309. [global::System.ComponentModel.DefaultValue("")]
  310. public string s2c_msg
  311. {
  312. get { return _s2c_msg; }
  313. set { _s2c_msg = value; }
  314. }
  315. private readonly global::System.Collections.Generic.List<pomelo.area.Mail> _mails = new global::System.Collections.Generic.List<pomelo.area.Mail>();
  316. [global::ProtoBuf.ProtoMember(3, Name=@"mails", DataFormat = global::ProtoBuf.DataFormat.Default)]
  317. public global::System.Collections.Generic.List<pomelo.area.Mail> mails
  318. {
  319. get { return _mails; }
  320. }
  321. private int _s2c_maxMailNum = default(int);
  322. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_maxMailNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  323. [global::System.ComponentModel.DefaultValue(default(int))]
  324. public int s2c_maxMailNum
  325. {
  326. get { return _s2c_maxMailNum; }
  327. set { _s2c_maxMailNum = value; }
  328. }
  329. private int _s2c_maxWordNum = default(int);
  330. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"s2c_maxWordNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  331. [global::System.ComponentModel.DefaultValue(default(int))]
  332. public int s2c_maxWordNum
  333. {
  334. get { return _s2c_maxWordNum; }
  335. set { _s2c_maxWordNum = value; }
  336. }
  337. private global::ProtoBuf.IExtension extensionObject;
  338. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  339. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  340. }
  341. //---------------------------------------------------------------------------------------
  342. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OnGetMailPush")]
  343. public partial class OnGetMailPush : global::ProtoBuf.IExtensible
  344. {
  345. public OnGetMailPush() {}
  346. private int _s2c_code;
  347. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  348. public int s2c_code
  349. {
  350. get { return _s2c_code; }
  351. set { _s2c_code = value; }
  352. }
  353. private readonly global::System.Collections.Generic.List<pomelo.area.Mail> _mails = new global::System.Collections.Generic.List<pomelo.area.Mail>();
  354. [global::ProtoBuf.ProtoMember(2, Name=@"mails", DataFormat = global::ProtoBuf.DataFormat.Default)]
  355. public global::System.Collections.Generic.List<pomelo.area.Mail> mails
  356. {
  357. get { return _mails; }
  358. }
  359. private global::ProtoBuf.IExtension extensionObject;
  360. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  361. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  362. }
  363. //---------------------------------------------------------------------------------------
  364. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MailSendMailResponse")]
  365. public partial class MailSendMailResponse : global::ProtoBuf.IExtensible
  366. {
  367. public MailSendMailResponse() {}
  368. private int _s2c_code;
  369. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  370. public int s2c_code
  371. {
  372. get { return _s2c_code; }
  373. set { _s2c_code = value; }
  374. }
  375. private string _s2c_msg = "";
  376. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  377. [global::System.ComponentModel.DefaultValue("")]
  378. public string s2c_msg
  379. {
  380. get { return _s2c_msg; }
  381. set { _s2c_msg = 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=@"MailDeleteResponse")]
  389. public partial class MailDeleteResponse : global::ProtoBuf.IExtensible
  390. {
  391. public MailDeleteResponse() {}
  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. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MailDeleteOneKeyResponse")]
  413. public partial class MailDeleteOneKeyResponse : global::ProtoBuf.IExtensible
  414. {
  415. public MailDeleteOneKeyResponse() {}
  416. private int _s2c_code;
  417. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  418. public int s2c_code
  419. {
  420. get { return _s2c_code; }
  421. set { _s2c_code = value; }
  422. }
  423. private string _s2c_msg = "";
  424. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  425. [global::System.ComponentModel.DefaultValue("")]
  426. public string s2c_msg
  427. {
  428. get { return _s2c_msg; }
  429. set { _s2c_msg = value; }
  430. }
  431. private readonly global::System.Collections.Generic.List<string> _s2c_ids = new global::System.Collections.Generic.List<string>();
  432. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_ids", DataFormat = global::ProtoBuf.DataFormat.Default)]
  433. public global::System.Collections.Generic.List<string> s2c_ids
  434. {
  435. get { return _s2c_ids; }
  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=@"MailGetAttachmentResponse")]
  443. public partial class MailGetAttachmentResponse : global::ProtoBuf.IExtensible
  444. {
  445. public MailGetAttachmentResponse() {}
  446. private int _s2c_code;
  447. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  448. public int s2c_code
  449. {
  450. get { return _s2c_code; }
  451. set { _s2c_code = value; }
  452. }
  453. private string _s2c_msg = "";
  454. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  455. [global::System.ComponentModel.DefaultValue("")]
  456. public string s2c_msg
  457. {
  458. get { return _s2c_msg; }
  459. set { _s2c_msg = value; }
  460. }
  461. private global::ProtoBuf.IExtension extensionObject;
  462. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  463. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  464. }
  465. //---------------------------------------------------------------------------------------
  466. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MailGetAttachmentOneKeyResponse")]
  467. public partial class MailGetAttachmentOneKeyResponse : global::ProtoBuf.IExtensible
  468. {
  469. public MailGetAttachmentOneKeyResponse() {}
  470. private int _s2c_code;
  471. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  472. public int s2c_code
  473. {
  474. get { return _s2c_code; }
  475. set { _s2c_code = value; }
  476. }
  477. private string _s2c_msg = "";
  478. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  479. [global::System.ComponentModel.DefaultValue("")]
  480. public string s2c_msg
  481. {
  482. get { return _s2c_msg; }
  483. set { _s2c_msg = value; }
  484. }
  485. private readonly global::System.Collections.Generic.List<string> _s2c_ids = new global::System.Collections.Generic.List<string>();
  486. /// <summary>
  487. /// 已领取标记
  488. /// </summary>
  489. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_ids", DataFormat = global::ProtoBuf.DataFormat.Default)]
  490. public global::System.Collections.Generic.List<string> s2c_ids
  491. {
  492. get { return _s2c_ids; }
  493. }
  494. private readonly global::System.Collections.Generic.List<string> _s2c_readids = new global::System.Collections.Generic.List<string>();
  495. /// <summary>
  496. /// 已读标记
  497. /// </summary>
  498. [global::ProtoBuf.ProtoMember(4, Name=@"s2c_readids", DataFormat = global::ProtoBuf.DataFormat.Default)]
  499. public global::System.Collections.Generic.List<string> s2c_readids
  500. {
  501. get { return _s2c_readids; }
  502. }
  503. private global::ProtoBuf.IExtension extensionObject;
  504. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  505. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  506. }
  507. }