| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044 |
- // message结构的属性名请使用 驼峰小写字母开始
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.8
- // protoc v6.31.1
- // source: chat.proto
- package pb
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- // 聊天数据
- type ChatData struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 玩家关联的所有聊天室列表
- ChatRoomList []*ChatRoom `protobuf:"bytes,1,rep,name=chatRoomList,proto3" json:"chatRoomList,omitempty"`
- // 群组邀请列表
- GroupInviteList []*GroupInvite `protobuf:"bytes,2,rep,name=groupInviteList,proto3" json:"groupInviteList,omitempty"`
- // 好友列表
- FriendList []*FriendRelation `protobuf:"bytes,3,rep,name=friendList,proto3" json:"friendList,omitempty"`
- // 好友申请列表
- FriendInviteList []*FriendInvite `protobuf:"bytes,4,rep,name=friendInviteList,proto3" json:"friendInviteList,omitempty"`
- // 好友黑名单列表
- BlackPlayerList []*Black `protobuf:"bytes,5,rep,name=blackPlayerList,proto3" json:"blackPlayerList,omitempty"`
- // 最近私聊(玩家)列表
- LastChatPrivateList []*PrivateChat `protobuf:"bytes,6,rep,name=lastChatPrivateList,proto3" json:"lastChatPrivateList,omitempty"`
- // 系统频道消息记录
- SystemMsgList []*SystemMsg `protobuf:"bytes,7,rep,name=systemMsgList,proto3" json:"systemMsgList,omitempty"`
- // 聊天设置
- ChatSetting *ChatSetting `protobuf:"bytes,8,opt,name=chatSetting,proto3" json:"chatSetting,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatData) Reset() {
- *x = ChatData{}
- mi := &file_chat_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatData) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatData) ProtoMessage() {}
- func (x *ChatData) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatData.ProtoReflect.Descriptor instead.
- func (*ChatData) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{0}
- }
- func (x *ChatData) GetChatRoomList() []*ChatRoom {
- if x != nil {
- return x.ChatRoomList
- }
- return nil
- }
- func (x *ChatData) GetGroupInviteList() []*GroupInvite {
- if x != nil {
- return x.GroupInviteList
- }
- return nil
- }
- func (x *ChatData) GetFriendList() []*FriendRelation {
- if x != nil {
- return x.FriendList
- }
- return nil
- }
- func (x *ChatData) GetFriendInviteList() []*FriendInvite {
- if x != nil {
- return x.FriendInviteList
- }
- return nil
- }
- func (x *ChatData) GetBlackPlayerList() []*Black {
- if x != nil {
- return x.BlackPlayerList
- }
- return nil
- }
- func (x *ChatData) GetLastChatPrivateList() []*PrivateChat {
- if x != nil {
- return x.LastChatPrivateList
- }
- return nil
- }
- func (x *ChatData) GetSystemMsgList() []*SystemMsg {
- if x != nil {
- return x.SystemMsgList
- }
- return nil
- }
- func (x *ChatData) GetChatSetting() *ChatSetting {
- if x != nil {
- return x.ChatSetting
- }
- return nil
- }
- // 聊天室信息更新
- type ChatRoomUpdate struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 聊天室信息
- ChatRoom *ChatRoom `protobuf:"bytes,1,opt,name=chatRoom,proto3" json:"chatRoom,omitempty"`
- // 是否是删除 true:退出聊天室 false:加入聊天室
- IsExit bool `protobuf:"varint,2,opt,name=isExit,proto3" json:"isExit,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatRoomUpdate) Reset() {
- *x = ChatRoomUpdate{}
- mi := &file_chat_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatRoomUpdate) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatRoomUpdate) ProtoMessage() {}
- func (x *ChatRoomUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatRoomUpdate.ProtoReflect.Descriptor instead.
- func (*ChatRoomUpdate) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{1}
- }
- func (x *ChatRoomUpdate) GetChatRoom() *ChatRoom {
- if x != nil {
- return x.ChatRoom
- }
- return nil
- }
- func (x *ChatRoomUpdate) GetIsExit() bool {
- if x != nil {
- return x.IsExit
- }
- return false
- }
- // 聊天室信息
- type ChatRoom struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 聊天室类型
- ChatType int32 `protobuf:"varint,1,opt,name=chatType,proto3" json:"chatType,omitempty"`
- // 聊天室ID
- ChatID int64 `protobuf:"varint,2,opt,name=chatID,proto3" json:"chatID,omitempty"`
- // 聊天室名称
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- // 拥有者玩家ID
- OwnerPlayerID int64 `protobuf:"varint,4,opt,name=ownerPlayerID,proto3" json:"ownerPlayerID,omitempty"`
- // 免费发言剩余次数(根据配置生效)
- FreeSendCount int32 `protobuf:"varint,5,opt,name=freeSendCount,proto3" json:"freeSendCount,omitempty"`
- // 是否接收消息
- IsMute bool `protobuf:"varint,6,opt,name=isMute,proto3" json:"isMute,omitempty"`
- // 加入时间(可排序)
- JoinTime int64 `protobuf:"varint,7,opt,name=joinTime,proto3" json:"joinTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatRoom) Reset() {
- *x = ChatRoom{}
- mi := &file_chat_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatRoom) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatRoom) ProtoMessage() {}
- func (x *ChatRoom) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatRoom.ProtoReflect.Descriptor instead.
- func (*ChatRoom) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{2}
- }
- func (x *ChatRoom) GetChatType() int32 {
- if x != nil {
- return x.ChatType
- }
- return 0
- }
- func (x *ChatRoom) GetChatID() int64 {
- if x != nil {
- return x.ChatID
- }
- return 0
- }
- func (x *ChatRoom) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *ChatRoom) GetOwnerPlayerID() int64 {
- if x != nil {
- return x.OwnerPlayerID
- }
- return 0
- }
- func (x *ChatRoom) GetFreeSendCount() int32 {
- if x != nil {
- return x.FreeSendCount
- }
- return 0
- }
- func (x *ChatRoom) GetIsMute() bool {
- if x != nil {
- return x.IsMute
- }
- return false
- }
- func (x *ChatRoom) GetJoinTime() int64 {
- if x != nil {
- return x.JoinTime
- }
- return 0
- }
- // 聊天室类型的消息列表
- type ChatMsgList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 聊天室类型
- ChatType int32 `protobuf:"varint,1,opt,name=chatType,proto3" json:"chatType,omitempty"`
- // 聊天室ID
- ChatID int64 `protobuf:"varint,2,opt,name=chatID,proto3" json:"chatID,omitempty"`
- // 是否为新消息
- IsNew bool `protobuf:"varint,3,opt,name=isNew,proto3" json:"isNew,omitempty"`
- // 消息列表
- List []*ChatMsg `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatMsgList) Reset() {
- *x = ChatMsgList{}
- mi := &file_chat_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatMsgList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatMsgList) ProtoMessage() {}
- func (x *ChatMsgList) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatMsgList.ProtoReflect.Descriptor instead.
- func (*ChatMsgList) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{3}
- }
- func (x *ChatMsgList) GetChatType() int32 {
- if x != nil {
- return x.ChatType
- }
- return 0
- }
- func (x *ChatMsgList) GetChatID() int64 {
- if x != nil {
- return x.ChatID
- }
- return 0
- }
- func (x *ChatMsgList) GetIsNew() bool {
- if x != nil {
- return x.IsNew
- }
- return false
- }
- func (x *ChatMsgList) GetList() []*ChatMsg {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 多条聊天消息列表
- type ChatMsgs struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*ChatMsg `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatMsgs) Reset() {
- *x = ChatMsgs{}
- mi := &file_chat_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatMsgs) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatMsgs) ProtoMessage() {}
- func (x *ChatMsgs) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatMsgs.ProtoReflect.Descriptor instead.
- func (*ChatMsgs) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{4}
- }
- func (x *ChatMsgs) GetList() []*ChatMsg {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 聊天消息
- type ChatMsg struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 消息唯一id
- MsgID int64 `protobuf:"varint,1,opt,name=msgID,proto3" json:"msgID,omitempty"`
- // 发送者
- Sender *ChatPlayer `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
- // 发送时间
- SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime,omitempty"`
- // 消息类型 0.纯文本 其他参考:L-聊天-消息模板表 消息类型的定义
- Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
- // 文本内容
- Text string `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"`
- // 消息类型和参数(根据消息类型拼接内容)
- Params *ParamsTemplate `protobuf:"bytes,6,opt,name=params,proto3" json:"params,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatMsg) Reset() {
- *x = ChatMsg{}
- mi := &file_chat_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatMsg) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatMsg) ProtoMessage() {}
- func (x *ChatMsg) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatMsg.ProtoReflect.Descriptor instead.
- func (*ChatMsg) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{5}
- }
- func (x *ChatMsg) GetMsgID() int64 {
- if x != nil {
- return x.MsgID
- }
- return 0
- }
- func (x *ChatMsg) GetSender() *ChatPlayer {
- if x != nil {
- return x.Sender
- }
- return nil
- }
- func (x *ChatMsg) GetSendTime() int64 {
- if x != nil {
- return x.SendTime
- }
- return 0
- }
- func (x *ChatMsg) GetType() int32 {
- if x != nil {
- return x.Type
- }
- return 0
- }
- func (x *ChatMsg) GetText() string {
- if x != nil {
- return x.Text
- }
- return ""
- }
- func (x *ChatMsg) GetParams() *ParamsTemplate {
- if x != nil {
- return x.Params
- }
- return nil
- }
- // 消息内容
- type ChatContent struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 消息唯一id
- MsgID int64 `protobuf:"varint,1,opt,name=msgID,proto3" json:"msgID,omitempty"`
- // 发送时间(可排序)
- SendTime int64 `protobuf:"varint,2,opt,name=sendTime,proto3" json:"sendTime,omitempty"`
- // 消息类型 0.纯文本 其他参考:L-聊天-消息模板表 消息类型的定义
- Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
- // 文本内容
- Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
- // 消息类型和参数(根据消息类型拼接内容)
- Params *ParamsTemplate `protobuf:"bytes,5,opt,name=params,proto3" json:"params,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatContent) Reset() {
- *x = ChatContent{}
- mi := &file_chat_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatContent) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatContent) ProtoMessage() {}
- func (x *ChatContent) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[6]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatContent.ProtoReflect.Descriptor instead.
- func (*ChatContent) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{6}
- }
- func (x *ChatContent) GetMsgID() int64 {
- if x != nil {
- return x.MsgID
- }
- return 0
- }
- func (x *ChatContent) GetSendTime() int64 {
- if x != nil {
- return x.SendTime
- }
- return 0
- }
- func (x *ChatContent) GetType() int32 {
- if x != nil {
- return x.Type
- }
- return 0
- }
- func (x *ChatContent) GetText() string {
- if x != nil {
- return x.Text
- }
- return ""
- }
- func (x *ChatContent) GetParams() *ParamsTemplate {
- if x != nil {
- return x.Params
- }
- return nil
- }
- // 系统频道消息
- type SystemMsg struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 时间
- Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
- // 消息类型和参数(根据消息类型拼接内容)
- Params *ParamsTemplate `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SystemMsg) Reset() {
- *x = SystemMsg{}
- mi := &file_chat_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SystemMsg) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SystemMsg) ProtoMessage() {}
- func (x *SystemMsg) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[7]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SystemMsg.ProtoReflect.Descriptor instead.
- func (*SystemMsg) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{7}
- }
- func (x *SystemMsg) GetTime() int64 {
- if x != nil {
- return x.Time
- }
- return 0
- }
- func (x *SystemMsg) GetParams() *ParamsTemplate {
- if x != nil {
- return x.Params
- }
- return nil
- }
- // 聊天室玩家列表
- type ChatPlayerList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 玩家列表
- List []*ChatPlayer `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatPlayerList) Reset() {
- *x = ChatPlayerList{}
- mi := &file_chat_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatPlayerList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatPlayerList) ProtoMessage() {}
- func (x *ChatPlayerList) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[8]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatPlayerList.ProtoReflect.Descriptor instead.
- func (*ChatPlayerList) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{8}
- }
- func (x *ChatPlayerList) GetList() []*ChatPlayer {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 聊天室玩家信息
- type ChatPlayer struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 玩家id
- PlayerID int64 `protobuf:"varint,1,opt,name=playerID,proto3" json:"playerID,omitempty"`
- // 玩家名称
- PlayerName string `protobuf:"bytes,2,opt,name=playerName,proto3" json:"playerName,omitempty"`
- // 玩家领主等级
- LordLevel int32 `protobuf:"varint,3,opt,name=lordLevel,proto3" json:"lordLevel,omitempty"`
- // 头像
- IconID int32 `protobuf:"varint,4,opt,name=iconID,proto3" json:"iconID,omitempty"`
- // 头像框
- FrameID int32 `protobuf:"varint,5,opt,name=frameID,proto3" json:"frameID,omitempty"`
- // 游戏节点id
- GameNodeID string `protobuf:"bytes,6,opt,name=gameNodeID,proto3" json:"gameNodeID,omitempty"`
- // 联盟id
- LeagueID int64 `protobuf:"varint,7,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
- // 联盟名称
- LeagueName string `protobuf:"bytes,8,opt,name=leagueName,proto3" json:"leagueName,omitempty"`
- // 联盟职位
- LeagueJob int32 `protobuf:"varint,9,opt,name=leagueJob,proto3" json:"leagueJob,omitempty"`
- // 地图id
- MapNodeID string `protobuf:"bytes,10,opt,name=mapNodeID,proto3" json:"mapNodeID,omitempty"`
- // 赛季id
- SeasonID int32 `protobuf:"varint,11,opt,name=seasonID,proto3" json:"seasonID,omitempty"`
- // 所属州
- StateID int32 `protobuf:"varint,12,opt,name=stateID,proto3" json:"stateID,omitempty"`
- // 声望
- Prestige int32 `protobuf:"varint,13,opt,name=prestige,proto3" json:"prestige,omitempty"`
- // 联盟简称
- LeagueAbbName string `protobuf:"bytes,14,opt,name=leagueAbbName,proto3" json:"leagueAbbName,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatPlayer) Reset() {
- *x = ChatPlayer{}
- mi := &file_chat_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatPlayer) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatPlayer) ProtoMessage() {}
- func (x *ChatPlayer) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[9]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatPlayer.ProtoReflect.Descriptor instead.
- func (*ChatPlayer) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{9}
- }
- func (x *ChatPlayer) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *ChatPlayer) GetPlayerName() string {
- if x != nil {
- return x.PlayerName
- }
- return ""
- }
- func (x *ChatPlayer) GetLordLevel() int32 {
- if x != nil {
- return x.LordLevel
- }
- return 0
- }
- func (x *ChatPlayer) GetIconID() int32 {
- if x != nil {
- return x.IconID
- }
- return 0
- }
- func (x *ChatPlayer) GetFrameID() int32 {
- if x != nil {
- return x.FrameID
- }
- return 0
- }
- func (x *ChatPlayer) GetGameNodeID() string {
- if x != nil {
- return x.GameNodeID
- }
- return ""
- }
- func (x *ChatPlayer) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *ChatPlayer) GetLeagueName() string {
- if x != nil {
- return x.LeagueName
- }
- return ""
- }
- func (x *ChatPlayer) GetLeagueJob() int32 {
- if x != nil {
- return x.LeagueJob
- }
- return 0
- }
- func (x *ChatPlayer) GetMapNodeID() string {
- if x != nil {
- return x.MapNodeID
- }
- return ""
- }
- func (x *ChatPlayer) GetSeasonID() int32 {
- if x != nil {
- return x.SeasonID
- }
- return 0
- }
- func (x *ChatPlayer) GetStateID() int32 {
- if x != nil {
- return x.StateID
- }
- return 0
- }
- func (x *ChatPlayer) GetPrestige() int32 {
- if x != nil {
- return x.Prestige
- }
- return 0
- }
- func (x *ChatPlayer) GetLeagueAbbName() string {
- if x != nil {
- return x.LeagueAbbName
- }
- return ""
- }
- // 发送聊天消息请求
- type ChatSend struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 类型 1.世界 2.联盟 3.地图 4.群组
- ChatType int32 `protobuf:"varint,1,opt,name=chatType,proto3" json:"chatType,omitempty"`
- // 聊天室ID
- ChatID int64 `protobuf:"varint,2,opt,name=chatID,proto3" json:"chatID,omitempty"`
- // 内容
- Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatSend) Reset() {
- *x = ChatSend{}
- mi := &file_chat_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatSend) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatSend) ProtoMessage() {}
- func (x *ChatSend) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[10]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatSend.ProtoReflect.Descriptor instead.
- func (*ChatSend) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{10}
- }
- func (x *ChatSend) GetChatType() int32 {
- if x != nil {
- return x.ChatType
- }
- return 0
- }
- func (x *ChatSend) GetChatID() int64 {
- if x != nil {
- return x.ChatID
- }
- return 0
- }
- func (x *ChatSend) GetText() string {
- if x != nil {
- return x.Text
- }
- return ""
- }
- // 拉取聊天消息记录请求
- type ChatMsgRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 聊天室类型
- ChatType int32 `protobuf:"varint,1,opt,name=chatType,proto3" json:"chatType,omitempty"`
- // 聊天室ID
- ChatID int64 `protobuf:"varint,2,opt,name=chatID,proto3" json:"chatID,omitempty"`
- // 传0获取最新的20条,传最后一个MsgID获取更早的20条
- LastMsgID int64 `protobuf:"varint,3,opt,name=lastMsgID,proto3" json:"lastMsgID,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatMsgRequest) Reset() {
- *x = ChatMsgRequest{}
- mi := &file_chat_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatMsgRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatMsgRequest) ProtoMessage() {}
- func (x *ChatMsgRequest) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[11]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatMsgRequest.ProtoReflect.Descriptor instead.
- func (*ChatMsgRequest) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{11}
- }
- func (x *ChatMsgRequest) GetChatType() int32 {
- if x != nil {
- return x.ChatType
- }
- return 0
- }
- func (x *ChatMsgRequest) GetChatID() int64 {
- if x != nil {
- return x.ChatID
- }
- return 0
- }
- func (x *ChatMsgRequest) GetLastMsgID() int64 {
- if x != nil {
- return x.LastMsgID
- }
- return 0
- }
- // 创建群组聊天室
- type GroupCreate struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 群组聊天室名称
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // 邀请的玩家ID列表
- PlayerIDList []int64 `protobuf:"varint,2,rep,packed,name=playerIDList,proto3" json:"playerIDList,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GroupCreate) Reset() {
- *x = GroupCreate{}
- mi := &file_chat_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GroupCreate) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GroupCreate) ProtoMessage() {}
- func (x *GroupCreate) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[12]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GroupCreate.ProtoReflect.Descriptor instead.
- func (*GroupCreate) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{12}
- }
- func (x *GroupCreate) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *GroupCreate) GetPlayerIDList() []int64 {
- if x != nil {
- return x.PlayerIDList
- }
- return nil
- }
- // 群组玩家更改
- type GroupPlayerChange struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 群组聊天室ID
- ChatID int64 `protobuf:"varint,1,opt,name=chatID,proto3" json:"chatID,omitempty"`
- // 最新的玩家ID列表(服务端自动处理新增加的和被踢除的)
- PlayerIDList []int64 `protobuf:"varint,2,rep,packed,name=playerIDList,proto3" json:"playerIDList,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GroupPlayerChange) Reset() {
- *x = GroupPlayerChange{}
- mi := &file_chat_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GroupPlayerChange) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GroupPlayerChange) ProtoMessage() {}
- func (x *GroupPlayerChange) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[13]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GroupPlayerChange.ProtoReflect.Descriptor instead.
- func (*GroupPlayerChange) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{13}
- }
- func (x *GroupPlayerChange) GetChatID() int64 {
- if x != nil {
- return x.ChatID
- }
- return 0
- }
- func (x *GroupPlayerChange) GetPlayerIDList() []int64 {
- if x != nil {
- return x.PlayerIDList
- }
- return nil
- }
- // 群组邀请确认
- type GroupInviteConfirm struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 群组聊天室ID
- ChatID int64 `protobuf:"varint,1,opt,name=chatID,proto3" json:"chatID,omitempty"`
- // 是否接受
- IsAccept bool `protobuf:"varint,2,opt,name=isAccept,proto3" json:"isAccept,omitempty"`
- // 是否一键全部拒绝
- IsRejectAll bool `protobuf:"varint,3,opt,name=isRejectAll,proto3" json:"isRejectAll,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GroupInviteConfirm) Reset() {
- *x = GroupInviteConfirm{}
- mi := &file_chat_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GroupInviteConfirm) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GroupInviteConfirm) ProtoMessage() {}
- func (x *GroupInviteConfirm) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[14]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GroupInviteConfirm.ProtoReflect.Descriptor instead.
- func (*GroupInviteConfirm) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{14}
- }
- func (x *GroupInviteConfirm) GetChatID() int64 {
- if x != nil {
- return x.ChatID
- }
- return 0
- }
- func (x *GroupInviteConfirm) GetIsAccept() bool {
- if x != nil {
- return x.IsAccept
- }
- return false
- }
- func (x *GroupInviteConfirm) GetIsRejectAll() bool {
- if x != nil {
- return x.IsRejectAll
- }
- return false
- }
- // 群组聊天室邀请信息
- type GroupInvite struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 群组聊天室ID
- ChatID int64 `protobuf:"varint,1,opt,name=chatID,proto3" json:"chatID,omitempty"`
- // 群组聊天室名称
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- // 邀请人信息
- InvitePlayer *ChatPlayer `protobuf:"bytes,3,opt,name=invitePlayer,proto3" json:"invitePlayer,omitempty"`
- // 邀请时间(可排序)
- InviteTime int64 `protobuf:"varint,4,opt,name=inviteTime,proto3" json:"inviteTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GroupInvite) Reset() {
- *x = GroupInvite{}
- mi := &file_chat_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GroupInvite) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GroupInvite) ProtoMessage() {}
- func (x *GroupInvite) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[15]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GroupInvite.ProtoReflect.Descriptor instead.
- func (*GroupInvite) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{15}
- }
- func (x *GroupInvite) GetChatID() int64 {
- if x != nil {
- return x.ChatID
- }
- return 0
- }
- func (x *GroupInvite) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *GroupInvite) GetInvitePlayer() *ChatPlayer {
- if x != nil {
- return x.InvitePlayer
- }
- return nil
- }
- func (x *GroupInvite) GetInviteTime() int64 {
- if x != nil {
- return x.InviteTime
- }
- return 0
- }
- // 群组免打扰设置
- type GroupMute struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 聊天室ID
- ChatID int64 `protobuf:"varint,2,opt,name=chatID,proto3" json:"chatID,omitempty"`
- // 是否免打扰
- IsMute bool `protobuf:"varint,3,opt,name=isMute,proto3" json:"isMute,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GroupMute) Reset() {
- *x = GroupMute{}
- mi := &file_chat_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GroupMute) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GroupMute) ProtoMessage() {}
- func (x *GroupMute) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[16]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GroupMute.ProtoReflect.Descriptor instead.
- func (*GroupMute) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{16}
- }
- func (x *GroupMute) GetChatID() int64 {
- if x != nil {
- return x.ChatID
- }
- return 0
- }
- func (x *GroupMute) GetIsMute() bool {
- if x != nil {
- return x.IsMute
- }
- return false
- }
- // 发送私聊消息请求
- type ChatPrivateSend struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 目标玩家ID
- TargetID int64 `protobuf:"varint,1,opt,name=targetID,proto3" json:"targetID,omitempty"`
- // 内容
- Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatPrivateSend) Reset() {
- *x = ChatPrivateSend{}
- mi := &file_chat_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatPrivateSend) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatPrivateSend) ProtoMessage() {}
- func (x *ChatPrivateSend) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[17]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatPrivateSend.ProtoReflect.Descriptor instead.
- func (*ChatPrivateSend) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{17}
- }
- func (x *ChatPrivateSend) GetTargetID() int64 {
- if x != nil {
- return x.TargetID
- }
- return 0
- }
- func (x *ChatPrivateSend) GetText() string {
- if x != nil {
- return x.Text
- }
- return ""
- }
- // 聊天相关的设置
- type ChatSetting struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 是否开启申请好友
- IsFriendInviteMute bool `protobuf:"varint,1,opt,name=isFriendInviteMute,proto3" json:"isFriendInviteMute,omitempty"`
- // 是否开启群组邀请
- IsGroupInviteMute bool `protobuf:"varint,2,opt,name=isGroupInviteMute,proto3" json:"isGroupInviteMute,omitempty"`
- // 是否开启私聊
- IsPrivateChatMute bool `protobuf:"varint,3,opt,name=isPrivateChatMute,proto3" json:"isPrivateChatMute,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ChatSetting) Reset() {
- *x = ChatSetting{}
- mi := &file_chat_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChatSetting) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChatSetting) ProtoMessage() {}
- func (x *ChatSetting) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[18]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ChatSetting.ProtoReflect.Descriptor instead.
- func (*ChatSetting) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{18}
- }
- func (x *ChatSetting) GetIsFriendInviteMute() bool {
- if x != nil {
- return x.IsFriendInviteMute
- }
- return false
- }
- func (x *ChatSetting) GetIsGroupInviteMute() bool {
- if x != nil {
- return x.IsGroupInviteMute
- }
- return false
- }
- func (x *ChatSetting) GetIsPrivateChatMute() bool {
- if x != nil {
- return x.IsPrivateChatMute
- }
- return false
- }
- // 好友邀请确认
- type FriendInviteConfirm struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 邀请的玩家ID
- PlayerID int64 `protobuf:"varint,1,opt,name=playerID,proto3" json:"playerID,omitempty"`
- // 是否接受
- IsAccept bool `protobuf:"varint,2,opt,name=isAccept,proto3" json:"isAccept,omitempty"`
- // 是否一键全部拒绝
- IsRejectAll bool `protobuf:"varint,3,opt,name=isRejectAll,proto3" json:"isRejectAll,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *FriendInviteConfirm) Reset() {
- *x = FriendInviteConfirm{}
- mi := &file_chat_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *FriendInviteConfirm) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FriendInviteConfirm) ProtoMessage() {}
- func (x *FriendInviteConfirm) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[19]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use FriendInviteConfirm.ProtoReflect.Descriptor instead.
- func (*FriendInviteConfirm) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{19}
- }
- func (x *FriendInviteConfirm) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *FriendInviteConfirm) GetIsAccept() bool {
- if x != nil {
- return x.IsAccept
- }
- return false
- }
- func (x *FriendInviteConfirm) GetIsRejectAll() bool {
- if x != nil {
- return x.IsRejectAll
- }
- return false
- }
- // 黑名单请求
- type BlackSetting struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 玩家ID
- PlayerID int64 `protobuf:"varint,1,opt,name=playerID,proto3" json:"playerID,omitempty"`
- // 是否拉黑 true拉黑 false 取消拉黑
- IsBlack bool `protobuf:"varint,2,opt,name=isBlack,proto3" json:"isBlack,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *BlackSetting) Reset() {
- *x = BlackSetting{}
- mi := &file_chat_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *BlackSetting) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BlackSetting) ProtoMessage() {}
- func (x *BlackSetting) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[20]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BlackSetting.ProtoReflect.Descriptor instead.
- func (*BlackSetting) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{20}
- }
- func (x *BlackSetting) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *BlackSetting) GetIsBlack() bool {
- if x != nil {
- return x.IsBlack
- }
- return false
- }
- // 好友关系
- type FriendRelation struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 好友信息
- FriendPlayer *ChatPlayer `protobuf:"bytes,1,opt,name=friendPlayer,proto3" json:"friendPlayer,omitempty"`
- // 建立时间(可排序)
- CreateTime int64 `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"`
- // 最近一条聊天内容
- LastContent *ChatContent `protobuf:"bytes,3,opt,name=LastContent,proto3" json:"LastContent,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *FriendRelation) Reset() {
- *x = FriendRelation{}
- mi := &file_chat_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *FriendRelation) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FriendRelation) ProtoMessage() {}
- func (x *FriendRelation) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[21]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use FriendRelation.ProtoReflect.Descriptor instead.
- func (*FriendRelation) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{21}
- }
- func (x *FriendRelation) GetFriendPlayer() *ChatPlayer {
- if x != nil {
- return x.FriendPlayer
- }
- return nil
- }
- func (x *FriendRelation) GetCreateTime() int64 {
- if x != nil {
- return x.CreateTime
- }
- return 0
- }
- func (x *FriendRelation) GetLastContent() *ChatContent {
- if x != nil {
- return x.LastContent
- }
- return nil
- }
- // 好友申请
- type FriendInvite struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 玩家信息
- InvitePlayer *ChatPlayer `protobuf:"bytes,1,opt,name=invitePlayer,proto3" json:"invitePlayer,omitempty"`
- // 邀请时间(可排序)
- InviteTime int64 `protobuf:"varint,2,opt,name=inviteTime,proto3" json:"inviteTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *FriendInvite) Reset() {
- *x = FriendInvite{}
- mi := &file_chat_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *FriendInvite) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FriendInvite) ProtoMessage() {}
- func (x *FriendInvite) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[22]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use FriendInvite.ProtoReflect.Descriptor instead.
- func (*FriendInvite) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{22}
- }
- func (x *FriendInvite) GetInvitePlayer() *ChatPlayer {
- if x != nil {
- return x.InvitePlayer
- }
- return nil
- }
- func (x *FriendInvite) GetInviteTime() int64 {
- if x != nil {
- return x.InviteTime
- }
- return 0
- }
- // 最近私聊
- type PrivateChat struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 玩家信息
- PrivatePlayer *ChatPlayer `protobuf:"bytes,1,opt,name=privatePlayer,proto3" json:"privatePlayer,omitempty"`
- // 最近一条聊天内容
- LastContent *ChatContent `protobuf:"bytes,2,opt,name=LastContent,proto3" json:"LastContent,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *PrivateChat) Reset() {
- *x = PrivateChat{}
- mi := &file_chat_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *PrivateChat) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PrivateChat) ProtoMessage() {}
- func (x *PrivateChat) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[23]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use PrivateChat.ProtoReflect.Descriptor instead.
- func (*PrivateChat) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{23}
- }
- func (x *PrivateChat) GetPrivatePlayer() *ChatPlayer {
- if x != nil {
- return x.PrivatePlayer
- }
- return nil
- }
- func (x *PrivateChat) GetLastContent() *ChatContent {
- if x != nil {
- return x.LastContent
- }
- return nil
- }
- // 黑名单
- type Black struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 玩家信息
- BlackPlayer *ChatPlayer `protobuf:"bytes,1,opt,name=blackPlayer,proto3" json:"blackPlayer,omitempty"`
- // 建立时间(可排序)
- CreateTime int64 `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Black) Reset() {
- *x = Black{}
- mi := &file_chat_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Black) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Black) ProtoMessage() {}
- func (x *Black) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[24]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Black.ProtoReflect.Descriptor instead.
- func (*Black) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{24}
- }
- func (x *Black) GetBlackPlayer() *ChatPlayer {
- if x != nil {
- return x.BlackPlayer
- }
- return nil
- }
- func (x *Black) GetCreateTime() int64 {
- if x != nil {
- return x.CreateTime
- }
- return 0
- }
- // 举报玩家
- type Complaint struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 举报对象ID
- TargetID int64 `protobuf:"varint,1,opt,name=targetID,proto3" json:"targetID,omitempty"`
- // 举报类型 1.垃圾广告 2.举报外挂 3.不良发言,4.不法行为,5.不雅昵称,6.广告拉人,7.举报其他
- ComplaintType int32 `protobuf:"varint,2,opt,name=complaintType,proto3" json:"complaintType,omitempty"`
- // 举报内容
- Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Complaint) Reset() {
- *x = Complaint{}
- mi := &file_chat_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Complaint) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Complaint) ProtoMessage() {}
- func (x *Complaint) ProtoReflect() protoreflect.Message {
- mi := &file_chat_proto_msgTypes[25]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Complaint.ProtoReflect.Descriptor instead.
- func (*Complaint) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{25}
- }
- func (x *Complaint) GetTargetID() int64 {
- if x != nil {
- return x.TargetID
- }
- return 0
- }
- func (x *Complaint) GetComplaintType() int32 {
- if x != nil {
- return x.ComplaintType
- }
- return 0
- }
- func (x *Complaint) GetContent() string {
- if x != nil {
- return x.Content
- }
- return ""
- }
- var File_chat_proto protoreflect.FileDescriptor
- const file_chat_proto_rawDesc = "" +
- "\n" +
- "\n" +
- "chat.proto\x12\x02pb\x1a\x0fbase_type.proto\"\xc9\x03\n" +
- "\bChatData\x120\n" +
- "\fchatRoomList\x18\x01 \x03(\v2\f.pb.ChatRoomR\fchatRoomList\x129\n" +
- "\x0fgroupInviteList\x18\x02 \x03(\v2\x0f.pb.GroupInviteR\x0fgroupInviteList\x122\n" +
- "\n" +
- "friendList\x18\x03 \x03(\v2\x12.pb.FriendRelationR\n" +
- "friendList\x12<\n" +
- "\x10friendInviteList\x18\x04 \x03(\v2\x10.pb.FriendInviteR\x10friendInviteList\x123\n" +
- "\x0fblackPlayerList\x18\x05 \x03(\v2\t.pb.BlackR\x0fblackPlayerList\x12A\n" +
- "\x13lastChatPrivateList\x18\x06 \x03(\v2\x0f.pb.PrivateChatR\x13lastChatPrivateList\x123\n" +
- "\rsystemMsgList\x18\a \x03(\v2\r.pb.SystemMsgR\rsystemMsgList\x121\n" +
- "\vchatSetting\x18\b \x01(\v2\x0f.pb.ChatSettingR\vchatSetting\"R\n" +
- "\x0eChatRoomUpdate\x12(\n" +
- "\bchatRoom\x18\x01 \x01(\v2\f.pb.ChatRoomR\bchatRoom\x12\x16\n" +
- "\x06isExit\x18\x02 \x01(\bR\x06isExit\"\xd2\x01\n" +
- "\bChatRoom\x12\x1a\n" +
- "\bchatType\x18\x01 \x01(\x05R\bchatType\x12\x16\n" +
- "\x06chatID\x18\x02 \x01(\x03R\x06chatID\x12\x12\n" +
- "\x04name\x18\x03 \x01(\tR\x04name\x12$\n" +
- "\rownerPlayerID\x18\x04 \x01(\x03R\rownerPlayerID\x12$\n" +
- "\rfreeSendCount\x18\x05 \x01(\x05R\rfreeSendCount\x12\x16\n" +
- "\x06isMute\x18\x06 \x01(\bR\x06isMute\x12\x1a\n" +
- "\bjoinTime\x18\a \x01(\x03R\bjoinTime\"x\n" +
- "\vChatMsgList\x12\x1a\n" +
- "\bchatType\x18\x01 \x01(\x05R\bchatType\x12\x16\n" +
- "\x06chatID\x18\x02 \x01(\x03R\x06chatID\x12\x14\n" +
- "\x05isNew\x18\x03 \x01(\bR\x05isNew\x12\x1f\n" +
- "\x04list\x18\x04 \x03(\v2\v.pb.ChatMsgR\x04list\"+\n" +
- "\bChatMsgs\x12\x1f\n" +
- "\x04list\x18\x01 \x03(\v2\v.pb.ChatMsgR\x04list\"\xb7\x01\n" +
- "\aChatMsg\x12\x14\n" +
- "\x05msgID\x18\x01 \x01(\x03R\x05msgID\x12&\n" +
- "\x06sender\x18\x02 \x01(\v2\x0e.pb.ChatPlayerR\x06sender\x12\x1a\n" +
- "\bsendTime\x18\x03 \x01(\x03R\bsendTime\x12\x12\n" +
- "\x04type\x18\x04 \x01(\x05R\x04type\x12\x12\n" +
- "\x04text\x18\x05 \x01(\tR\x04text\x12*\n" +
- "\x06params\x18\x06 \x01(\v2\x12.pb.ParamsTemplateR\x06params\"\x93\x01\n" +
- "\vChatContent\x12\x14\n" +
- "\x05msgID\x18\x01 \x01(\x03R\x05msgID\x12\x1a\n" +
- "\bsendTime\x18\x02 \x01(\x03R\bsendTime\x12\x12\n" +
- "\x04type\x18\x03 \x01(\x05R\x04type\x12\x12\n" +
- "\x04text\x18\x04 \x01(\tR\x04text\x12*\n" +
- "\x06params\x18\x05 \x01(\v2\x12.pb.ParamsTemplateR\x06params\"K\n" +
- "\tSystemMsg\x12\x12\n" +
- "\x04time\x18\x01 \x01(\x03R\x04time\x12*\n" +
- "\x06params\x18\x02 \x01(\v2\x12.pb.ParamsTemplateR\x06params\"4\n" +
- "\x0eChatPlayerList\x12\"\n" +
- "\x04list\x18\x01 \x03(\v2\x0e.pb.ChatPlayerR\x04list\"\xa8\x03\n" +
- "\n" +
- "ChatPlayer\x12\x1a\n" +
- "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
- "\n" +
- "playerName\x18\x02 \x01(\tR\n" +
- "playerName\x12\x1c\n" +
- "\tlordLevel\x18\x03 \x01(\x05R\tlordLevel\x12\x16\n" +
- "\x06iconID\x18\x04 \x01(\x05R\x06iconID\x12\x18\n" +
- "\aframeID\x18\x05 \x01(\x05R\aframeID\x12\x1e\n" +
- "\n" +
- "gameNodeID\x18\x06 \x01(\tR\n" +
- "gameNodeID\x12\x1a\n" +
- "\bleagueID\x18\a \x01(\x03R\bleagueID\x12\x1e\n" +
- "\n" +
- "leagueName\x18\b \x01(\tR\n" +
- "leagueName\x12\x1c\n" +
- "\tleagueJob\x18\t \x01(\x05R\tleagueJob\x12\x1c\n" +
- "\tmapNodeID\x18\n" +
- " \x01(\tR\tmapNodeID\x12\x1a\n" +
- "\bseasonID\x18\v \x01(\x05R\bseasonID\x12\x18\n" +
- "\astateID\x18\f \x01(\x05R\astateID\x12\x1a\n" +
- "\bprestige\x18\r \x01(\x05R\bprestige\x12$\n" +
- "\rleagueAbbName\x18\x0e \x01(\tR\rleagueAbbName\"R\n" +
- "\bChatSend\x12\x1a\n" +
- "\bchatType\x18\x01 \x01(\x05R\bchatType\x12\x16\n" +
- "\x06chatID\x18\x02 \x01(\x03R\x06chatID\x12\x12\n" +
- "\x04text\x18\x03 \x01(\tR\x04text\"b\n" +
- "\x0eChatMsgRequest\x12\x1a\n" +
- "\bchatType\x18\x01 \x01(\x05R\bchatType\x12\x16\n" +
- "\x06chatID\x18\x02 \x01(\x03R\x06chatID\x12\x1c\n" +
- "\tlastMsgID\x18\x03 \x01(\x03R\tlastMsgID\"E\n" +
- "\vGroupCreate\x12\x12\n" +
- "\x04name\x18\x01 \x01(\tR\x04name\x12\"\n" +
- "\fplayerIDList\x18\x02 \x03(\x03R\fplayerIDList\"O\n" +
- "\x11GroupPlayerChange\x12\x16\n" +
- "\x06chatID\x18\x01 \x01(\x03R\x06chatID\x12\"\n" +
- "\fplayerIDList\x18\x02 \x03(\x03R\fplayerIDList\"j\n" +
- "\x12GroupInviteConfirm\x12\x16\n" +
- "\x06chatID\x18\x01 \x01(\x03R\x06chatID\x12\x1a\n" +
- "\bisAccept\x18\x02 \x01(\bR\bisAccept\x12 \n" +
- "\visRejectAll\x18\x03 \x01(\bR\visRejectAll\"\x8d\x01\n" +
- "\vGroupInvite\x12\x16\n" +
- "\x06chatID\x18\x01 \x01(\x03R\x06chatID\x12\x12\n" +
- "\x04name\x18\x02 \x01(\tR\x04name\x122\n" +
- "\finvitePlayer\x18\x03 \x01(\v2\x0e.pb.ChatPlayerR\finvitePlayer\x12\x1e\n" +
- "\n" +
- "inviteTime\x18\x04 \x01(\x03R\n" +
- "inviteTime\";\n" +
- "\tGroupMute\x12\x16\n" +
- "\x06chatID\x18\x02 \x01(\x03R\x06chatID\x12\x16\n" +
- "\x06isMute\x18\x03 \x01(\bR\x06isMute\"A\n" +
- "\x0fChatPrivateSend\x12\x1a\n" +
- "\btargetID\x18\x01 \x01(\x03R\btargetID\x12\x12\n" +
- "\x04text\x18\x02 \x01(\tR\x04text\"\x99\x01\n" +
- "\vChatSetting\x12.\n" +
- "\x12isFriendInviteMute\x18\x01 \x01(\bR\x12isFriendInviteMute\x12,\n" +
- "\x11isGroupInviteMute\x18\x02 \x01(\bR\x11isGroupInviteMute\x12,\n" +
- "\x11isPrivateChatMute\x18\x03 \x01(\bR\x11isPrivateChatMute\"o\n" +
- "\x13FriendInviteConfirm\x12\x1a\n" +
- "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1a\n" +
- "\bisAccept\x18\x02 \x01(\bR\bisAccept\x12 \n" +
- "\visRejectAll\x18\x03 \x01(\bR\visRejectAll\"D\n" +
- "\fBlackSetting\x12\x1a\n" +
- "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x18\n" +
- "\aisBlack\x18\x02 \x01(\bR\aisBlack\"\x97\x01\n" +
- "\x0eFriendRelation\x122\n" +
- "\ffriendPlayer\x18\x01 \x01(\v2\x0e.pb.ChatPlayerR\ffriendPlayer\x12\x1e\n" +
- "\n" +
- "createTime\x18\x02 \x01(\x03R\n" +
- "createTime\x121\n" +
- "\vLastContent\x18\x03 \x01(\v2\x0f.pb.ChatContentR\vLastContent\"b\n" +
- "\fFriendInvite\x122\n" +
- "\finvitePlayer\x18\x01 \x01(\v2\x0e.pb.ChatPlayerR\finvitePlayer\x12\x1e\n" +
- "\n" +
- "inviteTime\x18\x02 \x01(\x03R\n" +
- "inviteTime\"v\n" +
- "\vPrivateChat\x124\n" +
- "\rprivatePlayer\x18\x01 \x01(\v2\x0e.pb.ChatPlayerR\rprivatePlayer\x121\n" +
- "\vLastContent\x18\x02 \x01(\v2\x0f.pb.ChatContentR\vLastContent\"Y\n" +
- "\x05Black\x120\n" +
- "\vblackPlayer\x18\x01 \x01(\v2\x0e.pb.ChatPlayerR\vblackPlayer\x12\x1e\n" +
- "\n" +
- "createTime\x18\x02 \x01(\x03R\n" +
- "createTime\"g\n" +
- "\tComplaint\x12\x1a\n" +
- "\btargetID\x18\x01 \x01(\x03R\btargetID\x12$\n" +
- "\rcomplaintType\x18\x02 \x01(\x05R\rcomplaintType\x12\x18\n" +
- "\acontent\x18\x03 \x01(\tR\acontentB\x05Z\x03/pbb\x06proto3"
- var (
- file_chat_proto_rawDescOnce sync.Once
- file_chat_proto_rawDescData []byte
- )
- func file_chat_proto_rawDescGZIP() []byte {
- file_chat_proto_rawDescOnce.Do(func() {
- file_chat_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_chat_proto_rawDesc), len(file_chat_proto_rawDesc)))
- })
- return file_chat_proto_rawDescData
- }
- var file_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
- var file_chat_proto_goTypes = []any{
- (*ChatData)(nil), // 0: pb.ChatData
- (*ChatRoomUpdate)(nil), // 1: pb.ChatRoomUpdate
- (*ChatRoom)(nil), // 2: pb.ChatRoom
- (*ChatMsgList)(nil), // 3: pb.ChatMsgList
- (*ChatMsgs)(nil), // 4: pb.ChatMsgs
- (*ChatMsg)(nil), // 5: pb.ChatMsg
- (*ChatContent)(nil), // 6: pb.ChatContent
- (*SystemMsg)(nil), // 7: pb.SystemMsg
- (*ChatPlayerList)(nil), // 8: pb.ChatPlayerList
- (*ChatPlayer)(nil), // 9: pb.ChatPlayer
- (*ChatSend)(nil), // 10: pb.ChatSend
- (*ChatMsgRequest)(nil), // 11: pb.ChatMsgRequest
- (*GroupCreate)(nil), // 12: pb.GroupCreate
- (*GroupPlayerChange)(nil), // 13: pb.GroupPlayerChange
- (*GroupInviteConfirm)(nil), // 14: pb.GroupInviteConfirm
- (*GroupInvite)(nil), // 15: pb.GroupInvite
- (*GroupMute)(nil), // 16: pb.GroupMute
- (*ChatPrivateSend)(nil), // 17: pb.ChatPrivateSend
- (*ChatSetting)(nil), // 18: pb.ChatSetting
- (*FriendInviteConfirm)(nil), // 19: pb.FriendInviteConfirm
- (*BlackSetting)(nil), // 20: pb.BlackSetting
- (*FriendRelation)(nil), // 21: pb.FriendRelation
- (*FriendInvite)(nil), // 22: pb.FriendInvite
- (*PrivateChat)(nil), // 23: pb.PrivateChat
- (*Black)(nil), // 24: pb.Black
- (*Complaint)(nil), // 25: pb.Complaint
- (*ParamsTemplate)(nil), // 26: pb.ParamsTemplate
- }
- var file_chat_proto_depIdxs = []int32{
- 2, // 0: pb.ChatData.chatRoomList:type_name -> pb.ChatRoom
- 15, // 1: pb.ChatData.groupInviteList:type_name -> pb.GroupInvite
- 21, // 2: pb.ChatData.friendList:type_name -> pb.FriendRelation
- 22, // 3: pb.ChatData.friendInviteList:type_name -> pb.FriendInvite
- 24, // 4: pb.ChatData.blackPlayerList:type_name -> pb.Black
- 23, // 5: pb.ChatData.lastChatPrivateList:type_name -> pb.PrivateChat
- 7, // 6: pb.ChatData.systemMsgList:type_name -> pb.SystemMsg
- 18, // 7: pb.ChatData.chatSetting:type_name -> pb.ChatSetting
- 2, // 8: pb.ChatRoomUpdate.chatRoom:type_name -> pb.ChatRoom
- 5, // 9: pb.ChatMsgList.list:type_name -> pb.ChatMsg
- 5, // 10: pb.ChatMsgs.list:type_name -> pb.ChatMsg
- 9, // 11: pb.ChatMsg.sender:type_name -> pb.ChatPlayer
- 26, // 12: pb.ChatMsg.params:type_name -> pb.ParamsTemplate
- 26, // 13: pb.ChatContent.params:type_name -> pb.ParamsTemplate
- 26, // 14: pb.SystemMsg.params:type_name -> pb.ParamsTemplate
- 9, // 15: pb.ChatPlayerList.list:type_name -> pb.ChatPlayer
- 9, // 16: pb.GroupInvite.invitePlayer:type_name -> pb.ChatPlayer
- 9, // 17: pb.FriendRelation.friendPlayer:type_name -> pb.ChatPlayer
- 6, // 18: pb.FriendRelation.LastContent:type_name -> pb.ChatContent
- 9, // 19: pb.FriendInvite.invitePlayer:type_name -> pb.ChatPlayer
- 9, // 20: pb.PrivateChat.privatePlayer:type_name -> pb.ChatPlayer
- 6, // 21: pb.PrivateChat.LastContent:type_name -> pb.ChatContent
- 9, // 22: pb.Black.blackPlayer:type_name -> pb.ChatPlayer
- 23, // [23:23] is the sub-list for method output_type
- 23, // [23:23] is the sub-list for method input_type
- 23, // [23:23] is the sub-list for extension type_name
- 23, // [23:23] is the sub-list for extension extendee
- 0, // [0:23] is the sub-list for field type_name
- }
- func init() { file_chat_proto_init() }
- func file_chat_proto_init() {
- if File_chat_proto != nil {
- return
- }
- file_base_type_proto_init()
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_chat_proto_rawDesc), len(file_chat_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 26,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_chat_proto_goTypes,
- DependencyIndexes: file_chat_proto_depIdxs,
- MessageInfos: file_chat_proto_msgTypes,
- }.Build()
- File_chat_proto = out.File
- file_chat_proto_goTypes = nil
- file_chat_proto_depIdxs = nil
- }
|