mail.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687
  1. // message结构的属性名请使用 驼峰小写字母开始
  2. // Code generated by protoc-gen-go. DO NOT EDIT.
  3. // versions:
  4. // protoc-gen-go v1.36.8
  5. // protoc v6.31.1
  6. // source: mail.proto
  7. package pb
  8. import (
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. unsafe "unsafe"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. // 邮件
  22. type Mail struct {
  23. state protoimpl.MessageState `protogen:"open.v1"`
  24. // 邮件id
  25. MailID int64 `protobuf:"varint,1,opt,name=mailID,proto3" json:"mailID,omitempty"`
  26. // 发送玩家id(0为系统)
  27. FromPlayerID int64 `protobuf:"varint,2,opt,name=fromPlayerID,proto3" json:"fromPlayerID,omitempty"`
  28. // 发送玩家名
  29. FromPlayerName string `protobuf:"bytes,3,opt,name=fromPlayerName,proto3" json:"fromPlayerName,omitempty"`
  30. // 系统邮件信息
  31. SystemMail *SystemMail `protobuf:"bytes,4,opt,name=systemMail,proto3" json:"systemMail,omitempty"`
  32. // 同盟邮件信息
  33. LeagueMail *LeagueMail `protobuf:"bytes,5,opt,name=leagueMail,proto3" json:"leagueMail,omitempty"`
  34. // 是否阅读
  35. IsRead bool `protobuf:"varint,6,opt,name=isRead,proto3" json:"isRead,omitempty"`
  36. // 发送时间
  37. SendTime int64 `protobuf:"varint,7,opt,name=sendTime,proto3" json:"sendTime,omitempty"`
  38. unknownFields protoimpl.UnknownFields
  39. sizeCache protoimpl.SizeCache
  40. }
  41. func (x *Mail) Reset() {
  42. *x = Mail{}
  43. mi := &file_mail_proto_msgTypes[0]
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. ms.StoreMessageInfo(mi)
  46. }
  47. func (x *Mail) String() string {
  48. return protoimpl.X.MessageStringOf(x)
  49. }
  50. func (*Mail) ProtoMessage() {}
  51. func (x *Mail) ProtoReflect() protoreflect.Message {
  52. mi := &file_mail_proto_msgTypes[0]
  53. if x != nil {
  54. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  55. if ms.LoadMessageInfo() == nil {
  56. ms.StoreMessageInfo(mi)
  57. }
  58. return ms
  59. }
  60. return mi.MessageOf(x)
  61. }
  62. // Deprecated: Use Mail.ProtoReflect.Descriptor instead.
  63. func (*Mail) Descriptor() ([]byte, []int) {
  64. return file_mail_proto_rawDescGZIP(), []int{0}
  65. }
  66. func (x *Mail) GetMailID() int64 {
  67. if x != nil {
  68. return x.MailID
  69. }
  70. return 0
  71. }
  72. func (x *Mail) GetFromPlayerID() int64 {
  73. if x != nil {
  74. return x.FromPlayerID
  75. }
  76. return 0
  77. }
  78. func (x *Mail) GetFromPlayerName() string {
  79. if x != nil {
  80. return x.FromPlayerName
  81. }
  82. return ""
  83. }
  84. func (x *Mail) GetSystemMail() *SystemMail {
  85. if x != nil {
  86. return x.SystemMail
  87. }
  88. return nil
  89. }
  90. func (x *Mail) GetLeagueMail() *LeagueMail {
  91. if x != nil {
  92. return x.LeagueMail
  93. }
  94. return nil
  95. }
  96. func (x *Mail) GetIsRead() bool {
  97. if x != nil {
  98. return x.IsRead
  99. }
  100. return false
  101. }
  102. func (x *Mail) GetSendTime() int64 {
  103. if x != nil {
  104. return x.SendTime
  105. }
  106. return 0
  107. }
  108. // 系统邮件
  109. type SystemMail struct {
  110. state protoimpl.MessageState `protogen:"open.v1"`
  111. // 邮件模板id
  112. TemplateID int32 `protobuf:"varint,1,opt,name=templateID,proto3" json:"templateID,omitempty"`
  113. // 邮件模板参数
  114. TemplateParams []string `protobuf:"bytes,2,rep,name=templateParams,proto3" json:"templateParams,omitempty"`
  115. // 过期时间
  116. ExpireTime int64 `protobuf:"varint,3,opt,name=expireTime,proto3" json:"expireTime,omitempty"`
  117. // 是否领奖励
  118. IsReward bool `protobuf:"varint,4,opt,name=isReward,proto3" json:"isReward,omitempty"`
  119. // 附件列表
  120. Rewards []*Asset `protobuf:"bytes,5,rep,name=rewards,proto3" json:"rewards,omitempty"`
  121. unknownFields protoimpl.UnknownFields
  122. sizeCache protoimpl.SizeCache
  123. }
  124. func (x *SystemMail) Reset() {
  125. *x = SystemMail{}
  126. mi := &file_mail_proto_msgTypes[1]
  127. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  128. ms.StoreMessageInfo(mi)
  129. }
  130. func (x *SystemMail) String() string {
  131. return protoimpl.X.MessageStringOf(x)
  132. }
  133. func (*SystemMail) ProtoMessage() {}
  134. func (x *SystemMail) ProtoReflect() protoreflect.Message {
  135. mi := &file_mail_proto_msgTypes[1]
  136. if x != nil {
  137. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  138. if ms.LoadMessageInfo() == nil {
  139. ms.StoreMessageInfo(mi)
  140. }
  141. return ms
  142. }
  143. return mi.MessageOf(x)
  144. }
  145. // Deprecated: Use SystemMail.ProtoReflect.Descriptor instead.
  146. func (*SystemMail) Descriptor() ([]byte, []int) {
  147. return file_mail_proto_rawDescGZIP(), []int{1}
  148. }
  149. func (x *SystemMail) GetTemplateID() int32 {
  150. if x != nil {
  151. return x.TemplateID
  152. }
  153. return 0
  154. }
  155. func (x *SystemMail) GetTemplateParams() []string {
  156. if x != nil {
  157. return x.TemplateParams
  158. }
  159. return nil
  160. }
  161. func (x *SystemMail) GetExpireTime() int64 {
  162. if x != nil {
  163. return x.ExpireTime
  164. }
  165. return 0
  166. }
  167. func (x *SystemMail) GetIsReward() bool {
  168. if x != nil {
  169. return x.IsReward
  170. }
  171. return false
  172. }
  173. func (x *SystemMail) GetRewards() []*Asset {
  174. if x != nil {
  175. return x.Rewards
  176. }
  177. return nil
  178. }
  179. // 联盟邮件
  180. type LeagueMail struct {
  181. state protoimpl.MessageState `protogen:"open.v1"`
  182. // 邮件标题
  183. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
  184. // 邮件内容
  185. Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
  186. // 发送人职位ID 暂时不使用
  187. Job int32 `protobuf:"varint,3,opt,name=job,proto3" json:"job,omitempty"`
  188. unknownFields protoimpl.UnknownFields
  189. sizeCache protoimpl.SizeCache
  190. }
  191. func (x *LeagueMail) Reset() {
  192. *x = LeagueMail{}
  193. mi := &file_mail_proto_msgTypes[2]
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. ms.StoreMessageInfo(mi)
  196. }
  197. func (x *LeagueMail) String() string {
  198. return protoimpl.X.MessageStringOf(x)
  199. }
  200. func (*LeagueMail) ProtoMessage() {}
  201. func (x *LeagueMail) ProtoReflect() protoreflect.Message {
  202. mi := &file_mail_proto_msgTypes[2]
  203. if x != nil {
  204. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  205. if ms.LoadMessageInfo() == nil {
  206. ms.StoreMessageInfo(mi)
  207. }
  208. return ms
  209. }
  210. return mi.MessageOf(x)
  211. }
  212. // Deprecated: Use LeagueMail.ProtoReflect.Descriptor instead.
  213. func (*LeagueMail) Descriptor() ([]byte, []int) {
  214. return file_mail_proto_rawDescGZIP(), []int{2}
  215. }
  216. func (x *LeagueMail) GetTitle() string {
  217. if x != nil {
  218. return x.Title
  219. }
  220. return ""
  221. }
  222. func (x *LeagueMail) GetContent() string {
  223. if x != nil {
  224. return x.Content
  225. }
  226. return ""
  227. }
  228. func (x *LeagueMail) GetJob() int32 {
  229. if x != nil {
  230. return x.Job
  231. }
  232. return 0
  233. }
  234. type MailTypeList struct {
  235. state protoimpl.MessageState `protogen:"open.v1"`
  236. // 邮件列表
  237. List []*MailList `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
  238. unknownFields protoimpl.UnknownFields
  239. sizeCache protoimpl.SizeCache
  240. }
  241. func (x *MailTypeList) Reset() {
  242. *x = MailTypeList{}
  243. mi := &file_mail_proto_msgTypes[3]
  244. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  245. ms.StoreMessageInfo(mi)
  246. }
  247. func (x *MailTypeList) String() string {
  248. return protoimpl.X.MessageStringOf(x)
  249. }
  250. func (*MailTypeList) ProtoMessage() {}
  251. func (x *MailTypeList) ProtoReflect() protoreflect.Message {
  252. mi := &file_mail_proto_msgTypes[3]
  253. if x != nil {
  254. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  255. if ms.LoadMessageInfo() == nil {
  256. ms.StoreMessageInfo(mi)
  257. }
  258. return ms
  259. }
  260. return mi.MessageOf(x)
  261. }
  262. // Deprecated: Use MailTypeList.ProtoReflect.Descriptor instead.
  263. func (*MailTypeList) Descriptor() ([]byte, []int) {
  264. return file_mail_proto_rawDescGZIP(), []int{3}
  265. }
  266. func (x *MailTypeList) GetList() []*MailList {
  267. if x != nil {
  268. return x.List
  269. }
  270. return nil
  271. }
  272. // 邮件列表
  273. type MailList struct {
  274. state protoimpl.MessageState `protogen:"open.v1"`
  275. // 邮件类型 0系统 1法令 2同盟 3指挥
  276. MailType int32 `protobuf:"varint,1,opt,name=mailType,proto3" json:"mailType,omitempty"`
  277. // 置顶法令邮件ID 0为没有置顶
  278. TopMailID int64 `protobuf:"varint,2,opt,name=topMailID,proto3" json:"topMailID,omitempty"`
  279. // 邮件列表
  280. List []*Mail `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  281. unknownFields protoimpl.UnknownFields
  282. sizeCache protoimpl.SizeCache
  283. }
  284. func (x *MailList) Reset() {
  285. *x = MailList{}
  286. mi := &file_mail_proto_msgTypes[4]
  287. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  288. ms.StoreMessageInfo(mi)
  289. }
  290. func (x *MailList) String() string {
  291. return protoimpl.X.MessageStringOf(x)
  292. }
  293. func (*MailList) ProtoMessage() {}
  294. func (x *MailList) ProtoReflect() protoreflect.Message {
  295. mi := &file_mail_proto_msgTypes[4]
  296. if x != nil {
  297. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  298. if ms.LoadMessageInfo() == nil {
  299. ms.StoreMessageInfo(mi)
  300. }
  301. return ms
  302. }
  303. return mi.MessageOf(x)
  304. }
  305. // Deprecated: Use MailList.ProtoReflect.Descriptor instead.
  306. func (*MailList) Descriptor() ([]byte, []int) {
  307. return file_mail_proto_rawDescGZIP(), []int{4}
  308. }
  309. func (x *MailList) GetMailType() int32 {
  310. if x != nil {
  311. return x.MailType
  312. }
  313. return 0
  314. }
  315. func (x *MailList) GetTopMailID() int64 {
  316. if x != nil {
  317. return x.TopMailID
  318. }
  319. return 0
  320. }
  321. func (x *MailList) GetList() []*Mail {
  322. if x != nil {
  323. return x.List
  324. }
  325. return nil
  326. }
  327. // 领取邮件奖励
  328. type TakeMailReward struct {
  329. state protoimpl.MessageState `protogen:"open.v1"`
  330. // 领取邮件id列表
  331. MailIDs []int64 `protobuf:"varint,2,rep,packed,name=mailIDs,proto3" json:"mailIDs,omitempty"`
  332. // 领取奖励
  333. List []*Asset `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  334. unknownFields protoimpl.UnknownFields
  335. sizeCache protoimpl.SizeCache
  336. }
  337. func (x *TakeMailReward) Reset() {
  338. *x = TakeMailReward{}
  339. mi := &file_mail_proto_msgTypes[5]
  340. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  341. ms.StoreMessageInfo(mi)
  342. }
  343. func (x *TakeMailReward) String() string {
  344. return protoimpl.X.MessageStringOf(x)
  345. }
  346. func (*TakeMailReward) ProtoMessage() {}
  347. func (x *TakeMailReward) ProtoReflect() protoreflect.Message {
  348. mi := &file_mail_proto_msgTypes[5]
  349. if x != nil {
  350. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  351. if ms.LoadMessageInfo() == nil {
  352. ms.StoreMessageInfo(mi)
  353. }
  354. return ms
  355. }
  356. return mi.MessageOf(x)
  357. }
  358. // Deprecated: Use TakeMailReward.ProtoReflect.Descriptor instead.
  359. func (*TakeMailReward) Descriptor() ([]byte, []int) {
  360. return file_mail_proto_rawDescGZIP(), []int{5}
  361. }
  362. func (x *TakeMailReward) GetMailIDs() []int64 {
  363. if x != nil {
  364. return x.MailIDs
  365. }
  366. return nil
  367. }
  368. func (x *TakeMailReward) GetList() []*Asset {
  369. if x != nil {
  370. return x.List
  371. }
  372. return nil
  373. }
  374. // 删除邮件列表
  375. type MailDelList struct {
  376. state protoimpl.MessageState `protogen:"open.v1"`
  377. // 删除邮件类型 0系统 1法令 2同盟 3指挥
  378. MailType int32 `protobuf:"varint,1,opt,name=mailType,proto3" json:"mailType,omitempty"`
  379. // 删除邮件唯一ID列表
  380. MailIDs []int64 `protobuf:"varint,2,rep,packed,name=mailIDs,proto3" json:"mailIDs,omitempty"`
  381. unknownFields protoimpl.UnknownFields
  382. sizeCache protoimpl.SizeCache
  383. }
  384. func (x *MailDelList) Reset() {
  385. *x = MailDelList{}
  386. mi := &file_mail_proto_msgTypes[6]
  387. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  388. ms.StoreMessageInfo(mi)
  389. }
  390. func (x *MailDelList) String() string {
  391. return protoimpl.X.MessageStringOf(x)
  392. }
  393. func (*MailDelList) ProtoMessage() {}
  394. func (x *MailDelList) ProtoReflect() protoreflect.Message {
  395. mi := &file_mail_proto_msgTypes[6]
  396. if x != nil {
  397. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  398. if ms.LoadMessageInfo() == nil {
  399. ms.StoreMessageInfo(mi)
  400. }
  401. return ms
  402. }
  403. return mi.MessageOf(x)
  404. }
  405. // Deprecated: Use MailDelList.ProtoReflect.Descriptor instead.
  406. func (*MailDelList) Descriptor() ([]byte, []int) {
  407. return file_mail_proto_rawDescGZIP(), []int{6}
  408. }
  409. func (x *MailDelList) GetMailType() int32 {
  410. if x != nil {
  411. return x.MailType
  412. }
  413. return 0
  414. }
  415. func (x *MailDelList) GetMailIDs() []int64 {
  416. if x != nil {
  417. return x.MailIDs
  418. }
  419. return nil
  420. }
  421. // 发送/更新联盟邮件
  422. type LeagueMailSend struct {
  423. state protoimpl.MessageState `protogen:"open.v1"`
  424. // 邮件唯一ID 如果是更新邮件则需要,新增邮件不需要
  425. MailID int64 `protobuf:"varint,1,opt,name=mailID,proto3" json:"mailID,omitempty"`
  426. // 联盟邮件类型 1法令 2同盟 3指挥
  427. MailType int32 `protobuf:"varint,2,opt,name=mailType,proto3" json:"mailType,omitempty"`
  428. // 联盟邮件标题
  429. Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
  430. // 联盟邮件内容
  431. Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
  432. // 是否置顶
  433. IsTop bool `protobuf:"varint,5,opt,name=isTop,proto3" json:"isTop,omitempty"`
  434. unknownFields protoimpl.UnknownFields
  435. sizeCache protoimpl.SizeCache
  436. }
  437. func (x *LeagueMailSend) Reset() {
  438. *x = LeagueMailSend{}
  439. mi := &file_mail_proto_msgTypes[7]
  440. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  441. ms.StoreMessageInfo(mi)
  442. }
  443. func (x *LeagueMailSend) String() string {
  444. return protoimpl.X.MessageStringOf(x)
  445. }
  446. func (*LeagueMailSend) ProtoMessage() {}
  447. func (x *LeagueMailSend) ProtoReflect() protoreflect.Message {
  448. mi := &file_mail_proto_msgTypes[7]
  449. if x != nil {
  450. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  451. if ms.LoadMessageInfo() == nil {
  452. ms.StoreMessageInfo(mi)
  453. }
  454. return ms
  455. }
  456. return mi.MessageOf(x)
  457. }
  458. // Deprecated: Use LeagueMailSend.ProtoReflect.Descriptor instead.
  459. func (*LeagueMailSend) Descriptor() ([]byte, []int) {
  460. return file_mail_proto_rawDescGZIP(), []int{7}
  461. }
  462. func (x *LeagueMailSend) GetMailID() int64 {
  463. if x != nil {
  464. return x.MailID
  465. }
  466. return 0
  467. }
  468. func (x *LeagueMailSend) GetMailType() int32 {
  469. if x != nil {
  470. return x.MailType
  471. }
  472. return 0
  473. }
  474. func (x *LeagueMailSend) GetTitle() string {
  475. if x != nil {
  476. return x.Title
  477. }
  478. return ""
  479. }
  480. func (x *LeagueMailSend) GetContent() string {
  481. if x != nil {
  482. return x.Content
  483. }
  484. return ""
  485. }
  486. func (x *LeagueMailSend) GetIsTop() bool {
  487. if x != nil {
  488. return x.IsTop
  489. }
  490. return false
  491. }
  492. var File_mail_proto protoreflect.FileDescriptor
  493. const file_mail_proto_rawDesc = "" +
  494. "\n" +
  495. "\n" +
  496. "mail.proto\x12\x02pb\x1a\x0fbase_type.proto\"\xfe\x01\n" +
  497. "\x04Mail\x12\x16\n" +
  498. "\x06mailID\x18\x01 \x01(\x03R\x06mailID\x12\"\n" +
  499. "\ffromPlayerID\x18\x02 \x01(\x03R\ffromPlayerID\x12&\n" +
  500. "\x0efromPlayerName\x18\x03 \x01(\tR\x0efromPlayerName\x12.\n" +
  501. "\n" +
  502. "systemMail\x18\x04 \x01(\v2\x0e.pb.SystemMailR\n" +
  503. "systemMail\x12.\n" +
  504. "\n" +
  505. "leagueMail\x18\x05 \x01(\v2\x0e.pb.LeagueMailR\n" +
  506. "leagueMail\x12\x16\n" +
  507. "\x06isRead\x18\x06 \x01(\bR\x06isRead\x12\x1a\n" +
  508. "\bsendTime\x18\a \x01(\x03R\bsendTime\"\xb5\x01\n" +
  509. "\n" +
  510. "SystemMail\x12\x1e\n" +
  511. "\n" +
  512. "templateID\x18\x01 \x01(\x05R\n" +
  513. "templateID\x12&\n" +
  514. "\x0etemplateParams\x18\x02 \x03(\tR\x0etemplateParams\x12\x1e\n" +
  515. "\n" +
  516. "expireTime\x18\x03 \x01(\x03R\n" +
  517. "expireTime\x12\x1a\n" +
  518. "\bisReward\x18\x04 \x01(\bR\bisReward\x12#\n" +
  519. "\arewards\x18\x05 \x03(\v2\t.pb.AssetR\arewards\"N\n" +
  520. "\n" +
  521. "LeagueMail\x12\x14\n" +
  522. "\x05title\x18\x01 \x01(\tR\x05title\x12\x18\n" +
  523. "\acontent\x18\x02 \x01(\tR\acontent\x12\x10\n" +
  524. "\x03job\x18\x03 \x01(\x05R\x03job\"0\n" +
  525. "\fMailTypeList\x12 \n" +
  526. "\x04list\x18\x02 \x03(\v2\f.pb.MailListR\x04list\"b\n" +
  527. "\bMailList\x12\x1a\n" +
  528. "\bmailType\x18\x01 \x01(\x05R\bmailType\x12\x1c\n" +
  529. "\ttopMailID\x18\x02 \x01(\x03R\ttopMailID\x12\x1c\n" +
  530. "\x04list\x18\x03 \x03(\v2\b.pb.MailR\x04list\"I\n" +
  531. "\x0eTakeMailReward\x12\x18\n" +
  532. "\amailIDs\x18\x02 \x03(\x03R\amailIDs\x12\x1d\n" +
  533. "\x04list\x18\x03 \x03(\v2\t.pb.AssetR\x04list\"C\n" +
  534. "\vMailDelList\x12\x1a\n" +
  535. "\bmailType\x18\x01 \x01(\x05R\bmailType\x12\x18\n" +
  536. "\amailIDs\x18\x02 \x03(\x03R\amailIDs\"\x8a\x01\n" +
  537. "\x0eLeagueMailSend\x12\x16\n" +
  538. "\x06mailID\x18\x01 \x01(\x03R\x06mailID\x12\x1a\n" +
  539. "\bmailType\x18\x02 \x01(\x05R\bmailType\x12\x14\n" +
  540. "\x05title\x18\x03 \x01(\tR\x05title\x12\x18\n" +
  541. "\acontent\x18\x04 \x01(\tR\acontent\x12\x14\n" +
  542. "\x05isTop\x18\x05 \x01(\bR\x05isTopB\x05Z\x03/pbb\x06proto3"
  543. var (
  544. file_mail_proto_rawDescOnce sync.Once
  545. file_mail_proto_rawDescData []byte
  546. )
  547. func file_mail_proto_rawDescGZIP() []byte {
  548. file_mail_proto_rawDescOnce.Do(func() {
  549. file_mail_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_mail_proto_rawDesc), len(file_mail_proto_rawDesc)))
  550. })
  551. return file_mail_proto_rawDescData
  552. }
  553. var file_mail_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  554. var file_mail_proto_goTypes = []any{
  555. (*Mail)(nil), // 0: pb.Mail
  556. (*SystemMail)(nil), // 1: pb.SystemMail
  557. (*LeagueMail)(nil), // 2: pb.LeagueMail
  558. (*MailTypeList)(nil), // 3: pb.MailTypeList
  559. (*MailList)(nil), // 4: pb.MailList
  560. (*TakeMailReward)(nil), // 5: pb.TakeMailReward
  561. (*MailDelList)(nil), // 6: pb.MailDelList
  562. (*LeagueMailSend)(nil), // 7: pb.LeagueMailSend
  563. (*Asset)(nil), // 8: pb.Asset
  564. }
  565. var file_mail_proto_depIdxs = []int32{
  566. 1, // 0: pb.Mail.systemMail:type_name -> pb.SystemMail
  567. 2, // 1: pb.Mail.leagueMail:type_name -> pb.LeagueMail
  568. 8, // 2: pb.SystemMail.rewards:type_name -> pb.Asset
  569. 4, // 3: pb.MailTypeList.list:type_name -> pb.MailList
  570. 0, // 4: pb.MailList.list:type_name -> pb.Mail
  571. 8, // 5: pb.TakeMailReward.list:type_name -> pb.Asset
  572. 6, // [6:6] is the sub-list for method output_type
  573. 6, // [6:6] is the sub-list for method input_type
  574. 6, // [6:6] is the sub-list for extension type_name
  575. 6, // [6:6] is the sub-list for extension extendee
  576. 0, // [0:6] is the sub-list for field type_name
  577. }
  578. func init() { file_mail_proto_init() }
  579. func file_mail_proto_init() {
  580. if File_mail_proto != nil {
  581. return
  582. }
  583. file_base_type_proto_init()
  584. type x struct{}
  585. out := protoimpl.TypeBuilder{
  586. File: protoimpl.DescBuilder{
  587. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  588. RawDescriptor: unsafe.Slice(unsafe.StringData(file_mail_proto_rawDesc), len(file_mail_proto_rawDesc)),
  589. NumEnums: 0,
  590. NumMessages: 8,
  591. NumExtensions: 0,
  592. NumServices: 0,
  593. },
  594. GoTypes: file_mail_proto_goTypes,
  595. DependencyIndexes: file_mail_proto_depIdxs,
  596. MessageInfos: file_mail_proto_msgTypes,
  597. }.Build()
  598. File_mail_proto = out.File
  599. file_mail_proto_goTypes = nil
  600. file_mail_proto_depIdxs = nil
  601. }