chat.pb.go 54 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044
  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: chat.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 ChatData struct {
  23. state protoimpl.MessageState `protogen:"open.v1"`
  24. // 玩家关联的所有聊天室列表
  25. ChatRoomList []*ChatRoom `protobuf:"bytes,1,rep,name=chatRoomList,proto3" json:"chatRoomList,omitempty"`
  26. // 群组邀请列表
  27. GroupInviteList []*GroupInvite `protobuf:"bytes,2,rep,name=groupInviteList,proto3" json:"groupInviteList,omitempty"`
  28. // 好友列表
  29. FriendList []*FriendRelation `protobuf:"bytes,3,rep,name=friendList,proto3" json:"friendList,omitempty"`
  30. // 好友申请列表
  31. FriendInviteList []*FriendInvite `protobuf:"bytes,4,rep,name=friendInviteList,proto3" json:"friendInviteList,omitempty"`
  32. // 好友黑名单列表
  33. BlackPlayerList []*Black `protobuf:"bytes,5,rep,name=blackPlayerList,proto3" json:"blackPlayerList,omitempty"`
  34. // 最近私聊(玩家)列表
  35. LastChatPrivateList []*PrivateChat `protobuf:"bytes,6,rep,name=lastChatPrivateList,proto3" json:"lastChatPrivateList,omitempty"`
  36. // 系统频道消息记录
  37. SystemMsgList []*SystemMsg `protobuf:"bytes,7,rep,name=systemMsgList,proto3" json:"systemMsgList,omitempty"`
  38. // 聊天设置
  39. ChatSetting *ChatSetting `protobuf:"bytes,8,opt,name=chatSetting,proto3" json:"chatSetting,omitempty"`
  40. unknownFields protoimpl.UnknownFields
  41. sizeCache protoimpl.SizeCache
  42. }
  43. func (x *ChatData) Reset() {
  44. *x = ChatData{}
  45. mi := &file_chat_proto_msgTypes[0]
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. ms.StoreMessageInfo(mi)
  48. }
  49. func (x *ChatData) String() string {
  50. return protoimpl.X.MessageStringOf(x)
  51. }
  52. func (*ChatData) ProtoMessage() {}
  53. func (x *ChatData) ProtoReflect() protoreflect.Message {
  54. mi := &file_chat_proto_msgTypes[0]
  55. if x != nil {
  56. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  57. if ms.LoadMessageInfo() == nil {
  58. ms.StoreMessageInfo(mi)
  59. }
  60. return ms
  61. }
  62. return mi.MessageOf(x)
  63. }
  64. // Deprecated: Use ChatData.ProtoReflect.Descriptor instead.
  65. func (*ChatData) Descriptor() ([]byte, []int) {
  66. return file_chat_proto_rawDescGZIP(), []int{0}
  67. }
  68. func (x *ChatData) GetChatRoomList() []*ChatRoom {
  69. if x != nil {
  70. return x.ChatRoomList
  71. }
  72. return nil
  73. }
  74. func (x *ChatData) GetGroupInviteList() []*GroupInvite {
  75. if x != nil {
  76. return x.GroupInviteList
  77. }
  78. return nil
  79. }
  80. func (x *ChatData) GetFriendList() []*FriendRelation {
  81. if x != nil {
  82. return x.FriendList
  83. }
  84. return nil
  85. }
  86. func (x *ChatData) GetFriendInviteList() []*FriendInvite {
  87. if x != nil {
  88. return x.FriendInviteList
  89. }
  90. return nil
  91. }
  92. func (x *ChatData) GetBlackPlayerList() []*Black {
  93. if x != nil {
  94. return x.BlackPlayerList
  95. }
  96. return nil
  97. }
  98. func (x *ChatData) GetLastChatPrivateList() []*PrivateChat {
  99. if x != nil {
  100. return x.LastChatPrivateList
  101. }
  102. return nil
  103. }
  104. func (x *ChatData) GetSystemMsgList() []*SystemMsg {
  105. if x != nil {
  106. return x.SystemMsgList
  107. }
  108. return nil
  109. }
  110. func (x *ChatData) GetChatSetting() *ChatSetting {
  111. if x != nil {
  112. return x.ChatSetting
  113. }
  114. return nil
  115. }
  116. // 聊天室信息更新
  117. type ChatRoomUpdate struct {
  118. state protoimpl.MessageState `protogen:"open.v1"`
  119. // 聊天室信息
  120. ChatRoom *ChatRoom `protobuf:"bytes,1,opt,name=chatRoom,proto3" json:"chatRoom,omitempty"`
  121. // 是否是删除 true:退出聊天室 false:加入聊天室
  122. IsExit bool `protobuf:"varint,2,opt,name=isExit,proto3" json:"isExit,omitempty"`
  123. unknownFields protoimpl.UnknownFields
  124. sizeCache protoimpl.SizeCache
  125. }
  126. func (x *ChatRoomUpdate) Reset() {
  127. *x = ChatRoomUpdate{}
  128. mi := &file_chat_proto_msgTypes[1]
  129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  130. ms.StoreMessageInfo(mi)
  131. }
  132. func (x *ChatRoomUpdate) String() string {
  133. return protoimpl.X.MessageStringOf(x)
  134. }
  135. func (*ChatRoomUpdate) ProtoMessage() {}
  136. func (x *ChatRoomUpdate) ProtoReflect() protoreflect.Message {
  137. mi := &file_chat_proto_msgTypes[1]
  138. if x != nil {
  139. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  140. if ms.LoadMessageInfo() == nil {
  141. ms.StoreMessageInfo(mi)
  142. }
  143. return ms
  144. }
  145. return mi.MessageOf(x)
  146. }
  147. // Deprecated: Use ChatRoomUpdate.ProtoReflect.Descriptor instead.
  148. func (*ChatRoomUpdate) Descriptor() ([]byte, []int) {
  149. return file_chat_proto_rawDescGZIP(), []int{1}
  150. }
  151. func (x *ChatRoomUpdate) GetChatRoom() *ChatRoom {
  152. if x != nil {
  153. return x.ChatRoom
  154. }
  155. return nil
  156. }
  157. func (x *ChatRoomUpdate) GetIsExit() bool {
  158. if x != nil {
  159. return x.IsExit
  160. }
  161. return false
  162. }
  163. // 聊天室信息
  164. type ChatRoom struct {
  165. state protoimpl.MessageState `protogen:"open.v1"`
  166. // 聊天室类型
  167. ChatType int32 `protobuf:"varint,1,opt,name=chatType,proto3" json:"chatType,omitempty"`
  168. // 聊天室ID
  169. ChatID int64 `protobuf:"varint,2,opt,name=chatID,proto3" json:"chatID,omitempty"`
  170. // 聊天室名称
  171. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  172. // 拥有者玩家ID
  173. OwnerPlayerID int64 `protobuf:"varint,4,opt,name=ownerPlayerID,proto3" json:"ownerPlayerID,omitempty"`
  174. // 免费发言剩余次数(根据配置生效)
  175. FreeSendCount int32 `protobuf:"varint,5,opt,name=freeSendCount,proto3" json:"freeSendCount,omitempty"`
  176. // 是否接收消息
  177. IsMute bool `protobuf:"varint,6,opt,name=isMute,proto3" json:"isMute,omitempty"`
  178. // 加入时间(可排序)
  179. JoinTime int64 `protobuf:"varint,7,opt,name=joinTime,proto3" json:"joinTime,omitempty"`
  180. unknownFields protoimpl.UnknownFields
  181. sizeCache protoimpl.SizeCache
  182. }
  183. func (x *ChatRoom) Reset() {
  184. *x = ChatRoom{}
  185. mi := &file_chat_proto_msgTypes[2]
  186. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  187. ms.StoreMessageInfo(mi)
  188. }
  189. func (x *ChatRoom) String() string {
  190. return protoimpl.X.MessageStringOf(x)
  191. }
  192. func (*ChatRoom) ProtoMessage() {}
  193. func (x *ChatRoom) ProtoReflect() protoreflect.Message {
  194. mi := &file_chat_proto_msgTypes[2]
  195. if x != nil {
  196. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  197. if ms.LoadMessageInfo() == nil {
  198. ms.StoreMessageInfo(mi)
  199. }
  200. return ms
  201. }
  202. return mi.MessageOf(x)
  203. }
  204. // Deprecated: Use ChatRoom.ProtoReflect.Descriptor instead.
  205. func (*ChatRoom) Descriptor() ([]byte, []int) {
  206. return file_chat_proto_rawDescGZIP(), []int{2}
  207. }
  208. func (x *ChatRoom) GetChatType() int32 {
  209. if x != nil {
  210. return x.ChatType
  211. }
  212. return 0
  213. }
  214. func (x *ChatRoom) GetChatID() int64 {
  215. if x != nil {
  216. return x.ChatID
  217. }
  218. return 0
  219. }
  220. func (x *ChatRoom) GetName() string {
  221. if x != nil {
  222. return x.Name
  223. }
  224. return ""
  225. }
  226. func (x *ChatRoom) GetOwnerPlayerID() int64 {
  227. if x != nil {
  228. return x.OwnerPlayerID
  229. }
  230. return 0
  231. }
  232. func (x *ChatRoom) GetFreeSendCount() int32 {
  233. if x != nil {
  234. return x.FreeSendCount
  235. }
  236. return 0
  237. }
  238. func (x *ChatRoom) GetIsMute() bool {
  239. if x != nil {
  240. return x.IsMute
  241. }
  242. return false
  243. }
  244. func (x *ChatRoom) GetJoinTime() int64 {
  245. if x != nil {
  246. return x.JoinTime
  247. }
  248. return 0
  249. }
  250. // 聊天室类型的消息列表
  251. type ChatMsgList struct {
  252. state protoimpl.MessageState `protogen:"open.v1"`
  253. // 聊天室类型
  254. ChatType int32 `protobuf:"varint,1,opt,name=chatType,proto3" json:"chatType,omitempty"`
  255. // 聊天室ID
  256. ChatID int64 `protobuf:"varint,2,opt,name=chatID,proto3" json:"chatID,omitempty"`
  257. // 是否为新消息
  258. IsNew bool `protobuf:"varint,3,opt,name=isNew,proto3" json:"isNew,omitempty"`
  259. // 消息列表
  260. List []*ChatMsg `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
  261. unknownFields protoimpl.UnknownFields
  262. sizeCache protoimpl.SizeCache
  263. }
  264. func (x *ChatMsgList) Reset() {
  265. *x = ChatMsgList{}
  266. mi := &file_chat_proto_msgTypes[3]
  267. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  268. ms.StoreMessageInfo(mi)
  269. }
  270. func (x *ChatMsgList) String() string {
  271. return protoimpl.X.MessageStringOf(x)
  272. }
  273. func (*ChatMsgList) ProtoMessage() {}
  274. func (x *ChatMsgList) ProtoReflect() protoreflect.Message {
  275. mi := &file_chat_proto_msgTypes[3]
  276. if x != nil {
  277. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  278. if ms.LoadMessageInfo() == nil {
  279. ms.StoreMessageInfo(mi)
  280. }
  281. return ms
  282. }
  283. return mi.MessageOf(x)
  284. }
  285. // Deprecated: Use ChatMsgList.ProtoReflect.Descriptor instead.
  286. func (*ChatMsgList) Descriptor() ([]byte, []int) {
  287. return file_chat_proto_rawDescGZIP(), []int{3}
  288. }
  289. func (x *ChatMsgList) GetChatType() int32 {
  290. if x != nil {
  291. return x.ChatType
  292. }
  293. return 0
  294. }
  295. func (x *ChatMsgList) GetChatID() int64 {
  296. if x != nil {
  297. return x.ChatID
  298. }
  299. return 0
  300. }
  301. func (x *ChatMsgList) GetIsNew() bool {
  302. if x != nil {
  303. return x.IsNew
  304. }
  305. return false
  306. }
  307. func (x *ChatMsgList) GetList() []*ChatMsg {
  308. if x != nil {
  309. return x.List
  310. }
  311. return nil
  312. }
  313. // 多条聊天消息列表
  314. type ChatMsgs struct {
  315. state protoimpl.MessageState `protogen:"open.v1"`
  316. List []*ChatMsg `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  317. unknownFields protoimpl.UnknownFields
  318. sizeCache protoimpl.SizeCache
  319. }
  320. func (x *ChatMsgs) Reset() {
  321. *x = ChatMsgs{}
  322. mi := &file_chat_proto_msgTypes[4]
  323. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  324. ms.StoreMessageInfo(mi)
  325. }
  326. func (x *ChatMsgs) String() string {
  327. return protoimpl.X.MessageStringOf(x)
  328. }
  329. func (*ChatMsgs) ProtoMessage() {}
  330. func (x *ChatMsgs) ProtoReflect() protoreflect.Message {
  331. mi := &file_chat_proto_msgTypes[4]
  332. if x != nil {
  333. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  334. if ms.LoadMessageInfo() == nil {
  335. ms.StoreMessageInfo(mi)
  336. }
  337. return ms
  338. }
  339. return mi.MessageOf(x)
  340. }
  341. // Deprecated: Use ChatMsgs.ProtoReflect.Descriptor instead.
  342. func (*ChatMsgs) Descriptor() ([]byte, []int) {
  343. return file_chat_proto_rawDescGZIP(), []int{4}
  344. }
  345. func (x *ChatMsgs) GetList() []*ChatMsg {
  346. if x != nil {
  347. return x.List
  348. }
  349. return nil
  350. }
  351. // 聊天消息
  352. type ChatMsg struct {
  353. state protoimpl.MessageState `protogen:"open.v1"`
  354. // 消息唯一id
  355. MsgID int64 `protobuf:"varint,1,opt,name=msgID,proto3" json:"msgID,omitempty"`
  356. // 发送者
  357. Sender *ChatPlayer `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
  358. // 发送时间
  359. SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime,omitempty"`
  360. // 消息类型 0.纯文本 其他参考:L-聊天-消息模板表 消息类型的定义
  361. Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
  362. // 文本内容
  363. Text string `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"`
  364. // 消息类型和参数(根据消息类型拼接内容)
  365. Params *ParamsTemplate `protobuf:"bytes,6,opt,name=params,proto3" json:"params,omitempty"`
  366. unknownFields protoimpl.UnknownFields
  367. sizeCache protoimpl.SizeCache
  368. }
  369. func (x *ChatMsg) Reset() {
  370. *x = ChatMsg{}
  371. mi := &file_chat_proto_msgTypes[5]
  372. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  373. ms.StoreMessageInfo(mi)
  374. }
  375. func (x *ChatMsg) String() string {
  376. return protoimpl.X.MessageStringOf(x)
  377. }
  378. func (*ChatMsg) ProtoMessage() {}
  379. func (x *ChatMsg) ProtoReflect() protoreflect.Message {
  380. mi := &file_chat_proto_msgTypes[5]
  381. if x != nil {
  382. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  383. if ms.LoadMessageInfo() == nil {
  384. ms.StoreMessageInfo(mi)
  385. }
  386. return ms
  387. }
  388. return mi.MessageOf(x)
  389. }
  390. // Deprecated: Use ChatMsg.ProtoReflect.Descriptor instead.
  391. func (*ChatMsg) Descriptor() ([]byte, []int) {
  392. return file_chat_proto_rawDescGZIP(), []int{5}
  393. }
  394. func (x *ChatMsg) GetMsgID() int64 {
  395. if x != nil {
  396. return x.MsgID
  397. }
  398. return 0
  399. }
  400. func (x *ChatMsg) GetSender() *ChatPlayer {
  401. if x != nil {
  402. return x.Sender
  403. }
  404. return nil
  405. }
  406. func (x *ChatMsg) GetSendTime() int64 {
  407. if x != nil {
  408. return x.SendTime
  409. }
  410. return 0
  411. }
  412. func (x *ChatMsg) GetType() int32 {
  413. if x != nil {
  414. return x.Type
  415. }
  416. return 0
  417. }
  418. func (x *ChatMsg) GetText() string {
  419. if x != nil {
  420. return x.Text
  421. }
  422. return ""
  423. }
  424. func (x *ChatMsg) GetParams() *ParamsTemplate {
  425. if x != nil {
  426. return x.Params
  427. }
  428. return nil
  429. }
  430. // 消息内容
  431. type ChatContent struct {
  432. state protoimpl.MessageState `protogen:"open.v1"`
  433. // 消息唯一id
  434. MsgID int64 `protobuf:"varint,1,opt,name=msgID,proto3" json:"msgID,omitempty"`
  435. // 发送时间(可排序)
  436. SendTime int64 `protobuf:"varint,2,opt,name=sendTime,proto3" json:"sendTime,omitempty"`
  437. // 消息类型 0.纯文本 其他参考:L-聊天-消息模板表 消息类型的定义
  438. Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
  439. // 文本内容
  440. Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
  441. // 消息类型和参数(根据消息类型拼接内容)
  442. Params *ParamsTemplate `protobuf:"bytes,5,opt,name=params,proto3" json:"params,omitempty"`
  443. unknownFields protoimpl.UnknownFields
  444. sizeCache protoimpl.SizeCache
  445. }
  446. func (x *ChatContent) Reset() {
  447. *x = ChatContent{}
  448. mi := &file_chat_proto_msgTypes[6]
  449. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  450. ms.StoreMessageInfo(mi)
  451. }
  452. func (x *ChatContent) String() string {
  453. return protoimpl.X.MessageStringOf(x)
  454. }
  455. func (*ChatContent) ProtoMessage() {}
  456. func (x *ChatContent) ProtoReflect() protoreflect.Message {
  457. mi := &file_chat_proto_msgTypes[6]
  458. if x != nil {
  459. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  460. if ms.LoadMessageInfo() == nil {
  461. ms.StoreMessageInfo(mi)
  462. }
  463. return ms
  464. }
  465. return mi.MessageOf(x)
  466. }
  467. // Deprecated: Use ChatContent.ProtoReflect.Descriptor instead.
  468. func (*ChatContent) Descriptor() ([]byte, []int) {
  469. return file_chat_proto_rawDescGZIP(), []int{6}
  470. }
  471. func (x *ChatContent) GetMsgID() int64 {
  472. if x != nil {
  473. return x.MsgID
  474. }
  475. return 0
  476. }
  477. func (x *ChatContent) GetSendTime() int64 {
  478. if x != nil {
  479. return x.SendTime
  480. }
  481. return 0
  482. }
  483. func (x *ChatContent) GetType() int32 {
  484. if x != nil {
  485. return x.Type
  486. }
  487. return 0
  488. }
  489. func (x *ChatContent) GetText() string {
  490. if x != nil {
  491. return x.Text
  492. }
  493. return ""
  494. }
  495. func (x *ChatContent) GetParams() *ParamsTemplate {
  496. if x != nil {
  497. return x.Params
  498. }
  499. return nil
  500. }
  501. // 系统频道消息
  502. type SystemMsg struct {
  503. state protoimpl.MessageState `protogen:"open.v1"`
  504. // 时间
  505. Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
  506. // 消息类型和参数(根据消息类型拼接内容)
  507. Params *ParamsTemplate `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
  508. unknownFields protoimpl.UnknownFields
  509. sizeCache protoimpl.SizeCache
  510. }
  511. func (x *SystemMsg) Reset() {
  512. *x = SystemMsg{}
  513. mi := &file_chat_proto_msgTypes[7]
  514. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  515. ms.StoreMessageInfo(mi)
  516. }
  517. func (x *SystemMsg) String() string {
  518. return protoimpl.X.MessageStringOf(x)
  519. }
  520. func (*SystemMsg) ProtoMessage() {}
  521. func (x *SystemMsg) ProtoReflect() protoreflect.Message {
  522. mi := &file_chat_proto_msgTypes[7]
  523. if x != nil {
  524. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  525. if ms.LoadMessageInfo() == nil {
  526. ms.StoreMessageInfo(mi)
  527. }
  528. return ms
  529. }
  530. return mi.MessageOf(x)
  531. }
  532. // Deprecated: Use SystemMsg.ProtoReflect.Descriptor instead.
  533. func (*SystemMsg) Descriptor() ([]byte, []int) {
  534. return file_chat_proto_rawDescGZIP(), []int{7}
  535. }
  536. func (x *SystemMsg) GetTime() int64 {
  537. if x != nil {
  538. return x.Time
  539. }
  540. return 0
  541. }
  542. func (x *SystemMsg) GetParams() *ParamsTemplate {
  543. if x != nil {
  544. return x.Params
  545. }
  546. return nil
  547. }
  548. // 聊天室玩家列表
  549. type ChatPlayerList struct {
  550. state protoimpl.MessageState `protogen:"open.v1"`
  551. // 玩家列表
  552. List []*ChatPlayer `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  553. unknownFields protoimpl.UnknownFields
  554. sizeCache protoimpl.SizeCache
  555. }
  556. func (x *ChatPlayerList) Reset() {
  557. *x = ChatPlayerList{}
  558. mi := &file_chat_proto_msgTypes[8]
  559. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  560. ms.StoreMessageInfo(mi)
  561. }
  562. func (x *ChatPlayerList) String() string {
  563. return protoimpl.X.MessageStringOf(x)
  564. }
  565. func (*ChatPlayerList) ProtoMessage() {}
  566. func (x *ChatPlayerList) ProtoReflect() protoreflect.Message {
  567. mi := &file_chat_proto_msgTypes[8]
  568. if x != nil {
  569. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  570. if ms.LoadMessageInfo() == nil {
  571. ms.StoreMessageInfo(mi)
  572. }
  573. return ms
  574. }
  575. return mi.MessageOf(x)
  576. }
  577. // Deprecated: Use ChatPlayerList.ProtoReflect.Descriptor instead.
  578. func (*ChatPlayerList) Descriptor() ([]byte, []int) {
  579. return file_chat_proto_rawDescGZIP(), []int{8}
  580. }
  581. func (x *ChatPlayerList) GetList() []*ChatPlayer {
  582. if x != nil {
  583. return x.List
  584. }
  585. return nil
  586. }
  587. // 聊天室玩家信息
  588. type ChatPlayer struct {
  589. state protoimpl.MessageState `protogen:"open.v1"`
  590. // 玩家id
  591. PlayerID int64 `protobuf:"varint,1,opt,name=playerID,proto3" json:"playerID,omitempty"`
  592. // 玩家名称
  593. PlayerName string `protobuf:"bytes,2,opt,name=playerName,proto3" json:"playerName,omitempty"`
  594. // 玩家领主等级
  595. LordLevel int32 `protobuf:"varint,3,opt,name=lordLevel,proto3" json:"lordLevel,omitempty"`
  596. // 头像
  597. IconID int32 `protobuf:"varint,4,opt,name=iconID,proto3" json:"iconID,omitempty"`
  598. // 头像框
  599. FrameID int32 `protobuf:"varint,5,opt,name=frameID,proto3" json:"frameID,omitempty"`
  600. // 游戏节点id
  601. GameNodeID string `protobuf:"bytes,6,opt,name=gameNodeID,proto3" json:"gameNodeID,omitempty"`
  602. // 联盟id
  603. LeagueID int64 `protobuf:"varint,7,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
  604. // 联盟名称
  605. LeagueName string `protobuf:"bytes,8,opt,name=leagueName,proto3" json:"leagueName,omitempty"`
  606. // 联盟职位
  607. LeagueJob int32 `protobuf:"varint,9,opt,name=leagueJob,proto3" json:"leagueJob,omitempty"`
  608. // 地图id
  609. MapNodeID string `protobuf:"bytes,10,opt,name=mapNodeID,proto3" json:"mapNodeID,omitempty"`
  610. // 赛季id
  611. SeasonID int32 `protobuf:"varint,11,opt,name=seasonID,proto3" json:"seasonID,omitempty"`
  612. // 所属州
  613. StateID int32 `protobuf:"varint,12,opt,name=stateID,proto3" json:"stateID,omitempty"`
  614. // 声望
  615. Prestige int32 `protobuf:"varint,13,opt,name=prestige,proto3" json:"prestige,omitempty"`
  616. // 联盟简称
  617. LeagueAbbName string `protobuf:"bytes,14,opt,name=leagueAbbName,proto3" json:"leagueAbbName,omitempty"`
  618. unknownFields protoimpl.UnknownFields
  619. sizeCache protoimpl.SizeCache
  620. }
  621. func (x *ChatPlayer) Reset() {
  622. *x = ChatPlayer{}
  623. mi := &file_chat_proto_msgTypes[9]
  624. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  625. ms.StoreMessageInfo(mi)
  626. }
  627. func (x *ChatPlayer) String() string {
  628. return protoimpl.X.MessageStringOf(x)
  629. }
  630. func (*ChatPlayer) ProtoMessage() {}
  631. func (x *ChatPlayer) ProtoReflect() protoreflect.Message {
  632. mi := &file_chat_proto_msgTypes[9]
  633. if x != nil {
  634. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  635. if ms.LoadMessageInfo() == nil {
  636. ms.StoreMessageInfo(mi)
  637. }
  638. return ms
  639. }
  640. return mi.MessageOf(x)
  641. }
  642. // Deprecated: Use ChatPlayer.ProtoReflect.Descriptor instead.
  643. func (*ChatPlayer) Descriptor() ([]byte, []int) {
  644. return file_chat_proto_rawDescGZIP(), []int{9}
  645. }
  646. func (x *ChatPlayer) GetPlayerID() int64 {
  647. if x != nil {
  648. return x.PlayerID
  649. }
  650. return 0
  651. }
  652. func (x *ChatPlayer) GetPlayerName() string {
  653. if x != nil {
  654. return x.PlayerName
  655. }
  656. return ""
  657. }
  658. func (x *ChatPlayer) GetLordLevel() int32 {
  659. if x != nil {
  660. return x.LordLevel
  661. }
  662. return 0
  663. }
  664. func (x *ChatPlayer) GetIconID() int32 {
  665. if x != nil {
  666. return x.IconID
  667. }
  668. return 0
  669. }
  670. func (x *ChatPlayer) GetFrameID() int32 {
  671. if x != nil {
  672. return x.FrameID
  673. }
  674. return 0
  675. }
  676. func (x *ChatPlayer) GetGameNodeID() string {
  677. if x != nil {
  678. return x.GameNodeID
  679. }
  680. return ""
  681. }
  682. func (x *ChatPlayer) GetLeagueID() int64 {
  683. if x != nil {
  684. return x.LeagueID
  685. }
  686. return 0
  687. }
  688. func (x *ChatPlayer) GetLeagueName() string {
  689. if x != nil {
  690. return x.LeagueName
  691. }
  692. return ""
  693. }
  694. func (x *ChatPlayer) GetLeagueJob() int32 {
  695. if x != nil {
  696. return x.LeagueJob
  697. }
  698. return 0
  699. }
  700. func (x *ChatPlayer) GetMapNodeID() string {
  701. if x != nil {
  702. return x.MapNodeID
  703. }
  704. return ""
  705. }
  706. func (x *ChatPlayer) GetSeasonID() int32 {
  707. if x != nil {
  708. return x.SeasonID
  709. }
  710. return 0
  711. }
  712. func (x *ChatPlayer) GetStateID() int32 {
  713. if x != nil {
  714. return x.StateID
  715. }
  716. return 0
  717. }
  718. func (x *ChatPlayer) GetPrestige() int32 {
  719. if x != nil {
  720. return x.Prestige
  721. }
  722. return 0
  723. }
  724. func (x *ChatPlayer) GetLeagueAbbName() string {
  725. if x != nil {
  726. return x.LeagueAbbName
  727. }
  728. return ""
  729. }
  730. // 发送聊天消息请求
  731. type ChatSend struct {
  732. state protoimpl.MessageState `protogen:"open.v1"`
  733. // 类型 1.世界 2.联盟 3.地图 4.群组
  734. ChatType int32 `protobuf:"varint,1,opt,name=chatType,proto3" json:"chatType,omitempty"`
  735. // 聊天室ID
  736. ChatID int64 `protobuf:"varint,2,opt,name=chatID,proto3" json:"chatID,omitempty"`
  737. // 内容
  738. Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
  739. unknownFields protoimpl.UnknownFields
  740. sizeCache protoimpl.SizeCache
  741. }
  742. func (x *ChatSend) Reset() {
  743. *x = ChatSend{}
  744. mi := &file_chat_proto_msgTypes[10]
  745. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  746. ms.StoreMessageInfo(mi)
  747. }
  748. func (x *ChatSend) String() string {
  749. return protoimpl.X.MessageStringOf(x)
  750. }
  751. func (*ChatSend) ProtoMessage() {}
  752. func (x *ChatSend) ProtoReflect() protoreflect.Message {
  753. mi := &file_chat_proto_msgTypes[10]
  754. if x != nil {
  755. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  756. if ms.LoadMessageInfo() == nil {
  757. ms.StoreMessageInfo(mi)
  758. }
  759. return ms
  760. }
  761. return mi.MessageOf(x)
  762. }
  763. // Deprecated: Use ChatSend.ProtoReflect.Descriptor instead.
  764. func (*ChatSend) Descriptor() ([]byte, []int) {
  765. return file_chat_proto_rawDescGZIP(), []int{10}
  766. }
  767. func (x *ChatSend) GetChatType() int32 {
  768. if x != nil {
  769. return x.ChatType
  770. }
  771. return 0
  772. }
  773. func (x *ChatSend) GetChatID() int64 {
  774. if x != nil {
  775. return x.ChatID
  776. }
  777. return 0
  778. }
  779. func (x *ChatSend) GetText() string {
  780. if x != nil {
  781. return x.Text
  782. }
  783. return ""
  784. }
  785. // 拉取聊天消息记录请求
  786. type ChatMsgRequest struct {
  787. state protoimpl.MessageState `protogen:"open.v1"`
  788. // 聊天室类型
  789. ChatType int32 `protobuf:"varint,1,opt,name=chatType,proto3" json:"chatType,omitempty"`
  790. // 聊天室ID
  791. ChatID int64 `protobuf:"varint,2,opt,name=chatID,proto3" json:"chatID,omitempty"`
  792. // 传0获取最新的20条,传最后一个MsgID获取更早的20条
  793. LastMsgID int64 `protobuf:"varint,3,opt,name=lastMsgID,proto3" json:"lastMsgID,omitempty"`
  794. unknownFields protoimpl.UnknownFields
  795. sizeCache protoimpl.SizeCache
  796. }
  797. func (x *ChatMsgRequest) Reset() {
  798. *x = ChatMsgRequest{}
  799. mi := &file_chat_proto_msgTypes[11]
  800. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  801. ms.StoreMessageInfo(mi)
  802. }
  803. func (x *ChatMsgRequest) String() string {
  804. return protoimpl.X.MessageStringOf(x)
  805. }
  806. func (*ChatMsgRequest) ProtoMessage() {}
  807. func (x *ChatMsgRequest) ProtoReflect() protoreflect.Message {
  808. mi := &file_chat_proto_msgTypes[11]
  809. if x != nil {
  810. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  811. if ms.LoadMessageInfo() == nil {
  812. ms.StoreMessageInfo(mi)
  813. }
  814. return ms
  815. }
  816. return mi.MessageOf(x)
  817. }
  818. // Deprecated: Use ChatMsgRequest.ProtoReflect.Descriptor instead.
  819. func (*ChatMsgRequest) Descriptor() ([]byte, []int) {
  820. return file_chat_proto_rawDescGZIP(), []int{11}
  821. }
  822. func (x *ChatMsgRequest) GetChatType() int32 {
  823. if x != nil {
  824. return x.ChatType
  825. }
  826. return 0
  827. }
  828. func (x *ChatMsgRequest) GetChatID() int64 {
  829. if x != nil {
  830. return x.ChatID
  831. }
  832. return 0
  833. }
  834. func (x *ChatMsgRequest) GetLastMsgID() int64 {
  835. if x != nil {
  836. return x.LastMsgID
  837. }
  838. return 0
  839. }
  840. // 创建群组聊天室
  841. type GroupCreate struct {
  842. state protoimpl.MessageState `protogen:"open.v1"`
  843. // 群组聊天室名称
  844. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  845. // 邀请的玩家ID列表
  846. PlayerIDList []int64 `protobuf:"varint,2,rep,packed,name=playerIDList,proto3" json:"playerIDList,omitempty"`
  847. unknownFields protoimpl.UnknownFields
  848. sizeCache protoimpl.SizeCache
  849. }
  850. func (x *GroupCreate) Reset() {
  851. *x = GroupCreate{}
  852. mi := &file_chat_proto_msgTypes[12]
  853. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  854. ms.StoreMessageInfo(mi)
  855. }
  856. func (x *GroupCreate) String() string {
  857. return protoimpl.X.MessageStringOf(x)
  858. }
  859. func (*GroupCreate) ProtoMessage() {}
  860. func (x *GroupCreate) ProtoReflect() protoreflect.Message {
  861. mi := &file_chat_proto_msgTypes[12]
  862. if x != nil {
  863. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  864. if ms.LoadMessageInfo() == nil {
  865. ms.StoreMessageInfo(mi)
  866. }
  867. return ms
  868. }
  869. return mi.MessageOf(x)
  870. }
  871. // Deprecated: Use GroupCreate.ProtoReflect.Descriptor instead.
  872. func (*GroupCreate) Descriptor() ([]byte, []int) {
  873. return file_chat_proto_rawDescGZIP(), []int{12}
  874. }
  875. func (x *GroupCreate) GetName() string {
  876. if x != nil {
  877. return x.Name
  878. }
  879. return ""
  880. }
  881. func (x *GroupCreate) GetPlayerIDList() []int64 {
  882. if x != nil {
  883. return x.PlayerIDList
  884. }
  885. return nil
  886. }
  887. // 群组玩家更改
  888. type GroupPlayerChange struct {
  889. state protoimpl.MessageState `protogen:"open.v1"`
  890. // 群组聊天室ID
  891. ChatID int64 `protobuf:"varint,1,opt,name=chatID,proto3" json:"chatID,omitempty"`
  892. // 最新的玩家ID列表(服务端自动处理新增加的和被踢除的)
  893. PlayerIDList []int64 `protobuf:"varint,2,rep,packed,name=playerIDList,proto3" json:"playerIDList,omitempty"`
  894. unknownFields protoimpl.UnknownFields
  895. sizeCache protoimpl.SizeCache
  896. }
  897. func (x *GroupPlayerChange) Reset() {
  898. *x = GroupPlayerChange{}
  899. mi := &file_chat_proto_msgTypes[13]
  900. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  901. ms.StoreMessageInfo(mi)
  902. }
  903. func (x *GroupPlayerChange) String() string {
  904. return protoimpl.X.MessageStringOf(x)
  905. }
  906. func (*GroupPlayerChange) ProtoMessage() {}
  907. func (x *GroupPlayerChange) ProtoReflect() protoreflect.Message {
  908. mi := &file_chat_proto_msgTypes[13]
  909. if x != nil {
  910. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  911. if ms.LoadMessageInfo() == nil {
  912. ms.StoreMessageInfo(mi)
  913. }
  914. return ms
  915. }
  916. return mi.MessageOf(x)
  917. }
  918. // Deprecated: Use GroupPlayerChange.ProtoReflect.Descriptor instead.
  919. func (*GroupPlayerChange) Descriptor() ([]byte, []int) {
  920. return file_chat_proto_rawDescGZIP(), []int{13}
  921. }
  922. func (x *GroupPlayerChange) GetChatID() int64 {
  923. if x != nil {
  924. return x.ChatID
  925. }
  926. return 0
  927. }
  928. func (x *GroupPlayerChange) GetPlayerIDList() []int64 {
  929. if x != nil {
  930. return x.PlayerIDList
  931. }
  932. return nil
  933. }
  934. // 群组邀请确认
  935. type GroupInviteConfirm struct {
  936. state protoimpl.MessageState `protogen:"open.v1"`
  937. // 群组聊天室ID
  938. ChatID int64 `protobuf:"varint,1,opt,name=chatID,proto3" json:"chatID,omitempty"`
  939. // 是否接受
  940. IsAccept bool `protobuf:"varint,2,opt,name=isAccept,proto3" json:"isAccept,omitempty"`
  941. // 是否一键全部拒绝
  942. IsRejectAll bool `protobuf:"varint,3,opt,name=isRejectAll,proto3" json:"isRejectAll,omitempty"`
  943. unknownFields protoimpl.UnknownFields
  944. sizeCache protoimpl.SizeCache
  945. }
  946. func (x *GroupInviteConfirm) Reset() {
  947. *x = GroupInviteConfirm{}
  948. mi := &file_chat_proto_msgTypes[14]
  949. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  950. ms.StoreMessageInfo(mi)
  951. }
  952. func (x *GroupInviteConfirm) String() string {
  953. return protoimpl.X.MessageStringOf(x)
  954. }
  955. func (*GroupInviteConfirm) ProtoMessage() {}
  956. func (x *GroupInviteConfirm) ProtoReflect() protoreflect.Message {
  957. mi := &file_chat_proto_msgTypes[14]
  958. if x != nil {
  959. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  960. if ms.LoadMessageInfo() == nil {
  961. ms.StoreMessageInfo(mi)
  962. }
  963. return ms
  964. }
  965. return mi.MessageOf(x)
  966. }
  967. // Deprecated: Use GroupInviteConfirm.ProtoReflect.Descriptor instead.
  968. func (*GroupInviteConfirm) Descriptor() ([]byte, []int) {
  969. return file_chat_proto_rawDescGZIP(), []int{14}
  970. }
  971. func (x *GroupInviteConfirm) GetChatID() int64 {
  972. if x != nil {
  973. return x.ChatID
  974. }
  975. return 0
  976. }
  977. func (x *GroupInviteConfirm) GetIsAccept() bool {
  978. if x != nil {
  979. return x.IsAccept
  980. }
  981. return false
  982. }
  983. func (x *GroupInviteConfirm) GetIsRejectAll() bool {
  984. if x != nil {
  985. return x.IsRejectAll
  986. }
  987. return false
  988. }
  989. // 群组聊天室邀请信息
  990. type GroupInvite struct {
  991. state protoimpl.MessageState `protogen:"open.v1"`
  992. // 群组聊天室ID
  993. ChatID int64 `protobuf:"varint,1,opt,name=chatID,proto3" json:"chatID,omitempty"`
  994. // 群组聊天室名称
  995. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  996. // 邀请人信息
  997. InvitePlayer *ChatPlayer `protobuf:"bytes,3,opt,name=invitePlayer,proto3" json:"invitePlayer,omitempty"`
  998. // 邀请时间(可排序)
  999. InviteTime int64 `protobuf:"varint,4,opt,name=inviteTime,proto3" json:"inviteTime,omitempty"`
  1000. unknownFields protoimpl.UnknownFields
  1001. sizeCache protoimpl.SizeCache
  1002. }
  1003. func (x *GroupInvite) Reset() {
  1004. *x = GroupInvite{}
  1005. mi := &file_chat_proto_msgTypes[15]
  1006. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1007. ms.StoreMessageInfo(mi)
  1008. }
  1009. func (x *GroupInvite) String() string {
  1010. return protoimpl.X.MessageStringOf(x)
  1011. }
  1012. func (*GroupInvite) ProtoMessage() {}
  1013. func (x *GroupInvite) ProtoReflect() protoreflect.Message {
  1014. mi := &file_chat_proto_msgTypes[15]
  1015. if x != nil {
  1016. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1017. if ms.LoadMessageInfo() == nil {
  1018. ms.StoreMessageInfo(mi)
  1019. }
  1020. return ms
  1021. }
  1022. return mi.MessageOf(x)
  1023. }
  1024. // Deprecated: Use GroupInvite.ProtoReflect.Descriptor instead.
  1025. func (*GroupInvite) Descriptor() ([]byte, []int) {
  1026. return file_chat_proto_rawDescGZIP(), []int{15}
  1027. }
  1028. func (x *GroupInvite) GetChatID() int64 {
  1029. if x != nil {
  1030. return x.ChatID
  1031. }
  1032. return 0
  1033. }
  1034. func (x *GroupInvite) GetName() string {
  1035. if x != nil {
  1036. return x.Name
  1037. }
  1038. return ""
  1039. }
  1040. func (x *GroupInvite) GetInvitePlayer() *ChatPlayer {
  1041. if x != nil {
  1042. return x.InvitePlayer
  1043. }
  1044. return nil
  1045. }
  1046. func (x *GroupInvite) GetInviteTime() int64 {
  1047. if x != nil {
  1048. return x.InviteTime
  1049. }
  1050. return 0
  1051. }
  1052. // 群组免打扰设置
  1053. type GroupMute struct {
  1054. state protoimpl.MessageState `protogen:"open.v1"`
  1055. // 聊天室ID
  1056. ChatID int64 `protobuf:"varint,2,opt,name=chatID,proto3" json:"chatID,omitempty"`
  1057. // 是否免打扰
  1058. IsMute bool `protobuf:"varint,3,opt,name=isMute,proto3" json:"isMute,omitempty"`
  1059. unknownFields protoimpl.UnknownFields
  1060. sizeCache protoimpl.SizeCache
  1061. }
  1062. func (x *GroupMute) Reset() {
  1063. *x = GroupMute{}
  1064. mi := &file_chat_proto_msgTypes[16]
  1065. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1066. ms.StoreMessageInfo(mi)
  1067. }
  1068. func (x *GroupMute) String() string {
  1069. return protoimpl.X.MessageStringOf(x)
  1070. }
  1071. func (*GroupMute) ProtoMessage() {}
  1072. func (x *GroupMute) ProtoReflect() protoreflect.Message {
  1073. mi := &file_chat_proto_msgTypes[16]
  1074. if x != nil {
  1075. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1076. if ms.LoadMessageInfo() == nil {
  1077. ms.StoreMessageInfo(mi)
  1078. }
  1079. return ms
  1080. }
  1081. return mi.MessageOf(x)
  1082. }
  1083. // Deprecated: Use GroupMute.ProtoReflect.Descriptor instead.
  1084. func (*GroupMute) Descriptor() ([]byte, []int) {
  1085. return file_chat_proto_rawDescGZIP(), []int{16}
  1086. }
  1087. func (x *GroupMute) GetChatID() int64 {
  1088. if x != nil {
  1089. return x.ChatID
  1090. }
  1091. return 0
  1092. }
  1093. func (x *GroupMute) GetIsMute() bool {
  1094. if x != nil {
  1095. return x.IsMute
  1096. }
  1097. return false
  1098. }
  1099. // 发送私聊消息请求
  1100. type ChatPrivateSend struct {
  1101. state protoimpl.MessageState `protogen:"open.v1"`
  1102. // 目标玩家ID
  1103. TargetID int64 `protobuf:"varint,1,opt,name=targetID,proto3" json:"targetID,omitempty"`
  1104. // 内容
  1105. Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
  1106. unknownFields protoimpl.UnknownFields
  1107. sizeCache protoimpl.SizeCache
  1108. }
  1109. func (x *ChatPrivateSend) Reset() {
  1110. *x = ChatPrivateSend{}
  1111. mi := &file_chat_proto_msgTypes[17]
  1112. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1113. ms.StoreMessageInfo(mi)
  1114. }
  1115. func (x *ChatPrivateSend) String() string {
  1116. return protoimpl.X.MessageStringOf(x)
  1117. }
  1118. func (*ChatPrivateSend) ProtoMessage() {}
  1119. func (x *ChatPrivateSend) ProtoReflect() protoreflect.Message {
  1120. mi := &file_chat_proto_msgTypes[17]
  1121. if x != nil {
  1122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1123. if ms.LoadMessageInfo() == nil {
  1124. ms.StoreMessageInfo(mi)
  1125. }
  1126. return ms
  1127. }
  1128. return mi.MessageOf(x)
  1129. }
  1130. // Deprecated: Use ChatPrivateSend.ProtoReflect.Descriptor instead.
  1131. func (*ChatPrivateSend) Descriptor() ([]byte, []int) {
  1132. return file_chat_proto_rawDescGZIP(), []int{17}
  1133. }
  1134. func (x *ChatPrivateSend) GetTargetID() int64 {
  1135. if x != nil {
  1136. return x.TargetID
  1137. }
  1138. return 0
  1139. }
  1140. func (x *ChatPrivateSend) GetText() string {
  1141. if x != nil {
  1142. return x.Text
  1143. }
  1144. return ""
  1145. }
  1146. // 聊天相关的设置
  1147. type ChatSetting struct {
  1148. state protoimpl.MessageState `protogen:"open.v1"`
  1149. // 是否开启申请好友
  1150. IsFriendInviteMute bool `protobuf:"varint,1,opt,name=isFriendInviteMute,proto3" json:"isFriendInviteMute,omitempty"`
  1151. // 是否开启群组邀请
  1152. IsGroupInviteMute bool `protobuf:"varint,2,opt,name=isGroupInviteMute,proto3" json:"isGroupInviteMute,omitempty"`
  1153. // 是否开启私聊
  1154. IsPrivateChatMute bool `protobuf:"varint,3,opt,name=isPrivateChatMute,proto3" json:"isPrivateChatMute,omitempty"`
  1155. unknownFields protoimpl.UnknownFields
  1156. sizeCache protoimpl.SizeCache
  1157. }
  1158. func (x *ChatSetting) Reset() {
  1159. *x = ChatSetting{}
  1160. mi := &file_chat_proto_msgTypes[18]
  1161. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1162. ms.StoreMessageInfo(mi)
  1163. }
  1164. func (x *ChatSetting) String() string {
  1165. return protoimpl.X.MessageStringOf(x)
  1166. }
  1167. func (*ChatSetting) ProtoMessage() {}
  1168. func (x *ChatSetting) ProtoReflect() protoreflect.Message {
  1169. mi := &file_chat_proto_msgTypes[18]
  1170. if x != nil {
  1171. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1172. if ms.LoadMessageInfo() == nil {
  1173. ms.StoreMessageInfo(mi)
  1174. }
  1175. return ms
  1176. }
  1177. return mi.MessageOf(x)
  1178. }
  1179. // Deprecated: Use ChatSetting.ProtoReflect.Descriptor instead.
  1180. func (*ChatSetting) Descriptor() ([]byte, []int) {
  1181. return file_chat_proto_rawDescGZIP(), []int{18}
  1182. }
  1183. func (x *ChatSetting) GetIsFriendInviteMute() bool {
  1184. if x != nil {
  1185. return x.IsFriendInviteMute
  1186. }
  1187. return false
  1188. }
  1189. func (x *ChatSetting) GetIsGroupInviteMute() bool {
  1190. if x != nil {
  1191. return x.IsGroupInviteMute
  1192. }
  1193. return false
  1194. }
  1195. func (x *ChatSetting) GetIsPrivateChatMute() bool {
  1196. if x != nil {
  1197. return x.IsPrivateChatMute
  1198. }
  1199. return false
  1200. }
  1201. // 好友邀请确认
  1202. type FriendInviteConfirm struct {
  1203. state protoimpl.MessageState `protogen:"open.v1"`
  1204. // 邀请的玩家ID
  1205. PlayerID int64 `protobuf:"varint,1,opt,name=playerID,proto3" json:"playerID,omitempty"`
  1206. // 是否接受
  1207. IsAccept bool `protobuf:"varint,2,opt,name=isAccept,proto3" json:"isAccept,omitempty"`
  1208. // 是否一键全部拒绝
  1209. IsRejectAll bool `protobuf:"varint,3,opt,name=isRejectAll,proto3" json:"isRejectAll,omitempty"`
  1210. unknownFields protoimpl.UnknownFields
  1211. sizeCache protoimpl.SizeCache
  1212. }
  1213. func (x *FriendInviteConfirm) Reset() {
  1214. *x = FriendInviteConfirm{}
  1215. mi := &file_chat_proto_msgTypes[19]
  1216. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1217. ms.StoreMessageInfo(mi)
  1218. }
  1219. func (x *FriendInviteConfirm) String() string {
  1220. return protoimpl.X.MessageStringOf(x)
  1221. }
  1222. func (*FriendInviteConfirm) ProtoMessage() {}
  1223. func (x *FriendInviteConfirm) ProtoReflect() protoreflect.Message {
  1224. mi := &file_chat_proto_msgTypes[19]
  1225. if x != nil {
  1226. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1227. if ms.LoadMessageInfo() == nil {
  1228. ms.StoreMessageInfo(mi)
  1229. }
  1230. return ms
  1231. }
  1232. return mi.MessageOf(x)
  1233. }
  1234. // Deprecated: Use FriendInviteConfirm.ProtoReflect.Descriptor instead.
  1235. func (*FriendInviteConfirm) Descriptor() ([]byte, []int) {
  1236. return file_chat_proto_rawDescGZIP(), []int{19}
  1237. }
  1238. func (x *FriendInviteConfirm) GetPlayerID() int64 {
  1239. if x != nil {
  1240. return x.PlayerID
  1241. }
  1242. return 0
  1243. }
  1244. func (x *FriendInviteConfirm) GetIsAccept() bool {
  1245. if x != nil {
  1246. return x.IsAccept
  1247. }
  1248. return false
  1249. }
  1250. func (x *FriendInviteConfirm) GetIsRejectAll() bool {
  1251. if x != nil {
  1252. return x.IsRejectAll
  1253. }
  1254. return false
  1255. }
  1256. // 黑名单请求
  1257. type BlackSetting struct {
  1258. state protoimpl.MessageState `protogen:"open.v1"`
  1259. // 玩家ID
  1260. PlayerID int64 `protobuf:"varint,1,opt,name=playerID,proto3" json:"playerID,omitempty"`
  1261. // 是否拉黑 true拉黑 false 取消拉黑
  1262. IsBlack bool `protobuf:"varint,2,opt,name=isBlack,proto3" json:"isBlack,omitempty"`
  1263. unknownFields protoimpl.UnknownFields
  1264. sizeCache protoimpl.SizeCache
  1265. }
  1266. func (x *BlackSetting) Reset() {
  1267. *x = BlackSetting{}
  1268. mi := &file_chat_proto_msgTypes[20]
  1269. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1270. ms.StoreMessageInfo(mi)
  1271. }
  1272. func (x *BlackSetting) String() string {
  1273. return protoimpl.X.MessageStringOf(x)
  1274. }
  1275. func (*BlackSetting) ProtoMessage() {}
  1276. func (x *BlackSetting) ProtoReflect() protoreflect.Message {
  1277. mi := &file_chat_proto_msgTypes[20]
  1278. if x != nil {
  1279. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1280. if ms.LoadMessageInfo() == nil {
  1281. ms.StoreMessageInfo(mi)
  1282. }
  1283. return ms
  1284. }
  1285. return mi.MessageOf(x)
  1286. }
  1287. // Deprecated: Use BlackSetting.ProtoReflect.Descriptor instead.
  1288. func (*BlackSetting) Descriptor() ([]byte, []int) {
  1289. return file_chat_proto_rawDescGZIP(), []int{20}
  1290. }
  1291. func (x *BlackSetting) GetPlayerID() int64 {
  1292. if x != nil {
  1293. return x.PlayerID
  1294. }
  1295. return 0
  1296. }
  1297. func (x *BlackSetting) GetIsBlack() bool {
  1298. if x != nil {
  1299. return x.IsBlack
  1300. }
  1301. return false
  1302. }
  1303. // 好友关系
  1304. type FriendRelation struct {
  1305. state protoimpl.MessageState `protogen:"open.v1"`
  1306. // 好友信息
  1307. FriendPlayer *ChatPlayer `protobuf:"bytes,1,opt,name=friendPlayer,proto3" json:"friendPlayer,omitempty"`
  1308. // 建立时间(可排序)
  1309. CreateTime int64 `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"`
  1310. // 最近一条聊天内容
  1311. LastContent *ChatContent `protobuf:"bytes,3,opt,name=LastContent,proto3" json:"LastContent,omitempty"`
  1312. unknownFields protoimpl.UnknownFields
  1313. sizeCache protoimpl.SizeCache
  1314. }
  1315. func (x *FriendRelation) Reset() {
  1316. *x = FriendRelation{}
  1317. mi := &file_chat_proto_msgTypes[21]
  1318. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1319. ms.StoreMessageInfo(mi)
  1320. }
  1321. func (x *FriendRelation) String() string {
  1322. return protoimpl.X.MessageStringOf(x)
  1323. }
  1324. func (*FriendRelation) ProtoMessage() {}
  1325. func (x *FriendRelation) ProtoReflect() protoreflect.Message {
  1326. mi := &file_chat_proto_msgTypes[21]
  1327. if x != nil {
  1328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1329. if ms.LoadMessageInfo() == nil {
  1330. ms.StoreMessageInfo(mi)
  1331. }
  1332. return ms
  1333. }
  1334. return mi.MessageOf(x)
  1335. }
  1336. // Deprecated: Use FriendRelation.ProtoReflect.Descriptor instead.
  1337. func (*FriendRelation) Descriptor() ([]byte, []int) {
  1338. return file_chat_proto_rawDescGZIP(), []int{21}
  1339. }
  1340. func (x *FriendRelation) GetFriendPlayer() *ChatPlayer {
  1341. if x != nil {
  1342. return x.FriendPlayer
  1343. }
  1344. return nil
  1345. }
  1346. func (x *FriendRelation) GetCreateTime() int64 {
  1347. if x != nil {
  1348. return x.CreateTime
  1349. }
  1350. return 0
  1351. }
  1352. func (x *FriendRelation) GetLastContent() *ChatContent {
  1353. if x != nil {
  1354. return x.LastContent
  1355. }
  1356. return nil
  1357. }
  1358. // 好友申请
  1359. type FriendInvite struct {
  1360. state protoimpl.MessageState `protogen:"open.v1"`
  1361. // 玩家信息
  1362. InvitePlayer *ChatPlayer `protobuf:"bytes,1,opt,name=invitePlayer,proto3" json:"invitePlayer,omitempty"`
  1363. // 邀请时间(可排序)
  1364. InviteTime int64 `protobuf:"varint,2,opt,name=inviteTime,proto3" json:"inviteTime,omitempty"`
  1365. unknownFields protoimpl.UnknownFields
  1366. sizeCache protoimpl.SizeCache
  1367. }
  1368. func (x *FriendInvite) Reset() {
  1369. *x = FriendInvite{}
  1370. mi := &file_chat_proto_msgTypes[22]
  1371. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1372. ms.StoreMessageInfo(mi)
  1373. }
  1374. func (x *FriendInvite) String() string {
  1375. return protoimpl.X.MessageStringOf(x)
  1376. }
  1377. func (*FriendInvite) ProtoMessage() {}
  1378. func (x *FriendInvite) ProtoReflect() protoreflect.Message {
  1379. mi := &file_chat_proto_msgTypes[22]
  1380. if x != nil {
  1381. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1382. if ms.LoadMessageInfo() == nil {
  1383. ms.StoreMessageInfo(mi)
  1384. }
  1385. return ms
  1386. }
  1387. return mi.MessageOf(x)
  1388. }
  1389. // Deprecated: Use FriendInvite.ProtoReflect.Descriptor instead.
  1390. func (*FriendInvite) Descriptor() ([]byte, []int) {
  1391. return file_chat_proto_rawDescGZIP(), []int{22}
  1392. }
  1393. func (x *FriendInvite) GetInvitePlayer() *ChatPlayer {
  1394. if x != nil {
  1395. return x.InvitePlayer
  1396. }
  1397. return nil
  1398. }
  1399. func (x *FriendInvite) GetInviteTime() int64 {
  1400. if x != nil {
  1401. return x.InviteTime
  1402. }
  1403. return 0
  1404. }
  1405. // 最近私聊
  1406. type PrivateChat struct {
  1407. state protoimpl.MessageState `protogen:"open.v1"`
  1408. // 玩家信息
  1409. PrivatePlayer *ChatPlayer `protobuf:"bytes,1,opt,name=privatePlayer,proto3" json:"privatePlayer,omitempty"`
  1410. // 最近一条聊天内容
  1411. LastContent *ChatContent `protobuf:"bytes,2,opt,name=LastContent,proto3" json:"LastContent,omitempty"`
  1412. unknownFields protoimpl.UnknownFields
  1413. sizeCache protoimpl.SizeCache
  1414. }
  1415. func (x *PrivateChat) Reset() {
  1416. *x = PrivateChat{}
  1417. mi := &file_chat_proto_msgTypes[23]
  1418. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1419. ms.StoreMessageInfo(mi)
  1420. }
  1421. func (x *PrivateChat) String() string {
  1422. return protoimpl.X.MessageStringOf(x)
  1423. }
  1424. func (*PrivateChat) ProtoMessage() {}
  1425. func (x *PrivateChat) ProtoReflect() protoreflect.Message {
  1426. mi := &file_chat_proto_msgTypes[23]
  1427. if x != nil {
  1428. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1429. if ms.LoadMessageInfo() == nil {
  1430. ms.StoreMessageInfo(mi)
  1431. }
  1432. return ms
  1433. }
  1434. return mi.MessageOf(x)
  1435. }
  1436. // Deprecated: Use PrivateChat.ProtoReflect.Descriptor instead.
  1437. func (*PrivateChat) Descriptor() ([]byte, []int) {
  1438. return file_chat_proto_rawDescGZIP(), []int{23}
  1439. }
  1440. func (x *PrivateChat) GetPrivatePlayer() *ChatPlayer {
  1441. if x != nil {
  1442. return x.PrivatePlayer
  1443. }
  1444. return nil
  1445. }
  1446. func (x *PrivateChat) GetLastContent() *ChatContent {
  1447. if x != nil {
  1448. return x.LastContent
  1449. }
  1450. return nil
  1451. }
  1452. // 黑名单
  1453. type Black struct {
  1454. state protoimpl.MessageState `protogen:"open.v1"`
  1455. // 玩家信息
  1456. BlackPlayer *ChatPlayer `protobuf:"bytes,1,opt,name=blackPlayer,proto3" json:"blackPlayer,omitempty"`
  1457. // 建立时间(可排序)
  1458. CreateTime int64 `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"`
  1459. unknownFields protoimpl.UnknownFields
  1460. sizeCache protoimpl.SizeCache
  1461. }
  1462. func (x *Black) Reset() {
  1463. *x = Black{}
  1464. mi := &file_chat_proto_msgTypes[24]
  1465. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1466. ms.StoreMessageInfo(mi)
  1467. }
  1468. func (x *Black) String() string {
  1469. return protoimpl.X.MessageStringOf(x)
  1470. }
  1471. func (*Black) ProtoMessage() {}
  1472. func (x *Black) ProtoReflect() protoreflect.Message {
  1473. mi := &file_chat_proto_msgTypes[24]
  1474. if x != nil {
  1475. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1476. if ms.LoadMessageInfo() == nil {
  1477. ms.StoreMessageInfo(mi)
  1478. }
  1479. return ms
  1480. }
  1481. return mi.MessageOf(x)
  1482. }
  1483. // Deprecated: Use Black.ProtoReflect.Descriptor instead.
  1484. func (*Black) Descriptor() ([]byte, []int) {
  1485. return file_chat_proto_rawDescGZIP(), []int{24}
  1486. }
  1487. func (x *Black) GetBlackPlayer() *ChatPlayer {
  1488. if x != nil {
  1489. return x.BlackPlayer
  1490. }
  1491. return nil
  1492. }
  1493. func (x *Black) GetCreateTime() int64 {
  1494. if x != nil {
  1495. return x.CreateTime
  1496. }
  1497. return 0
  1498. }
  1499. // 举报玩家
  1500. type Complaint struct {
  1501. state protoimpl.MessageState `protogen:"open.v1"`
  1502. // 举报对象ID
  1503. TargetID int64 `protobuf:"varint,1,opt,name=targetID,proto3" json:"targetID,omitempty"`
  1504. // 举报类型 1.垃圾广告 2.举报外挂 3.不良发言,4.不法行为,5.不雅昵称,6.广告拉人,7.举报其他
  1505. ComplaintType int32 `protobuf:"varint,2,opt,name=complaintType,proto3" json:"complaintType,omitempty"`
  1506. // 举报内容
  1507. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
  1508. unknownFields protoimpl.UnknownFields
  1509. sizeCache protoimpl.SizeCache
  1510. }
  1511. func (x *Complaint) Reset() {
  1512. *x = Complaint{}
  1513. mi := &file_chat_proto_msgTypes[25]
  1514. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1515. ms.StoreMessageInfo(mi)
  1516. }
  1517. func (x *Complaint) String() string {
  1518. return protoimpl.X.MessageStringOf(x)
  1519. }
  1520. func (*Complaint) ProtoMessage() {}
  1521. func (x *Complaint) ProtoReflect() protoreflect.Message {
  1522. mi := &file_chat_proto_msgTypes[25]
  1523. if x != nil {
  1524. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1525. if ms.LoadMessageInfo() == nil {
  1526. ms.StoreMessageInfo(mi)
  1527. }
  1528. return ms
  1529. }
  1530. return mi.MessageOf(x)
  1531. }
  1532. // Deprecated: Use Complaint.ProtoReflect.Descriptor instead.
  1533. func (*Complaint) Descriptor() ([]byte, []int) {
  1534. return file_chat_proto_rawDescGZIP(), []int{25}
  1535. }
  1536. func (x *Complaint) GetTargetID() int64 {
  1537. if x != nil {
  1538. return x.TargetID
  1539. }
  1540. return 0
  1541. }
  1542. func (x *Complaint) GetComplaintType() int32 {
  1543. if x != nil {
  1544. return x.ComplaintType
  1545. }
  1546. return 0
  1547. }
  1548. func (x *Complaint) GetContent() string {
  1549. if x != nil {
  1550. return x.Content
  1551. }
  1552. return ""
  1553. }
  1554. var File_chat_proto protoreflect.FileDescriptor
  1555. const file_chat_proto_rawDesc = "" +
  1556. "\n" +
  1557. "\n" +
  1558. "chat.proto\x12\x02pb\x1a\x0fbase_type.proto\"\xc9\x03\n" +
  1559. "\bChatData\x120\n" +
  1560. "\fchatRoomList\x18\x01 \x03(\v2\f.pb.ChatRoomR\fchatRoomList\x129\n" +
  1561. "\x0fgroupInviteList\x18\x02 \x03(\v2\x0f.pb.GroupInviteR\x0fgroupInviteList\x122\n" +
  1562. "\n" +
  1563. "friendList\x18\x03 \x03(\v2\x12.pb.FriendRelationR\n" +
  1564. "friendList\x12<\n" +
  1565. "\x10friendInviteList\x18\x04 \x03(\v2\x10.pb.FriendInviteR\x10friendInviteList\x123\n" +
  1566. "\x0fblackPlayerList\x18\x05 \x03(\v2\t.pb.BlackR\x0fblackPlayerList\x12A\n" +
  1567. "\x13lastChatPrivateList\x18\x06 \x03(\v2\x0f.pb.PrivateChatR\x13lastChatPrivateList\x123\n" +
  1568. "\rsystemMsgList\x18\a \x03(\v2\r.pb.SystemMsgR\rsystemMsgList\x121\n" +
  1569. "\vchatSetting\x18\b \x01(\v2\x0f.pb.ChatSettingR\vchatSetting\"R\n" +
  1570. "\x0eChatRoomUpdate\x12(\n" +
  1571. "\bchatRoom\x18\x01 \x01(\v2\f.pb.ChatRoomR\bchatRoom\x12\x16\n" +
  1572. "\x06isExit\x18\x02 \x01(\bR\x06isExit\"\xd2\x01\n" +
  1573. "\bChatRoom\x12\x1a\n" +
  1574. "\bchatType\x18\x01 \x01(\x05R\bchatType\x12\x16\n" +
  1575. "\x06chatID\x18\x02 \x01(\x03R\x06chatID\x12\x12\n" +
  1576. "\x04name\x18\x03 \x01(\tR\x04name\x12$\n" +
  1577. "\rownerPlayerID\x18\x04 \x01(\x03R\rownerPlayerID\x12$\n" +
  1578. "\rfreeSendCount\x18\x05 \x01(\x05R\rfreeSendCount\x12\x16\n" +
  1579. "\x06isMute\x18\x06 \x01(\bR\x06isMute\x12\x1a\n" +
  1580. "\bjoinTime\x18\a \x01(\x03R\bjoinTime\"x\n" +
  1581. "\vChatMsgList\x12\x1a\n" +
  1582. "\bchatType\x18\x01 \x01(\x05R\bchatType\x12\x16\n" +
  1583. "\x06chatID\x18\x02 \x01(\x03R\x06chatID\x12\x14\n" +
  1584. "\x05isNew\x18\x03 \x01(\bR\x05isNew\x12\x1f\n" +
  1585. "\x04list\x18\x04 \x03(\v2\v.pb.ChatMsgR\x04list\"+\n" +
  1586. "\bChatMsgs\x12\x1f\n" +
  1587. "\x04list\x18\x01 \x03(\v2\v.pb.ChatMsgR\x04list\"\xb7\x01\n" +
  1588. "\aChatMsg\x12\x14\n" +
  1589. "\x05msgID\x18\x01 \x01(\x03R\x05msgID\x12&\n" +
  1590. "\x06sender\x18\x02 \x01(\v2\x0e.pb.ChatPlayerR\x06sender\x12\x1a\n" +
  1591. "\bsendTime\x18\x03 \x01(\x03R\bsendTime\x12\x12\n" +
  1592. "\x04type\x18\x04 \x01(\x05R\x04type\x12\x12\n" +
  1593. "\x04text\x18\x05 \x01(\tR\x04text\x12*\n" +
  1594. "\x06params\x18\x06 \x01(\v2\x12.pb.ParamsTemplateR\x06params\"\x93\x01\n" +
  1595. "\vChatContent\x12\x14\n" +
  1596. "\x05msgID\x18\x01 \x01(\x03R\x05msgID\x12\x1a\n" +
  1597. "\bsendTime\x18\x02 \x01(\x03R\bsendTime\x12\x12\n" +
  1598. "\x04type\x18\x03 \x01(\x05R\x04type\x12\x12\n" +
  1599. "\x04text\x18\x04 \x01(\tR\x04text\x12*\n" +
  1600. "\x06params\x18\x05 \x01(\v2\x12.pb.ParamsTemplateR\x06params\"K\n" +
  1601. "\tSystemMsg\x12\x12\n" +
  1602. "\x04time\x18\x01 \x01(\x03R\x04time\x12*\n" +
  1603. "\x06params\x18\x02 \x01(\v2\x12.pb.ParamsTemplateR\x06params\"4\n" +
  1604. "\x0eChatPlayerList\x12\"\n" +
  1605. "\x04list\x18\x01 \x03(\v2\x0e.pb.ChatPlayerR\x04list\"\xa8\x03\n" +
  1606. "\n" +
  1607. "ChatPlayer\x12\x1a\n" +
  1608. "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
  1609. "\n" +
  1610. "playerName\x18\x02 \x01(\tR\n" +
  1611. "playerName\x12\x1c\n" +
  1612. "\tlordLevel\x18\x03 \x01(\x05R\tlordLevel\x12\x16\n" +
  1613. "\x06iconID\x18\x04 \x01(\x05R\x06iconID\x12\x18\n" +
  1614. "\aframeID\x18\x05 \x01(\x05R\aframeID\x12\x1e\n" +
  1615. "\n" +
  1616. "gameNodeID\x18\x06 \x01(\tR\n" +
  1617. "gameNodeID\x12\x1a\n" +
  1618. "\bleagueID\x18\a \x01(\x03R\bleagueID\x12\x1e\n" +
  1619. "\n" +
  1620. "leagueName\x18\b \x01(\tR\n" +
  1621. "leagueName\x12\x1c\n" +
  1622. "\tleagueJob\x18\t \x01(\x05R\tleagueJob\x12\x1c\n" +
  1623. "\tmapNodeID\x18\n" +
  1624. " \x01(\tR\tmapNodeID\x12\x1a\n" +
  1625. "\bseasonID\x18\v \x01(\x05R\bseasonID\x12\x18\n" +
  1626. "\astateID\x18\f \x01(\x05R\astateID\x12\x1a\n" +
  1627. "\bprestige\x18\r \x01(\x05R\bprestige\x12$\n" +
  1628. "\rleagueAbbName\x18\x0e \x01(\tR\rleagueAbbName\"R\n" +
  1629. "\bChatSend\x12\x1a\n" +
  1630. "\bchatType\x18\x01 \x01(\x05R\bchatType\x12\x16\n" +
  1631. "\x06chatID\x18\x02 \x01(\x03R\x06chatID\x12\x12\n" +
  1632. "\x04text\x18\x03 \x01(\tR\x04text\"b\n" +
  1633. "\x0eChatMsgRequest\x12\x1a\n" +
  1634. "\bchatType\x18\x01 \x01(\x05R\bchatType\x12\x16\n" +
  1635. "\x06chatID\x18\x02 \x01(\x03R\x06chatID\x12\x1c\n" +
  1636. "\tlastMsgID\x18\x03 \x01(\x03R\tlastMsgID\"E\n" +
  1637. "\vGroupCreate\x12\x12\n" +
  1638. "\x04name\x18\x01 \x01(\tR\x04name\x12\"\n" +
  1639. "\fplayerIDList\x18\x02 \x03(\x03R\fplayerIDList\"O\n" +
  1640. "\x11GroupPlayerChange\x12\x16\n" +
  1641. "\x06chatID\x18\x01 \x01(\x03R\x06chatID\x12\"\n" +
  1642. "\fplayerIDList\x18\x02 \x03(\x03R\fplayerIDList\"j\n" +
  1643. "\x12GroupInviteConfirm\x12\x16\n" +
  1644. "\x06chatID\x18\x01 \x01(\x03R\x06chatID\x12\x1a\n" +
  1645. "\bisAccept\x18\x02 \x01(\bR\bisAccept\x12 \n" +
  1646. "\visRejectAll\x18\x03 \x01(\bR\visRejectAll\"\x8d\x01\n" +
  1647. "\vGroupInvite\x12\x16\n" +
  1648. "\x06chatID\x18\x01 \x01(\x03R\x06chatID\x12\x12\n" +
  1649. "\x04name\x18\x02 \x01(\tR\x04name\x122\n" +
  1650. "\finvitePlayer\x18\x03 \x01(\v2\x0e.pb.ChatPlayerR\finvitePlayer\x12\x1e\n" +
  1651. "\n" +
  1652. "inviteTime\x18\x04 \x01(\x03R\n" +
  1653. "inviteTime\";\n" +
  1654. "\tGroupMute\x12\x16\n" +
  1655. "\x06chatID\x18\x02 \x01(\x03R\x06chatID\x12\x16\n" +
  1656. "\x06isMute\x18\x03 \x01(\bR\x06isMute\"A\n" +
  1657. "\x0fChatPrivateSend\x12\x1a\n" +
  1658. "\btargetID\x18\x01 \x01(\x03R\btargetID\x12\x12\n" +
  1659. "\x04text\x18\x02 \x01(\tR\x04text\"\x99\x01\n" +
  1660. "\vChatSetting\x12.\n" +
  1661. "\x12isFriendInviteMute\x18\x01 \x01(\bR\x12isFriendInviteMute\x12,\n" +
  1662. "\x11isGroupInviteMute\x18\x02 \x01(\bR\x11isGroupInviteMute\x12,\n" +
  1663. "\x11isPrivateChatMute\x18\x03 \x01(\bR\x11isPrivateChatMute\"o\n" +
  1664. "\x13FriendInviteConfirm\x12\x1a\n" +
  1665. "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1a\n" +
  1666. "\bisAccept\x18\x02 \x01(\bR\bisAccept\x12 \n" +
  1667. "\visRejectAll\x18\x03 \x01(\bR\visRejectAll\"D\n" +
  1668. "\fBlackSetting\x12\x1a\n" +
  1669. "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x18\n" +
  1670. "\aisBlack\x18\x02 \x01(\bR\aisBlack\"\x97\x01\n" +
  1671. "\x0eFriendRelation\x122\n" +
  1672. "\ffriendPlayer\x18\x01 \x01(\v2\x0e.pb.ChatPlayerR\ffriendPlayer\x12\x1e\n" +
  1673. "\n" +
  1674. "createTime\x18\x02 \x01(\x03R\n" +
  1675. "createTime\x121\n" +
  1676. "\vLastContent\x18\x03 \x01(\v2\x0f.pb.ChatContentR\vLastContent\"b\n" +
  1677. "\fFriendInvite\x122\n" +
  1678. "\finvitePlayer\x18\x01 \x01(\v2\x0e.pb.ChatPlayerR\finvitePlayer\x12\x1e\n" +
  1679. "\n" +
  1680. "inviteTime\x18\x02 \x01(\x03R\n" +
  1681. "inviteTime\"v\n" +
  1682. "\vPrivateChat\x124\n" +
  1683. "\rprivatePlayer\x18\x01 \x01(\v2\x0e.pb.ChatPlayerR\rprivatePlayer\x121\n" +
  1684. "\vLastContent\x18\x02 \x01(\v2\x0f.pb.ChatContentR\vLastContent\"Y\n" +
  1685. "\x05Black\x120\n" +
  1686. "\vblackPlayer\x18\x01 \x01(\v2\x0e.pb.ChatPlayerR\vblackPlayer\x12\x1e\n" +
  1687. "\n" +
  1688. "createTime\x18\x02 \x01(\x03R\n" +
  1689. "createTime\"g\n" +
  1690. "\tComplaint\x12\x1a\n" +
  1691. "\btargetID\x18\x01 \x01(\x03R\btargetID\x12$\n" +
  1692. "\rcomplaintType\x18\x02 \x01(\x05R\rcomplaintType\x12\x18\n" +
  1693. "\acontent\x18\x03 \x01(\tR\acontentB\x05Z\x03/pbb\x06proto3"
  1694. var (
  1695. file_chat_proto_rawDescOnce sync.Once
  1696. file_chat_proto_rawDescData []byte
  1697. )
  1698. func file_chat_proto_rawDescGZIP() []byte {
  1699. file_chat_proto_rawDescOnce.Do(func() {
  1700. file_chat_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_chat_proto_rawDesc), len(file_chat_proto_rawDesc)))
  1701. })
  1702. return file_chat_proto_rawDescData
  1703. }
  1704. var file_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
  1705. var file_chat_proto_goTypes = []any{
  1706. (*ChatData)(nil), // 0: pb.ChatData
  1707. (*ChatRoomUpdate)(nil), // 1: pb.ChatRoomUpdate
  1708. (*ChatRoom)(nil), // 2: pb.ChatRoom
  1709. (*ChatMsgList)(nil), // 3: pb.ChatMsgList
  1710. (*ChatMsgs)(nil), // 4: pb.ChatMsgs
  1711. (*ChatMsg)(nil), // 5: pb.ChatMsg
  1712. (*ChatContent)(nil), // 6: pb.ChatContent
  1713. (*SystemMsg)(nil), // 7: pb.SystemMsg
  1714. (*ChatPlayerList)(nil), // 8: pb.ChatPlayerList
  1715. (*ChatPlayer)(nil), // 9: pb.ChatPlayer
  1716. (*ChatSend)(nil), // 10: pb.ChatSend
  1717. (*ChatMsgRequest)(nil), // 11: pb.ChatMsgRequest
  1718. (*GroupCreate)(nil), // 12: pb.GroupCreate
  1719. (*GroupPlayerChange)(nil), // 13: pb.GroupPlayerChange
  1720. (*GroupInviteConfirm)(nil), // 14: pb.GroupInviteConfirm
  1721. (*GroupInvite)(nil), // 15: pb.GroupInvite
  1722. (*GroupMute)(nil), // 16: pb.GroupMute
  1723. (*ChatPrivateSend)(nil), // 17: pb.ChatPrivateSend
  1724. (*ChatSetting)(nil), // 18: pb.ChatSetting
  1725. (*FriendInviteConfirm)(nil), // 19: pb.FriendInviteConfirm
  1726. (*BlackSetting)(nil), // 20: pb.BlackSetting
  1727. (*FriendRelation)(nil), // 21: pb.FriendRelation
  1728. (*FriendInvite)(nil), // 22: pb.FriendInvite
  1729. (*PrivateChat)(nil), // 23: pb.PrivateChat
  1730. (*Black)(nil), // 24: pb.Black
  1731. (*Complaint)(nil), // 25: pb.Complaint
  1732. (*ParamsTemplate)(nil), // 26: pb.ParamsTemplate
  1733. }
  1734. var file_chat_proto_depIdxs = []int32{
  1735. 2, // 0: pb.ChatData.chatRoomList:type_name -> pb.ChatRoom
  1736. 15, // 1: pb.ChatData.groupInviteList:type_name -> pb.GroupInvite
  1737. 21, // 2: pb.ChatData.friendList:type_name -> pb.FriendRelation
  1738. 22, // 3: pb.ChatData.friendInviteList:type_name -> pb.FriendInvite
  1739. 24, // 4: pb.ChatData.blackPlayerList:type_name -> pb.Black
  1740. 23, // 5: pb.ChatData.lastChatPrivateList:type_name -> pb.PrivateChat
  1741. 7, // 6: pb.ChatData.systemMsgList:type_name -> pb.SystemMsg
  1742. 18, // 7: pb.ChatData.chatSetting:type_name -> pb.ChatSetting
  1743. 2, // 8: pb.ChatRoomUpdate.chatRoom:type_name -> pb.ChatRoom
  1744. 5, // 9: pb.ChatMsgList.list:type_name -> pb.ChatMsg
  1745. 5, // 10: pb.ChatMsgs.list:type_name -> pb.ChatMsg
  1746. 9, // 11: pb.ChatMsg.sender:type_name -> pb.ChatPlayer
  1747. 26, // 12: pb.ChatMsg.params:type_name -> pb.ParamsTemplate
  1748. 26, // 13: pb.ChatContent.params:type_name -> pb.ParamsTemplate
  1749. 26, // 14: pb.SystemMsg.params:type_name -> pb.ParamsTemplate
  1750. 9, // 15: pb.ChatPlayerList.list:type_name -> pb.ChatPlayer
  1751. 9, // 16: pb.GroupInvite.invitePlayer:type_name -> pb.ChatPlayer
  1752. 9, // 17: pb.FriendRelation.friendPlayer:type_name -> pb.ChatPlayer
  1753. 6, // 18: pb.FriendRelation.LastContent:type_name -> pb.ChatContent
  1754. 9, // 19: pb.FriendInvite.invitePlayer:type_name -> pb.ChatPlayer
  1755. 9, // 20: pb.PrivateChat.privatePlayer:type_name -> pb.ChatPlayer
  1756. 6, // 21: pb.PrivateChat.LastContent:type_name -> pb.ChatContent
  1757. 9, // 22: pb.Black.blackPlayer:type_name -> pb.ChatPlayer
  1758. 23, // [23:23] is the sub-list for method output_type
  1759. 23, // [23:23] is the sub-list for method input_type
  1760. 23, // [23:23] is the sub-list for extension type_name
  1761. 23, // [23:23] is the sub-list for extension extendee
  1762. 0, // [0:23] is the sub-list for field type_name
  1763. }
  1764. func init() { file_chat_proto_init() }
  1765. func file_chat_proto_init() {
  1766. if File_chat_proto != nil {
  1767. return
  1768. }
  1769. file_base_type_proto_init()
  1770. type x struct{}
  1771. out := protoimpl.TypeBuilder{
  1772. File: protoimpl.DescBuilder{
  1773. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1774. RawDescriptor: unsafe.Slice(unsafe.StringData(file_chat_proto_rawDesc), len(file_chat_proto_rawDesc)),
  1775. NumEnums: 0,
  1776. NumMessages: 26,
  1777. NumExtensions: 0,
  1778. NumServices: 0,
  1779. },
  1780. GoTypes: file_chat_proto_goTypes,
  1781. DependencyIndexes: file_chat_proto_depIdxs,
  1782. MessageInfos: file_chat_proto_msgTypes,
  1783. }.Build()
  1784. File_chat_proto = out.File
  1785. file_chat_proto_goTypes = nil
  1786. file_chat_proto_depIdxs = nil
  1787. }