1795 lines
54 KiB
Go
1795 lines
54 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.27.1-devel
|
|
// protoc v3.19.4
|
|
// source: message.proto
|
|
|
|
package message
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
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 OpResultCode int32
|
|
|
|
const (
|
|
OpResultCode_OPRC_Sucess OpResultCode = 0 //成功
|
|
OpResultCode_OPRC_Error OpResultCode = 1 //失败
|
|
)
|
|
|
|
// Enum value maps for OpResultCode.
|
|
var (
|
|
OpResultCode_name = map[int32]string{
|
|
0: "OPRC_Sucess",
|
|
1: "OPRC_Error",
|
|
}
|
|
OpResultCode_value = map[string]int32{
|
|
"OPRC_Sucess": 0,
|
|
"OPRC_Error": 1,
|
|
}
|
|
)
|
|
|
|
func (x OpResultCode) Enum() *OpResultCode {
|
|
p := new(OpResultCode)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x OpResultCode) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (OpResultCode) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_message_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (OpResultCode) Type() protoreflect.EnumType {
|
|
return &file_message_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x OpResultCode) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use OpResultCode.Descriptor instead.
|
|
func (OpResultCode) EnumDescriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//聊天消息id
|
|
type MSGPacketID int32
|
|
|
|
const (
|
|
MSGPacketID_PACKET_MSGPACKET_ZERO MSGPacketID = 0 // 弃用消息号
|
|
MSGPacketID_PACKET_SC_MESSAGELIST MSGPacketID = 2430
|
|
MSGPacketID_PACKET_SC_MESSAGEADD MSGPacketID = 2431
|
|
MSGPacketID_PACKET_SC_MESSAGEDEL MSGPacketID = 2432
|
|
MSGPacketID_PACKET_CS_MESSAGEREAD MSGPacketID = 2433
|
|
MSGPacketID_PACKET_SC_MESSAGEREAD MSGPacketID = 2434
|
|
MSGPacketID_PACKET_CS_MESSAGEDEL MSGPacketID = 2435
|
|
MSGPacketID_PACKET_CS_GETMESSAGEATTACH MSGPacketID = 2436
|
|
MSGPacketID_PACKET_SC_GETMESSAGEATTACH MSGPacketID = 2437
|
|
MSGPacketID_PACKET_SC_NOTICE MSGPacketID = 2438
|
|
MSGPacketID_PACKET_CS_MESSAGELIST MSGPacketID = 2439
|
|
)
|
|
|
|
// Enum value maps for MSGPacketID.
|
|
var (
|
|
MSGPacketID_name = map[int32]string{
|
|
0: "PACKET_MSGPACKET_ZERO",
|
|
2430: "PACKET_SC_MESSAGELIST",
|
|
2431: "PACKET_SC_MESSAGEADD",
|
|
2432: "PACKET_SC_MESSAGEDEL",
|
|
2433: "PACKET_CS_MESSAGEREAD",
|
|
2434: "PACKET_SC_MESSAGEREAD",
|
|
2435: "PACKET_CS_MESSAGEDEL",
|
|
2436: "PACKET_CS_GETMESSAGEATTACH",
|
|
2437: "PACKET_SC_GETMESSAGEATTACH",
|
|
2438: "PACKET_SC_NOTICE",
|
|
2439: "PACKET_CS_MESSAGELIST",
|
|
}
|
|
MSGPacketID_value = map[string]int32{
|
|
"PACKET_MSGPACKET_ZERO": 0,
|
|
"PACKET_SC_MESSAGELIST": 2430,
|
|
"PACKET_SC_MESSAGEADD": 2431,
|
|
"PACKET_SC_MESSAGEDEL": 2432,
|
|
"PACKET_CS_MESSAGEREAD": 2433,
|
|
"PACKET_SC_MESSAGEREAD": 2434,
|
|
"PACKET_CS_MESSAGEDEL": 2435,
|
|
"PACKET_CS_GETMESSAGEATTACH": 2436,
|
|
"PACKET_SC_GETMESSAGEATTACH": 2437,
|
|
"PACKET_SC_NOTICE": 2438,
|
|
"PACKET_CS_MESSAGELIST": 2439,
|
|
}
|
|
)
|
|
|
|
func (x MSGPacketID) Enum() *MSGPacketID {
|
|
p := new(MSGPacketID)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x MSGPacketID) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (MSGPacketID) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_message_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (MSGPacketID) Type() protoreflect.EnumType {
|
|
return &file_message_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x MSGPacketID) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use MSGPacketID.Descriptor instead.
|
|
func (MSGPacketID) EnumDescriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type NoticeParam struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IntParam int32 `protobuf:"varint,1,opt,name=IntParam,proto3" json:"IntParam,omitempty"`
|
|
StrParam string `protobuf:"bytes,2,opt,name=StrParam,proto3" json:"StrParam,omitempty"`
|
|
}
|
|
|
|
func (x *NoticeParam) Reset() {
|
|
*x = NoticeParam{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NoticeParam) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NoticeParam) ProtoMessage() {}
|
|
|
|
func (x *NoticeParam) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NoticeParam.ProtoReflect.Descriptor instead.
|
|
func (*NoticeParam) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *NoticeParam) GetIntParam() int32 {
|
|
if x != nil {
|
|
return x.IntParam
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NoticeParam) GetStrParam() string {
|
|
if x != nil {
|
|
return x.StrParam
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//PACKET_SC_NOTICE
|
|
type SCNotice struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Count int32 `protobuf:"varint,1,opt,name=Count,proto3" json:"Count,omitempty"` //循环次数 0:无限循环 >0:循环指定次数
|
|
MsgType int32 `protobuf:"varint,2,opt,name=MsgType,proto3" json:"MsgType,omitempty"` //消息类型 0:标示消息内容为服务端拼装好的字符串 >0:根据客户端配置的编号格式化参数组成完整的消息内容(详见:NoticeMsgType)
|
|
Ts int64 `protobuf:"varint,3,opt,name=Ts,proto3" json:"Ts,omitempty"` //发送时间戳
|
|
ChannelId string `protobuf:"bytes,4,opt,name=ChannelId,proto3" json:"ChannelId,omitempty"` //渠道id,""标示全渠道广播
|
|
Params []*NoticeParam `protobuf:"bytes,5,rep,name=Params,proto3" json:"Params,omitempty"` //公告参数
|
|
Platform string `protobuf:"bytes,6,opt,name=Platform,proto3" json:"Platform,omitempty"` //
|
|
StandSec int32 `protobuf:"varint,7,opt,name=StandSec,proto3" json:"StandSec,omitempty"`
|
|
}
|
|
|
|
func (x *SCNotice) Reset() {
|
|
*x = SCNotice{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCNotice) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCNotice) ProtoMessage() {}
|
|
|
|
func (x *SCNotice) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SCNotice.ProtoReflect.Descriptor instead.
|
|
func (*SCNotice) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SCNotice) GetCount() int32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNotice) GetMsgType() int32 {
|
|
if x != nil {
|
|
return x.MsgType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNotice) GetTs() int64 {
|
|
if x != nil {
|
|
return x.Ts
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCNotice) GetChannelId() string {
|
|
if x != nil {
|
|
return x.ChannelId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SCNotice) GetParams() []*NoticeParam {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCNotice) GetPlatform() string {
|
|
if x != nil {
|
|
return x.Platform
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SCNotice) GetStandSec() int32 {
|
|
if x != nil {
|
|
return x.StandSec
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type MessageData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"`
|
|
Content string `protobuf:"bytes,3,opt,name=Content,proto3" json:"Content,omitempty"`
|
|
MType int32 `protobuf:"varint,4,opt,name=MType,proto3" json:"MType,omitempty"`
|
|
SrcId int32 `protobuf:"varint,5,opt,name=SrcId,proto3" json:"SrcId,omitempty"`
|
|
Coin int64 `protobuf:"varint,6,opt,name=Coin,proto3" json:"Coin,omitempty"`
|
|
State int32 `protobuf:"varint,7,opt,name=State,proto3" json:"State,omitempty"` //0 未读取,1 已经读取, 2 已经删除
|
|
Ts int32 `protobuf:"varint,8,opt,name=Ts,proto3" json:"Ts,omitempty"`
|
|
Params []int32 `protobuf:"varint,9,rep,packed,name=Params,proto3" json:"Params,omitempty"`
|
|
AttachState int32 `protobuf:"varint,10,opt,name=AttachState,proto3" json:"AttachState,omitempty"` //0 未提取,1 已提取
|
|
GiftId string `protobuf:"bytes,11,opt,name=GiftId,proto3" json:"GiftId,omitempty"`
|
|
GiftState int32 `protobuf:"varint,12,opt,name=GiftState,proto3" json:"GiftState,omitempty"` //0 未提取,1 已提取,2已撤回
|
|
Ticket int64 `protobuf:"varint,13,opt,name=Ticket,proto3" json:"Ticket,omitempty"` //比赛报名券
|
|
Grade int64 `protobuf:"varint,14,opt,name=Grade,proto3" json:"Grade,omitempty"` //积分
|
|
Diamond int64 `protobuf:"varint,15,opt,name=Diamond,proto3" json:"Diamond,omitempty"` // 钻石
|
|
SrcName string `protobuf:"bytes,16,opt,name=SrcName,proto3" json:"SrcName,omitempty"` // 发送人名字
|
|
}
|
|
|
|
func (x *MessageData) Reset() {
|
|
*x = MessageData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MessageData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MessageData) ProtoMessage() {}
|
|
|
|
func (x *MessageData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MessageData.ProtoReflect.Descriptor instead.
|
|
func (*MessageData) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *MessageData) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MessageData) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MessageData) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MessageData) GetMType() int32 {
|
|
if x != nil {
|
|
return x.MType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MessageData) GetSrcId() int32 {
|
|
if x != nil {
|
|
return x.SrcId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MessageData) GetCoin() int64 {
|
|
if x != nil {
|
|
return x.Coin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MessageData) GetState() int32 {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MessageData) GetTs() int32 {
|
|
if x != nil {
|
|
return x.Ts
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MessageData) GetParams() []int32 {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MessageData) GetAttachState() int32 {
|
|
if x != nil {
|
|
return x.AttachState
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MessageData) GetGiftId() string {
|
|
if x != nil {
|
|
return x.GiftId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MessageData) GetGiftState() int32 {
|
|
if x != nil {
|
|
return x.GiftState
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MessageData) GetTicket() int64 {
|
|
if x != nil {
|
|
return x.Ticket
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MessageData) GetGrade() int64 {
|
|
if x != nil {
|
|
return x.Grade
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MessageData) GetDiamond() int64 {
|
|
if x != nil {
|
|
return x.Diamond
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MessageData) GetSrcName() string {
|
|
if x != nil {
|
|
return x.SrcName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//PACKET_SC_MESSAGELIST
|
|
type SCMessageList struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Msgs []*MessageData `protobuf:"bytes,1,rep,name=Msgs,proto3" json:"Msgs,omitempty"`
|
|
}
|
|
|
|
func (x *SCMessageList) Reset() {
|
|
*x = SCMessageList{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCMessageList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCMessageList) ProtoMessage() {}
|
|
|
|
func (x *SCMessageList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SCMessageList.ProtoReflect.Descriptor instead.
|
|
func (*SCMessageList) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *SCMessageList) GetMsgs() []*MessageData {
|
|
if x != nil {
|
|
return x.Msgs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//PACKET_SC_MESSAGEADD
|
|
type SCMessageAdd struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Msg *MessageData `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"`
|
|
}
|
|
|
|
func (x *SCMessageAdd) Reset() {
|
|
*x = SCMessageAdd{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCMessageAdd) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCMessageAdd) ProtoMessage() {}
|
|
|
|
func (x *SCMessageAdd) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SCMessageAdd.ProtoReflect.Descriptor instead.
|
|
func (*SCMessageAdd) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SCMessageAdd) GetMsg() *MessageData {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//PACKET_CS_MESSAGEREAD
|
|
type CSMessageRead struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
}
|
|
|
|
func (x *CSMessageRead) Reset() {
|
|
*x = CSMessageRead{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSMessageRead) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSMessageRead) ProtoMessage() {}
|
|
|
|
func (x *CSMessageRead) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CSMessageRead.ProtoReflect.Descriptor instead.
|
|
func (*CSMessageRead) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CSMessageRead) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//PACKET_SC_MESSAGEREAD
|
|
type SCMessageRead struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
}
|
|
|
|
func (x *SCMessageRead) Reset() {
|
|
*x = SCMessageRead{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCMessageRead) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCMessageRead) ProtoMessage() {}
|
|
|
|
func (x *SCMessageRead) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SCMessageRead.ProtoReflect.Descriptor instead.
|
|
func (*SCMessageRead) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *SCMessageRead) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//PACKET_CS_MESSAGEDEL
|
|
type CSMessageDel struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
}
|
|
|
|
func (x *CSMessageDel) Reset() {
|
|
*x = CSMessageDel{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSMessageDel) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSMessageDel) ProtoMessage() {}
|
|
|
|
func (x *CSMessageDel) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CSMessageDel.ProtoReflect.Descriptor instead.
|
|
func (*CSMessageDel) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CSMessageDel) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//PACKET_SC_MESSAGEDEL
|
|
type SCMessageDel struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
}
|
|
|
|
func (x *SCMessageDel) Reset() {
|
|
*x = SCMessageDel{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCMessageDel) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCMessageDel) ProtoMessage() {}
|
|
|
|
func (x *SCMessageDel) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SCMessageDel.ProtoReflect.Descriptor instead.
|
|
func (*SCMessageDel) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *SCMessageDel) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//PACKET_CS_GETMESSAGEATTACH
|
|
type CSGetMessageAttach struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
}
|
|
|
|
func (x *CSGetMessageAttach) Reset() {
|
|
*x = CSGetMessageAttach{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSGetMessageAttach) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSGetMessageAttach) ProtoMessage() {}
|
|
|
|
func (x *CSGetMessageAttach) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CSGetMessageAttach.ProtoReflect.Descriptor instead.
|
|
func (*CSGetMessageAttach) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *CSGetMessageAttach) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//PACKET_SC_GETMESSAGEATTACH
|
|
type SCGetMessageAttach struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
Ids []string `protobuf:"bytes,2,rep,name=Ids,proto3" json:"Ids,omitempty"`
|
|
}
|
|
|
|
func (x *SCGetMessageAttach) Reset() {
|
|
*x = SCGetMessageAttach{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCGetMessageAttach) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCGetMessageAttach) ProtoMessage() {}
|
|
|
|
func (x *SCGetMessageAttach) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SCGetMessageAttach.ProtoReflect.Descriptor instead.
|
|
func (*SCGetMessageAttach) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *SCGetMessageAttach) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SCGetMessageAttach) GetIds() []string {
|
|
if x != nil {
|
|
return x.Ids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ClubMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
MsgType int32 `protobuf:"varint,1,opt,name=MsgType,proto3" json:"MsgType,omitempty"`
|
|
Content string `protobuf:"bytes,2,opt,name=Content,proto3" json:"Content,omitempty"`
|
|
SnId int32 `protobuf:"varint,3,opt,name=SnId,proto3" json:"SnId,omitempty"`
|
|
NickName string `protobuf:"bytes,4,opt,name=NickName,proto3" json:"NickName,omitempty"`
|
|
HeadPic string `protobuf:"bytes,5,opt,name=HeadPic,proto3" json:"HeadPic,omitempty"`
|
|
Ts int64 `protobuf:"varint,6,opt,name=Ts,proto3" json:"Ts,omitempty"`
|
|
}
|
|
|
|
func (x *ClubMessage) Reset() {
|
|
*x = ClubMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClubMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClubMessage) ProtoMessage() {}
|
|
|
|
func (x *ClubMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClubMessage.ProtoReflect.Descriptor instead.
|
|
func (*ClubMessage) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ClubMessage) GetMsgType() int32 {
|
|
if x != nil {
|
|
return x.MsgType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClubMessage) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClubMessage) GetSnId() int32 {
|
|
if x != nil {
|
|
return x.SnId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClubMessage) GetNickName() string {
|
|
if x != nil {
|
|
return x.NickName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClubMessage) GetHeadPic() string {
|
|
if x != nil {
|
|
return x.HeadPic
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClubMessage) GetTs() int64 {
|
|
if x != nil {
|
|
return x.Ts
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//PACKET_CS_CLUBMSG
|
|
type CSClubMsg struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ClubId int32 `protobuf:"varint,1,opt,name=ClubId,proto3" json:"ClubId,omitempty"` //聊天的俱乐部
|
|
MsgType int32 `protobuf:"varint,2,opt,name=MsgType,proto3" json:"MsgType,omitempty"` //0.文字1.表情2.回放码
|
|
Content string `protobuf:"bytes,3,opt,name=Content,proto3" json:"Content,omitempty"` //聊天详细信息
|
|
}
|
|
|
|
func (x *CSClubMsg) Reset() {
|
|
*x = CSClubMsg{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSClubMsg) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSClubMsg) ProtoMessage() {}
|
|
|
|
func (x *CSClubMsg) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[12]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CSClubMsg.ProtoReflect.Descriptor instead.
|
|
func (*CSClubMsg) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *CSClubMsg) GetClubId() int32 {
|
|
if x != nil {
|
|
return x.ClubId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CSClubMsg) GetMsgType() int32 {
|
|
if x != nil {
|
|
return x.MsgType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CSClubMsg) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//PACKET_SC_CLUBMSG
|
|
type SCClubMsg struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OpRetCode OpResultCode `protobuf:"varint,1,opt,name=OpRetCode,proto3,enum=message.OpResultCode" json:"OpRetCode,omitempty"`
|
|
ClubId int32 `protobuf:"varint,2,opt,name=ClubId,proto3" json:"ClubId,omitempty"` //聊天的俱乐部
|
|
MsgType int32 `protobuf:"varint,3,opt,name=MsgType,proto3" json:"MsgType,omitempty"`
|
|
ClubMsg *ClubMessage `protobuf:"bytes,4,opt,name=ClubMsg,proto3" json:"ClubMsg,omitempty"`
|
|
}
|
|
|
|
func (x *SCClubMsg) Reset() {
|
|
*x = SCClubMsg{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCClubMsg) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCClubMsg) ProtoMessage() {}
|
|
|
|
func (x *SCClubMsg) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[13]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SCClubMsg.ProtoReflect.Descriptor instead.
|
|
func (*SCClubMsg) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *SCClubMsg) GetOpRetCode() OpResultCode {
|
|
if x != nil {
|
|
return x.OpRetCode
|
|
}
|
|
return OpResultCode_OPRC_Sucess
|
|
}
|
|
|
|
func (x *SCClubMsg) GetClubId() int32 {
|
|
if x != nil {
|
|
return x.ClubId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCClubMsg) GetMsgType() int32 {
|
|
if x != nil {
|
|
return x.MsgType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SCClubMsg) GetClubMsg() *ClubMessage {
|
|
if x != nil {
|
|
return x.ClubMsg
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//PACKET_CS_CLUBMSGSTATE
|
|
type CSClubMsgState struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ClubId int32 `protobuf:"varint,1,opt,name=ClubId,proto3" json:"ClubId,omitempty"` //禁言的俱乐部
|
|
Disable bool `protobuf:"varint,2,opt,name=Disable,proto3" json:"Disable,omitempty"` //true禁言false聊天
|
|
}
|
|
|
|
func (x *CSClubMsgState) Reset() {
|
|
*x = CSClubMsgState{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSClubMsgState) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSClubMsgState) ProtoMessage() {}
|
|
|
|
func (x *CSClubMsgState) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[14]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CSClubMsgState.ProtoReflect.Descriptor instead.
|
|
func (*CSClubMsgState) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *CSClubMsgState) GetClubId() int32 {
|
|
if x != nil {
|
|
return x.ClubId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CSClubMsgState) GetDisable() bool {
|
|
if x != nil {
|
|
return x.Disable
|
|
}
|
|
return false
|
|
}
|
|
|
|
//PACKET_SC_CLUBMSGSTATE
|
|
type SCClubMsgState struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Disable bool `protobuf:"varint,1,opt,name=Disable,proto3" json:"Disable,omitempty"` //true禁言false聊天
|
|
OpRetCode OpResultCode `protobuf:"varint,2,opt,name=OpRetCode,proto3,enum=message.OpResultCode" json:"OpRetCode,omitempty"`
|
|
}
|
|
|
|
func (x *SCClubMsgState) Reset() {
|
|
*x = SCClubMsgState{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCClubMsgState) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCClubMsgState) ProtoMessage() {}
|
|
|
|
func (x *SCClubMsgState) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[15]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SCClubMsgState.ProtoReflect.Descriptor instead.
|
|
func (*SCClubMsgState) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *SCClubMsgState) GetDisable() bool {
|
|
if x != nil {
|
|
return x.Disable
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SCClubMsgState) GetOpRetCode() OpResultCode {
|
|
if x != nil {
|
|
return x.OpRetCode
|
|
}
|
|
return OpResultCode_OPRC_Sucess
|
|
}
|
|
|
|
//PACKET_CS_CLUBMSHISTORY
|
|
type CSClubMsgHistory struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ClubId int32 `protobuf:"varint,1,opt,name=ClubId,proto3" json:"ClubId,omitempty"` //俱乐部
|
|
}
|
|
|
|
func (x *CSClubMsgHistory) Reset() {
|
|
*x = CSClubMsgHistory{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSClubMsgHistory) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSClubMsgHistory) ProtoMessage() {}
|
|
|
|
func (x *CSClubMsgHistory) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[16]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CSClubMsgHistory.ProtoReflect.Descriptor instead.
|
|
func (*CSClubMsgHistory) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *CSClubMsgHistory) GetClubId() int32 {
|
|
if x != nil {
|
|
return x.ClubId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//PACKET_SC_CLUBMSHISTORY
|
|
type SCClubMsgHistory struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OpRetCode OpResultCode `protobuf:"varint,1,opt,name=OpRetCode,proto3,enum=message.OpResultCode" json:"OpRetCode,omitempty"`
|
|
ClubMsg []*ClubMessage `protobuf:"bytes,2,rep,name=ClubMsg,proto3" json:"ClubMsg,omitempty"`
|
|
}
|
|
|
|
func (x *SCClubMsgHistory) Reset() {
|
|
*x = SCClubMsgHistory{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCClubMsgHistory) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCClubMsgHistory) ProtoMessage() {}
|
|
|
|
func (x *SCClubMsgHistory) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[17]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SCClubMsgHistory.ProtoReflect.Descriptor instead.
|
|
func (*SCClubMsgHistory) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *SCClubMsgHistory) GetOpRetCode() OpResultCode {
|
|
if x != nil {
|
|
return x.OpRetCode
|
|
}
|
|
return OpResultCode_OPRC_Sucess
|
|
}
|
|
|
|
func (x *SCClubMsgHistory) GetClubMsg() []*ClubMessage {
|
|
if x != nil {
|
|
return x.ClubMsg
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//PACKET_CS_MESSAGELIST
|
|
type CSMessageList struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ShowId int64 `protobuf:"varint,1,opt,name=ShowId,proto3" json:"ShowId,omitempty"`
|
|
}
|
|
|
|
func (x *CSMessageList) Reset() {
|
|
*x = CSMessageList{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_message_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CSMessageList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CSMessageList) ProtoMessage() {}
|
|
|
|
func (x *CSMessageList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_message_proto_msgTypes[18]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CSMessageList.ProtoReflect.Descriptor instead.
|
|
func (*CSMessageList) Descriptor() ([]byte, []int) {
|
|
return file_message_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *CSMessageList) GetShowId() int64 {
|
|
if x != nil {
|
|
return x.ShowId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_message_proto protoreflect.FileDescriptor
|
|
|
|
var file_message_proto_rawDesc = []byte{
|
|
0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x45, 0x0a, 0x0b, 0x4e, 0x6f, 0x74, 0x69,
|
|
0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x49, 0x6e, 0x74, 0x50, 0x61,
|
|
0x72, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x49, 0x6e, 0x74, 0x50, 0x61,
|
|
0x72, 0x61, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x53, 0x74, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x53, 0x74, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x22,
|
|
0xce, 0x01, 0x0a, 0x08, 0x53, 0x43, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
|
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x43, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x07, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02,
|
|
0x54, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x54, 0x73, 0x12, 0x1c, 0x0a, 0x09,
|
|
0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x09, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x06, 0x50, 0x61,
|
|
0x72, 0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x65, 0x73,
|
|
0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d,
|
|
0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74,
|
|
0x66, 0x6f, 0x72, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x6c, 0x61, 0x74,
|
|
0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x63,
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x63,
|
|
0x22, 0x85, 0x03, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61,
|
|
0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x64,
|
|
0x12, 0x14, 0x0a, 0x05, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
|
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
|
|
0x12, 0x14, 0x0a, 0x05, 0x4d, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x05, 0x4d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x72, 0x63, 0x49, 0x64, 0x18,
|
|
0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x72, 0x63, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04,
|
|
0x43, 0x6f, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x69, 0x6e,
|
|
0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x54, 0x73, 0x18, 0x08, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x02, 0x54, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
0x18, 0x09, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x20,
|
|
0x0a, 0x0b, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x0b, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
0x12, 0x16, 0x0a, 0x06, 0x47, 0x69, 0x66, 0x74, 0x49, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x06, 0x47, 0x69, 0x66, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x47, 0x69, 0x66, 0x74,
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x47, 0x69, 0x66,
|
|
0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74,
|
|
0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x14,
|
|
0x0a, 0x05, 0x47, 0x72, 0x61, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x47,
|
|
0x72, 0x61, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x44, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64, 0x18,
|
|
0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x44, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64, 0x12, 0x18,
|
|
0x0a, 0x07, 0x53, 0x72, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x07, 0x53, 0x72, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x39, 0x0a, 0x0d, 0x53, 0x43, 0x4d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x4d, 0x73, 0x67,
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x4d,
|
|
0x73, 0x67, 0x73, 0x22, 0x36, 0x0a, 0x0c, 0x53, 0x43, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x41, 0x64, 0x64, 0x12, 0x26, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x14, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
|
0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x22, 0x1f, 0x0a, 0x0d, 0x43,
|
|
0x53, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x12, 0x0e, 0x0a, 0x02,
|
|
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x0d,
|
|
0x53, 0x43, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x12, 0x0e, 0x0a,
|
|
0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x64, 0x22, 0x1e, 0x0a,
|
|
0x0c, 0x43, 0x53, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x12, 0x0e, 0x0a,
|
|
0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x64, 0x22, 0x1e, 0x0a,
|
|
0x0c, 0x53, 0x43, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x12, 0x0e, 0x0a,
|
|
0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x64, 0x22, 0x24, 0x0a,
|
|
0x12, 0x43, 0x53, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x74, 0x74,
|
|
0x61, 0x63, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x02, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x12, 0x53, 0x43, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73,
|
|
0x61, 0x67, 0x65, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x64, 0x73,
|
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x49, 0x64, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x0b,
|
|
0x43, 0x6c, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x4d,
|
|
0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x4d, 0x73,
|
|
0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
|
|
0x12, 0x0a, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53,
|
|
0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x18, 0x0a, 0x07, 0x48, 0x65, 0x61, 0x64, 0x50, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x07, 0x48, 0x65, 0x61, 0x64, 0x50, 0x69, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x54, 0x73, 0x18,
|
|
0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x54, 0x73, 0x22, 0x57, 0x0a, 0x09, 0x43, 0x53, 0x43,
|
|
0x6c, 0x75, 0x62, 0x4d, 0x73, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x6c, 0x75, 0x62, 0x49, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x43, 0x6c, 0x75, 0x62, 0x49, 0x64, 0x12, 0x18,
|
|
0x0a, 0x07, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x07, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65,
|
|
0x6e, 0x74, 0x22, 0xa2, 0x01, 0x0a, 0x09, 0x53, 0x43, 0x43, 0x6c, 0x75, 0x62, 0x4d, 0x73, 0x67,
|
|
0x12, 0x33, 0x0a, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4f, 0x70,
|
|
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x4f, 0x70, 0x52, 0x65,
|
|
0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x6c, 0x75, 0x62, 0x49, 0x64, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x43, 0x6c, 0x75, 0x62, 0x49, 0x64, 0x12, 0x18, 0x0a,
|
|
0x07, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
|
0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x43, 0x6c, 0x75, 0x62, 0x4d,
|
|
0x73, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
0x67, 0x65, 0x2e, 0x43, 0x6c, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07,
|
|
0x43, 0x6c, 0x75, 0x62, 0x4d, 0x73, 0x67, 0x22, 0x42, 0x0a, 0x0e, 0x43, 0x53, 0x43, 0x6c, 0x75,
|
|
0x62, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x6c, 0x75,
|
|
0x62, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x43, 0x6c, 0x75, 0x62, 0x49,
|
|
0x64, 0x12, 0x18, 0x0a, 0x07, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x07, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x5f, 0x0a, 0x0e, 0x53,
|
|
0x43, 0x43, 0x6c, 0x75, 0x62, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a,
|
|
0x07, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
|
|
0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74,
|
|
0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73,
|
|
0x73, 0x61, 0x67, 0x65, 0x2e, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64,
|
|
0x65, 0x52, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x2a, 0x0a, 0x10,
|
|
0x43, 0x53, 0x43, 0x6c, 0x75, 0x62, 0x4d, 0x73, 0x67, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
|
|
0x12, 0x16, 0x0a, 0x06, 0x43, 0x6c, 0x75, 0x62, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x06, 0x43, 0x6c, 0x75, 0x62, 0x49, 0x64, 0x22, 0x77, 0x0a, 0x10, 0x53, 0x43, 0x43, 0x6c,
|
|
0x75, 0x62, 0x4d, 0x73, 0x67, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x33, 0x0a, 0x09,
|
|
0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x75,
|
|
0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64,
|
|
0x65, 0x12, 0x2e, 0x0a, 0x07, 0x43, 0x6c, 0x75, 0x62, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x43, 0x6c, 0x75,
|
|
0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x43, 0x6c, 0x75, 0x62, 0x4d, 0x73,
|
|
0x67, 0x22, 0x27, 0x0a, 0x0d, 0x43, 0x53, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4c, 0x69,
|
|
0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x06, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x64, 0x2a, 0x2f, 0x0a, 0x0c, 0x4f, 0x70,
|
|
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x50,
|
|
0x52, 0x43, 0x5f, 0x53, 0x75, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f,
|
|
0x50, 0x52, 0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x2a, 0xc2, 0x02, 0x0a, 0x0b,
|
|
0x4d, 0x53, 0x47, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x19, 0x0a, 0x15, 0x50,
|
|
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4d, 0x53, 0x47, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
|
|
0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
|
|
0x5f, 0x53, 0x43, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x4c, 0x49, 0x53, 0x54, 0x10,
|
|
0xfe, 0x12, 0x12, 0x19, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f,
|
|
0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x41, 0x44, 0x44, 0x10, 0xff, 0x12, 0x12, 0x19, 0x0a,
|
|
0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41,
|
|
0x47, 0x45, 0x44, 0x45, 0x4c, 0x10, 0x80, 0x13, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b,
|
|
0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x52, 0x45, 0x41,
|
|
0x44, 0x10, 0x81, 0x13, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
|
|
0x43, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x52, 0x45, 0x41, 0x44, 0x10, 0x82, 0x13,
|
|
0x12, 0x19, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x4d, 0x45,
|
|
0x53, 0x53, 0x41, 0x47, 0x45, 0x44, 0x45, 0x4c, 0x10, 0x83, 0x13, 0x12, 0x1f, 0x0a, 0x1a, 0x50,
|
|
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x47, 0x45, 0x54, 0x4d, 0x45, 0x53, 0x53,
|
|
0x41, 0x47, 0x45, 0x41, 0x54, 0x54, 0x41, 0x43, 0x48, 0x10, 0x84, 0x13, 0x12, 0x1f, 0x0a, 0x1a,
|
|
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x47, 0x45, 0x54, 0x4d, 0x45, 0x53,
|
|
0x53, 0x41, 0x47, 0x45, 0x41, 0x54, 0x54, 0x41, 0x43, 0x48, 0x10, 0x85, 0x13, 0x12, 0x15, 0x0a,
|
|
0x10, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x43,
|
|
0x45, 0x10, 0x86, 0x13, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43,
|
|
0x53, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x87, 0x13,
|
|
0x42, 0x27, 0x5a, 0x25, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e,
|
|
0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
|
|
0x6c, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x33,
|
|
}
|
|
|
|
var (
|
|
file_message_proto_rawDescOnce sync.Once
|
|
file_message_proto_rawDescData = file_message_proto_rawDesc
|
|
)
|
|
|
|
func file_message_proto_rawDescGZIP() []byte {
|
|
file_message_proto_rawDescOnce.Do(func() {
|
|
file_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_message_proto_rawDescData)
|
|
})
|
|
return file_message_proto_rawDescData
|
|
}
|
|
|
|
var file_message_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_message_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
|
|
var file_message_proto_goTypes = []interface{}{
|
|
(OpResultCode)(0), // 0: message.OpResultCode
|
|
(MSGPacketID)(0), // 1: message.MSGPacketID
|
|
(*NoticeParam)(nil), // 2: message.NoticeParam
|
|
(*SCNotice)(nil), // 3: message.SCNotice
|
|
(*MessageData)(nil), // 4: message.MessageData
|
|
(*SCMessageList)(nil), // 5: message.SCMessageList
|
|
(*SCMessageAdd)(nil), // 6: message.SCMessageAdd
|
|
(*CSMessageRead)(nil), // 7: message.CSMessageRead
|
|
(*SCMessageRead)(nil), // 8: message.SCMessageRead
|
|
(*CSMessageDel)(nil), // 9: message.CSMessageDel
|
|
(*SCMessageDel)(nil), // 10: message.SCMessageDel
|
|
(*CSGetMessageAttach)(nil), // 11: message.CSGetMessageAttach
|
|
(*SCGetMessageAttach)(nil), // 12: message.SCGetMessageAttach
|
|
(*ClubMessage)(nil), // 13: message.ClubMessage
|
|
(*CSClubMsg)(nil), // 14: message.CSClubMsg
|
|
(*SCClubMsg)(nil), // 15: message.SCClubMsg
|
|
(*CSClubMsgState)(nil), // 16: message.CSClubMsgState
|
|
(*SCClubMsgState)(nil), // 17: message.SCClubMsgState
|
|
(*CSClubMsgHistory)(nil), // 18: message.CSClubMsgHistory
|
|
(*SCClubMsgHistory)(nil), // 19: message.SCClubMsgHistory
|
|
(*CSMessageList)(nil), // 20: message.CSMessageList
|
|
}
|
|
var file_message_proto_depIdxs = []int32{
|
|
2, // 0: message.SCNotice.Params:type_name -> message.NoticeParam
|
|
4, // 1: message.SCMessageList.Msgs:type_name -> message.MessageData
|
|
4, // 2: message.SCMessageAdd.Msg:type_name -> message.MessageData
|
|
0, // 3: message.SCClubMsg.OpRetCode:type_name -> message.OpResultCode
|
|
13, // 4: message.SCClubMsg.ClubMsg:type_name -> message.ClubMessage
|
|
0, // 5: message.SCClubMsgState.OpRetCode:type_name -> message.OpResultCode
|
|
0, // 6: message.SCClubMsgHistory.OpRetCode:type_name -> message.OpResultCode
|
|
13, // 7: message.SCClubMsgHistory.ClubMsg:type_name -> message.ClubMessage
|
|
8, // [8:8] is the sub-list for method output_type
|
|
8, // [8:8] is the sub-list for method input_type
|
|
8, // [8:8] is the sub-list for extension type_name
|
|
8, // [8:8] is the sub-list for extension extendee
|
|
0, // [0:8] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_message_proto_init() }
|
|
func file_message_proto_init() {
|
|
if File_message_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NoticeParam); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCNotice); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MessageData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCMessageList); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCMessageAdd); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSMessageRead); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCMessageRead); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSMessageDel); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCMessageDel); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSGetMessageAttach); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCGetMessageAttach); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ClubMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSClubMsg); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCClubMsg); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSClubMsgState); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCClubMsgState); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSClubMsgHistory); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCClubMsgHistory); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_message_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CSMessageList); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_message_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 19,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_message_proto_goTypes,
|
|
DependencyIndexes: file_message_proto_depIdxs,
|
|
EnumInfos: file_message_proto_enumTypes,
|
|
MessageInfos: file_message_proto_msgTypes,
|
|
}.Build()
|
|
File_message_proto = out.File
|
|
file_message_proto_rawDesc = nil
|
|
file_message_proto_goTypes = nil
|
|
file_message_proto_depIdxs = nil
|
|
}
|