1792 lines
54 KiB
Go
1792 lines
54 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.31.0
|
||
// protoc v4.23.4
|
||
// source: cs_proto.proto
|
||
|
||
package cs
|
||
|
||
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 ConstantE int32
|
||
|
||
const (
|
||
ConstantE_ProtoVersion ConstantE = 2023051601 //系统版本
|
||
)
|
||
|
||
// Enum value maps for ConstantE.
|
||
var (
|
||
ConstantE_name = map[int32]string{
|
||
2023051601: "ProtoVersion",
|
||
}
|
||
ConstantE_value = map[string]int32{
|
||
"ProtoVersion": 2023051601,
|
||
}
|
||
)
|
||
|
||
func (x ConstantE) Enum() *ConstantE {
|
||
p := new(ConstantE)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x ConstantE) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (ConstantE) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_cs_proto_proto_enumTypes[0].Descriptor()
|
||
}
|
||
|
||
func (ConstantE) Type() protoreflect.EnumType {
|
||
return &file_cs_proto_proto_enumTypes[0]
|
||
}
|
||
|
||
func (x ConstantE) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Do not use.
|
||
func (x *ConstantE) UnmarshalJSON(b []byte) error {
|
||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||
if err != nil {
|
||
return err
|
||
}
|
||
*x = ConstantE(num)
|
||
return nil
|
||
}
|
||
|
||
// Deprecated: Use ConstantE.Descriptor instead.
|
||
func (ConstantE) EnumDescriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
// 心跳
|
||
type CMPing struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
}
|
||
|
||
func (x *CMPing) Reset() {
|
||
*x = CMPing{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CMPing) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CMPing) ProtoMessage() {}
|
||
|
||
func (x *CMPing) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 CMPing.ProtoReflect.Descriptor instead.
|
||
func (*CMPing) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
type SMPing struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Param1 *int32 `protobuf:"varint,1,opt,name=param1" json:"param1,omitempty"`
|
||
Source *int32 `protobuf:"varint,2,opt,name=source,def=0" json:"source,omitempty"` //0:tcp 1:udp
|
||
}
|
||
|
||
// Default values for SMPing fields.
|
||
const (
|
||
Default_SMPing_Source = int32(0)
|
||
)
|
||
|
||
func (x *SMPing) Reset() {
|
||
*x = SMPing{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SMPing) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SMPing) ProtoMessage() {}
|
||
|
||
func (x *SMPing) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 SMPing.ProtoReflect.Descriptor instead.
|
||
func (*SMPing) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *SMPing) GetParam1() int32 {
|
||
if x != nil && x.Param1 != nil {
|
||
return *x.Param1
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SMPing) GetSource() int32 {
|
||
if x != nil && x.Source != nil {
|
||
return *x.Source
|
||
}
|
||
return Default_SMPing_Source
|
||
}
|
||
|
||
// rpc调用错误
|
||
type SMRpcError struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
ErrorCode *int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"`
|
||
ErrorMsg *string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg" json:"error_msg,omitempty"`
|
||
DebugMsg *string `protobuf:"bytes,3,opt,name=debug_msg,json=debugMsg" json:"debug_msg,omitempty"`
|
||
File *string `protobuf:"bytes,4,opt,name=file" json:"file,omitempty"`
|
||
Lineno *int32 `protobuf:"varint,5,opt,name=lineno" json:"lineno,omitempty"`
|
||
ErrorParam *int32 `protobuf:"varint,6,opt,name=error_param,json=errorParam" json:"error_param,omitempty"`
|
||
}
|
||
|
||
func (x *SMRpcError) Reset() {
|
||
*x = SMRpcError{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SMRpcError) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SMRpcError) ProtoMessage() {}
|
||
|
||
func (x *SMRpcError) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 SMRpcError.ProtoReflect.Descriptor instead.
|
||
func (*SMRpcError) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *SMRpcError) GetErrorCode() int32 {
|
||
if x != nil && x.ErrorCode != nil {
|
||
return *x.ErrorCode
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SMRpcError) GetErrorMsg() string {
|
||
if x != nil && x.ErrorMsg != nil {
|
||
return *x.ErrorMsg
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SMRpcError) GetDebugMsg() string {
|
||
if x != nil && x.DebugMsg != nil {
|
||
return *x.DebugMsg
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SMRpcError) GetFile() string {
|
||
if x != nil && x.File != nil {
|
||
return *x.File
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SMRpcError) GetLineno() int32 {
|
||
if x != nil && x.Lineno != nil {
|
||
return *x.Lineno
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SMRpcError) GetErrorParam() int32 {
|
||
if x != nil && x.ErrorParam != nil {
|
||
return *x.ErrorParam
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// int32键值对
|
||
type MFPair struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Key *int32 `protobuf:"varint,1,opt,name=key" json:"key,omitempty"` //key
|
||
Value *int32 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` //val
|
||
}
|
||
|
||
func (x *MFPair) Reset() {
|
||
*x = MFPair{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *MFPair) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MFPair) ProtoMessage() {}
|
||
|
||
func (x *MFPair) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 MFPair.ProtoReflect.Descriptor instead.
|
||
func (*MFPair) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *MFPair) GetKey() int32 {
|
||
if x != nil && x.Key != nil {
|
||
return *x.Key
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *MFPair) GetValue() int32 {
|
||
if x != nil && x.Value != nil {
|
||
return *x.Value
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// int64键值对
|
||
type MFPair64 struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Key *int64 `protobuf:"varint,1,opt,name=key" json:"key,omitempty"` //key
|
||
Value *int64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` //val
|
||
}
|
||
|
||
func (x *MFPair64) Reset() {
|
||
*x = MFPair64{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *MFPair64) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MFPair64) ProtoMessage() {}
|
||
|
||
func (x *MFPair64) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 MFPair64.ProtoReflect.Descriptor instead.
|
||
func (*MFPair64) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *MFPair64) GetKey() int64 {
|
||
if x != nil && x.Key != nil {
|
||
return *x.Key
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *MFPair64) GetValue() int64 {
|
||
if x != nil && x.Value != nil {
|
||
return *x.Value
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// int32元组
|
||
type MFTuple struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Values []int32 `protobuf:"varint,1,rep,name=values" json:"values,omitempty"` //values
|
||
}
|
||
|
||
func (x *MFTuple) Reset() {
|
||
*x = MFTuple{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *MFTuple) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MFTuple) ProtoMessage() {}
|
||
|
||
func (x *MFTuple) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 MFTuple.ProtoReflect.Descriptor instead.
|
||
func (*MFTuple) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *MFTuple) GetValues() []int32 {
|
||
if x != nil {
|
||
return x.Values
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// string元组
|
||
type MFTupleString struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Values []string `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"` //values
|
||
}
|
||
|
||
func (x *MFTupleString) Reset() {
|
||
*x = MFTupleString{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *MFTupleString) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MFTupleString) ProtoMessage() {}
|
||
|
||
func (x *MFTupleString) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 MFTupleString.ProtoReflect.Descriptor instead.
|
||
func (*MFTupleString) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *MFTupleString) GetValues() []string {
|
||
if x != nil {
|
||
return x.Values
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 登录
|
||
type CMLogin struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
ServerId *int32 `protobuf:"varint,1,opt,name=server_id,json=serverId" json:"server_id,omitempty"` //保留
|
||
TeamUuid *string `protobuf:"bytes,2,opt,name=team_uuid,json=teamUuid" json:"team_uuid,omitempty"` //保留
|
||
AccountId *string `protobuf:"bytes,3,opt,name=account_id,json=accountId" json:"account_id,omitempty"` //账号id
|
||
ProtoVersion *int32 `protobuf:"varint,5,opt,name=proto_version,json=protoVersion" json:"proto_version,omitempty"` //协议版本号Constant_e.ProtoVersion
|
||
SessionId *string `protobuf:"bytes,20,opt,name=session_id,json=sessionId" json:"session_id,omitempty"` //账号id
|
||
}
|
||
|
||
func (x *CMLogin) Reset() {
|
||
*x = CMLogin{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CMLogin) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CMLogin) ProtoMessage() {}
|
||
|
||
func (x *CMLogin) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 CMLogin.ProtoReflect.Descriptor instead.
|
||
func (*CMLogin) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *CMLogin) GetServerId() int32 {
|
||
if x != nil && x.ServerId != nil {
|
||
return *x.ServerId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CMLogin) GetTeamUuid() string {
|
||
if x != nil && x.TeamUuid != nil {
|
||
return *x.TeamUuid
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMLogin) GetAccountId() string {
|
||
if x != nil && x.AccountId != nil {
|
||
return *x.AccountId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMLogin) GetProtoVersion() int32 {
|
||
if x != nil && x.ProtoVersion != nil {
|
||
return *x.ProtoVersion
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CMLogin) GetSessionId() string {
|
||
if x != nil && x.SessionId != nil {
|
||
return *x.SessionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 登录回复
|
||
type SMLogin struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
ServerInfo *string `protobuf:"bytes,1,opt,name=server_info,json=serverInfo" json:"server_info,omitempty"` //服务器信息(重连时使用)
|
||
AccountId *string `protobuf:"bytes,2,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
|
||
}
|
||
|
||
func (x *SMLogin) Reset() {
|
||
*x = SMLogin{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SMLogin) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SMLogin) ProtoMessage() {}
|
||
|
||
func (x *SMLogin) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 SMLogin.ProtoReflect.Descriptor instead.
|
||
func (*SMLogin) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *SMLogin) GetServerInfo() string {
|
||
if x != nil && x.ServerInfo != nil {
|
||
return *x.ServerInfo
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SMLogin) GetAccountId() string {
|
||
if x != nil && x.AccountId != nil {
|
||
return *x.AccountId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 断线重连
|
||
type CMReconnect struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
ServerId *int32 `protobuf:"varint,1,opt,name=server_id,json=serverId" json:"server_id,omitempty"` //保留
|
||
TeamUuid *string `protobuf:"bytes,2,opt,name=team_uuid,json=teamUuid" json:"team_uuid,omitempty"` //保留
|
||
AccountId *string `protobuf:"bytes,3,opt,name=account_id,json=accountId" json:"account_id,omitempty"` //账号id
|
||
SessionId *string `protobuf:"bytes,4,opt,name=session_id,json=sessionId" json:"session_id,omitempty"` //session_id
|
||
RoomUuid *string `protobuf:"bytes,5,opt,name=room_uuid,json=roomUuid" json:"room_uuid,omitempty"` //房间唯一id
|
||
ServerInfo *string `protobuf:"bytes,6,opt,name=server_info,json=serverInfo" json:"server_info,omitempty"` //服务器信息
|
||
}
|
||
|
||
func (x *CMReconnect) Reset() {
|
||
*x = CMReconnect{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CMReconnect) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CMReconnect) ProtoMessage() {}
|
||
|
||
func (x *CMReconnect) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 CMReconnect.ProtoReflect.Descriptor instead.
|
||
func (*CMReconnect) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *CMReconnect) GetServerId() int32 {
|
||
if x != nil && x.ServerId != nil {
|
||
return *x.ServerId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CMReconnect) GetTeamUuid() string {
|
||
if x != nil && x.TeamUuid != nil {
|
||
return *x.TeamUuid
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMReconnect) GetAccountId() string {
|
||
if x != nil && x.AccountId != nil {
|
||
return *x.AccountId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMReconnect) GetSessionId() string {
|
||
if x != nil && x.SessionId != nil {
|
||
return *x.SessionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMReconnect) GetRoomUuid() string {
|
||
if x != nil && x.RoomUuid != nil {
|
||
return *x.RoomUuid
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMReconnect) GetServerInfo() string {
|
||
if x != nil && x.ServerInfo != nil {
|
||
return *x.ServerInfo
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 断线重连回复
|
||
type SMReconnect struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Errcode *int32 `protobuf:"varint,1,opt,name=errcode" json:"errcode,omitempty"` //错误码 0:成功 1:重连失败
|
||
Errmsg *string `protobuf:"bytes,2,opt,name=errmsg" json:"errmsg,omitempty"` //错误描述
|
||
}
|
||
|
||
func (x *SMReconnect) Reset() {
|
||
*x = SMReconnect{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SMReconnect) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SMReconnect) ProtoMessage() {}
|
||
|
||
func (x *SMReconnect) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 SMReconnect.ProtoReflect.Descriptor instead.
|
||
func (*SMReconnect) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *SMReconnect) GetErrcode() int32 {
|
||
if x != nil && x.Errcode != nil {
|
||
return *x.Errcode
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SMReconnect) GetErrmsg() string {
|
||
if x != nil && x.Errmsg != nil {
|
||
return *x.Errmsg
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 请求搜索用户
|
||
type CMSearchFriend struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
ServerId *int32 `protobuf:"varint,1,opt,name=server_id,json=serverId" json:"server_id,omitempty"` //保留
|
||
TeamUuid *string `protobuf:"bytes,2,opt,name=team_uuid,json=teamUuid" json:"team_uuid,omitempty"` //保留
|
||
AccountId *string `protobuf:"bytes,3,opt,name=account_id,json=accountId" json:"account_id,omitempty"` //账号id
|
||
ProtoVersion *int32 `protobuf:"varint,5,opt,name=proto_version,json=protoVersion" json:"proto_version,omitempty"` //协议版本号Constant_e.ProtoVersion
|
||
SearchKeyword *string `protobuf:"bytes,6,opt,name=search_keyword,json=searchKeyword" json:"search_keyword,omitempty"` //搜索文本关键字
|
||
SessionId *string `protobuf:"bytes,20,opt,name=session_id,json=sessionId" json:"session_id,omitempty"` //账号id
|
||
}
|
||
|
||
func (x *CMSearchFriend) Reset() {
|
||
*x = CMSearchFriend{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CMSearchFriend) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CMSearchFriend) ProtoMessage() {}
|
||
|
||
func (x *CMSearchFriend) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 CMSearchFriend.ProtoReflect.Descriptor instead.
|
||
func (*CMSearchFriend) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *CMSearchFriend) GetServerId() int32 {
|
||
if x != nil && x.ServerId != nil {
|
||
return *x.ServerId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CMSearchFriend) GetTeamUuid() string {
|
||
if x != nil && x.TeamUuid != nil {
|
||
return *x.TeamUuid
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMSearchFriend) GetAccountId() string {
|
||
if x != nil && x.AccountId != nil {
|
||
return *x.AccountId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMSearchFriend) GetProtoVersion() int32 {
|
||
if x != nil && x.ProtoVersion != nil {
|
||
return *x.ProtoVersion
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CMSearchFriend) GetSearchKeyword() string {
|
||
if x != nil && x.SearchKeyword != nil {
|
||
return *x.SearchKeyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMSearchFriend) GetSessionId() string {
|
||
if x != nil && x.SessionId != nil {
|
||
return *x.SessionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 回复搜索用户
|
||
type SMSearchFriend struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Friends []*MFFriend `protobuf:"bytes,1,rep,name=friends" json:"friends,omitempty"`
|
||
}
|
||
|
||
func (x *SMSearchFriend) Reset() {
|
||
*x = SMSearchFriend{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SMSearchFriend) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SMSearchFriend) ProtoMessage() {}
|
||
|
||
func (x *SMSearchFriend) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 SMSearchFriend.ProtoReflect.Descriptor instead.
|
||
func (*SMSearchFriend) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *SMSearchFriend) GetFriends() []*MFFriend {
|
||
if x != nil {
|
||
return x.Friends
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 请求发送添加好友请求
|
||
type CMAddFriendRequest struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
ServerId *int32 `protobuf:"varint,1,opt,name=server_id,json=serverId" json:"server_id,omitempty"` //保留
|
||
TeamUuid *string `protobuf:"bytes,2,opt,name=team_uuid,json=teamUuid" json:"team_uuid,omitempty"` //保留
|
||
AccountId *string `protobuf:"bytes,3,opt,name=account_id,json=accountId" json:"account_id,omitempty"` //账号id
|
||
Account2Id *string `protobuf:"bytes,5,opt,name=account2_id,json=account2Id" json:"account2_id,omitempty"` //
|
||
SessionId *string `protobuf:"bytes,20,opt,name=session_id,json=sessionId" json:"session_id,omitempty"` //账号id
|
||
}
|
||
|
||
func (x *CMAddFriendRequest) Reset() {
|
||
*x = CMAddFriendRequest{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CMAddFriendRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CMAddFriendRequest) ProtoMessage() {}
|
||
|
||
func (x *CMAddFriendRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 CMAddFriendRequest.ProtoReflect.Descriptor instead.
|
||
func (*CMAddFriendRequest) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *CMAddFriendRequest) GetServerId() int32 {
|
||
if x != nil && x.ServerId != nil {
|
||
return *x.ServerId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CMAddFriendRequest) GetTeamUuid() string {
|
||
if x != nil && x.TeamUuid != nil {
|
||
return *x.TeamUuid
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMAddFriendRequest) GetAccountId() string {
|
||
if x != nil && x.AccountId != nil {
|
||
return *x.AccountId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMAddFriendRequest) GetAccount2Id() string {
|
||
if x != nil && x.Account2Id != nil {
|
||
return *x.Account2Id
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMAddFriendRequest) GetSessionId() string {
|
||
if x != nil && x.SessionId != nil {
|
||
return *x.SessionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 回复发送添加好友请求
|
||
type SMAddFriendRequest struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Reason *string `protobuf:"bytes,1,opt,name=reason" json:"reason,omitempty"`
|
||
Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
|
||
}
|
||
|
||
func (x *SMAddFriendRequest) Reset() {
|
||
*x = SMAddFriendRequest{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SMAddFriendRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SMAddFriendRequest) ProtoMessage() {}
|
||
|
||
func (x *SMAddFriendRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 SMAddFriendRequest.ProtoReflect.Descriptor instead.
|
||
func (*SMAddFriendRequest) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *SMAddFriendRequest) GetReason() string {
|
||
if x != nil && x.Reason != nil {
|
||
return *x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SMAddFriendRequest) GetStatus() string {
|
||
if x != nil && x.Status != nil {
|
||
return *x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 同意接受发送添加好友请求
|
||
type CMAcceptFriendRequest struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
ServerId *int32 `protobuf:"varint,1,opt,name=server_id,json=serverId" json:"server_id,omitempty"` //保留
|
||
TeamUuid *string `protobuf:"bytes,2,opt,name=team_uuid,json=teamUuid" json:"team_uuid,omitempty"` //保留
|
||
AccountId *string `protobuf:"bytes,3,opt,name=account_id,json=accountId" json:"account_id,omitempty"` //账号id
|
||
Account2Id *string `protobuf:"bytes,5,opt,name=account2_id,json=account2Id" json:"account2_id,omitempty"` //
|
||
SessionId *string `protobuf:"bytes,20,opt,name=session_id,json=sessionId" json:"session_id,omitempty"` //账号id
|
||
}
|
||
|
||
func (x *CMAcceptFriendRequest) Reset() {
|
||
*x = CMAcceptFriendRequest{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CMAcceptFriendRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CMAcceptFriendRequest) ProtoMessage() {}
|
||
|
||
func (x *CMAcceptFriendRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 CMAcceptFriendRequest.ProtoReflect.Descriptor instead.
|
||
func (*CMAcceptFriendRequest) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *CMAcceptFriendRequest) GetServerId() int32 {
|
||
if x != nil && x.ServerId != nil {
|
||
return *x.ServerId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CMAcceptFriendRequest) GetTeamUuid() string {
|
||
if x != nil && x.TeamUuid != nil {
|
||
return *x.TeamUuid
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMAcceptFriendRequest) GetAccountId() string {
|
||
if x != nil && x.AccountId != nil {
|
||
return *x.AccountId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMAcceptFriendRequest) GetAccount2Id() string {
|
||
if x != nil && x.Account2Id != nil {
|
||
return *x.Account2Id
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMAcceptFriendRequest) GetSessionId() string {
|
||
if x != nil && x.SessionId != nil {
|
||
return *x.SessionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 同意接受发送添加好友请求
|
||
type SMAcceptFriendRequest struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Reason *string `protobuf:"bytes,1,opt,name=reason" json:"reason,omitempty"`
|
||
Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
|
||
}
|
||
|
||
func (x *SMAcceptFriendRequest) Reset() {
|
||
*x = SMAcceptFriendRequest{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[16]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SMAcceptFriendRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SMAcceptFriendRequest) ProtoMessage() {}
|
||
|
||
func (x *SMAcceptFriendRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 SMAcceptFriendRequest.ProtoReflect.Descriptor instead.
|
||
func (*SMAcceptFriendRequest) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{16}
|
||
}
|
||
|
||
func (x *SMAcceptFriendRequest) GetReason() string {
|
||
if x != nil && x.Reason != nil {
|
||
return *x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SMAcceptFriendRequest) GetStatus() string {
|
||
if x != nil && x.Status != nil {
|
||
return *x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 请求我的好友列表
|
||
type CMListFriend struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
ServerId *int32 `protobuf:"varint,1,opt,name=server_id,json=serverId" json:"server_id,omitempty"` //保留
|
||
TeamUuid *string `protobuf:"bytes,2,opt,name=team_uuid,json=teamUuid" json:"team_uuid,omitempty"` //保留
|
||
AccountId *string `protobuf:"bytes,3,opt,name=account_id,json=accountId" json:"account_id,omitempty"` //账号id
|
||
ProtoVersion *int32 `protobuf:"varint,5,opt,name=proto_version,json=protoVersion" json:"proto_version,omitempty"` //协议版本号Constant_e.ProtoVersion
|
||
SessionId *string `protobuf:"bytes,20,opt,name=session_id,json=sessionId" json:"session_id,omitempty"` //账号id
|
||
}
|
||
|
||
func (x *CMListFriend) Reset() {
|
||
*x = CMListFriend{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[17]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CMListFriend) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CMListFriend) ProtoMessage() {}
|
||
|
||
func (x *CMListFriend) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 CMListFriend.ProtoReflect.Descriptor instead.
|
||
func (*CMListFriend) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{17}
|
||
}
|
||
|
||
func (x *CMListFriend) GetServerId() int32 {
|
||
if x != nil && x.ServerId != nil {
|
||
return *x.ServerId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CMListFriend) GetTeamUuid() string {
|
||
if x != nil && x.TeamUuid != nil {
|
||
return *x.TeamUuid
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMListFriend) GetAccountId() string {
|
||
if x != nil && x.AccountId != nil {
|
||
return *x.AccountId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CMListFriend) GetProtoVersion() int32 {
|
||
if x != nil && x.ProtoVersion != nil {
|
||
return *x.ProtoVersion
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CMListFriend) GetSessionId() string {
|
||
if x != nil && x.SessionId != nil {
|
||
return *x.SessionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 回复我的好友列表
|
||
type MFFriend struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
AccountId *string `protobuf:"bytes,1,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
|
||
Username *string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"`
|
||
}
|
||
|
||
func (x *MFFriend) Reset() {
|
||
*x = MFFriend{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[18]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *MFFriend) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MFFriend) ProtoMessage() {}
|
||
|
||
func (x *MFFriend) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_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 MFFriend.ProtoReflect.Descriptor instead.
|
||
func (*MFFriend) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{18}
|
||
}
|
||
|
||
func (x *MFFriend) GetAccountId() string {
|
||
if x != nil && x.AccountId != nil {
|
||
return *x.AccountId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *MFFriend) GetUsername() string {
|
||
if x != nil && x.Username != nil {
|
||
return *x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type SMListFriend struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Friends []*MFFriend `protobuf:"bytes,1,rep,name=friends" json:"friends,omitempty"`
|
||
}
|
||
|
||
func (x *SMListFriend) Reset() {
|
||
*x = SMListFriend{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_cs_proto_proto_msgTypes[19]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SMListFriend) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SMListFriend) ProtoMessage() {}
|
||
|
||
func (x *SMListFriend) ProtoReflect() protoreflect.Message {
|
||
mi := &file_cs_proto_proto_msgTypes[19]
|
||
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 SMListFriend.ProtoReflect.Descriptor instead.
|
||
func (*SMListFriend) Descriptor() ([]byte, []int) {
|
||
return file_cs_proto_proto_rawDescGZIP(), []int{19}
|
||
}
|
||
|
||
func (x *SMListFriend) GetFriends() []*MFFriend {
|
||
if x != nil {
|
||
return x.Friends
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_cs_proto_proto protoreflect.FileDescriptor
|
||
|
||
var file_cs_proto_proto_rawDesc = []byte{
|
||
0x0a, 0x0e, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
0x12, 0x02, 0x63, 0x73, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x4d, 0x50, 0x69, 0x6e, 0x67, 0x22, 0x3b,
|
||
0x0a, 0x06, 0x53, 0x4d, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61,
|
||
0x6d, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31,
|
||
0x12, 0x19, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
||
0x3a, 0x01, 0x30, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0xb2, 0x01, 0x0a, 0x0a,
|
||
0x53, 0x4d, 0x52, 0x70, 0x63, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72,
|
||
0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
|
||
0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72,
|
||
0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72,
|
||
0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f,
|
||
0x6d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x62, 0x75, 0x67,
|
||
0x4d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||
0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x69, 0x6e, 0x65, 0x6e,
|
||
0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x69, 0x6e, 0x65, 0x6e, 0x6f, 0x12,
|
||
0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x06,
|
||
0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d,
|
||
0x22, 0x30, 0x0a, 0x06, 0x4d, 0x46, 0x50, 0x61, 0x69, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
||
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
||
0x75, 0x65, 0x22, 0x32, 0x0a, 0x08, 0x4d, 0x46, 0x50, 0x61, 0x69, 0x72, 0x36, 0x34, 0x12, 0x10,
|
||
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
||
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x21, 0x0a, 0x07, 0x4d, 0x46, 0x54, 0x75, 0x70, 0x6c,
|
||
0x65, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
||
0x05, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x27, 0x0a, 0x0d, 0x4d, 0x46, 0x54,
|
||
0x75, 0x70, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61,
|
||
0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75,
|
||
0x65, 0x73, 0x22, 0xa6, 0x01, 0x0a, 0x07, 0x43, 0x4d, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1b,
|
||
0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
0x05, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74,
|
||
0x65, 0x61, 0x6d, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||
0x74, 0x65, 0x61, 0x6d, 0x55, 0x75, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f,
|
||
0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63,
|
||
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c,
|
||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a,
|
||
0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x49, 0x0a, 0x07, 0x53,
|
||
0x4d, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
||
0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72,
|
||
0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75,
|
||
0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63,
|
||
0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xc3, 0x01, 0x0a, 0x0b, 0x43, 0x4d, 0x52, 0x65, 0x63,
|
||
0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
||
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65,
|
||
0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x75, 0x75, 0x69, 0x64,
|
||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x61, 0x6d, 0x55, 0x75, 0x69, 0x64,
|
||
0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03,
|
||
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12,
|
||
0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20,
|
||
0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b,
|
||
0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||
0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x55, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73,
|
||
0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x3f, 0x0a, 0x0b,
|
||
0x53, 0x4d, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x65,
|
||
0x72, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72,
|
||
0x72, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x22, 0xd4, 0x01,
|
||
0x0a, 0x0e, 0x43, 0x4d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
|
||
0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||
0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a,
|
||
0x09, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x08, 0x74, 0x65, 0x61, 0x6d, 0x55, 0x75, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63,
|
||
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
||
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f,
|
||
0x74, 0x6f, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05,
|
||
0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25,
|
||
0x0a, 0x0e, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64,
|
||
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65,
|
||
0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
|
||
0x5f, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69,
|
||
0x6f, 0x6e, 0x49, 0x64, 0x22, 0x38, 0x0a, 0x0e, 0x53, 0x4d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
|
||
0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x26, 0x0a, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64,
|
||
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x63, 0x73, 0x2e, 0x4d, 0x46, 0x46,
|
||
0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x22, 0xad,
|
||
0x01, 0x0a, 0x12, 0x43, 0x4d, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65,
|
||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
|
||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
||
0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x61, 0x6d, 0x55, 0x75, 0x69, 0x64, 0x12,
|
||
0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
|
||
0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1f,
|
||
0x0a, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20,
|
||
0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x49, 0x64, 0x12,
|
||
0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x14, 0x20,
|
||
0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x44,
|
||
0x0a, 0x12, 0x53, 0x4d, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71,
|
||
0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01,
|
||
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06,
|
||
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74,
|
||
0x61, 0x74, 0x75, 0x73, 0x22, 0xb0, 0x01, 0x0a, 0x15, 0x43, 0x4d, 0x41, 0x63, 0x63, 0x65, 0x70,
|
||
0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b,
|
||
0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
0x05, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74,
|
||
0x65, 0x61, 0x6d, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||
0x74, 0x65, 0x61, 0x6d, 0x55, 0x75, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f,
|
||
0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63,
|
||
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75,
|
||
0x6e, 0x74, 0x32, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63,
|
||
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73,
|
||
0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65,
|
||
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x47, 0x0a, 0x15, 0x53, 0x4d, 0x41, 0x63, 0x63,
|
||
0x65, 0x70, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||
0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
|
||
0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||
0x22, 0xab, 0x01, 0x0a, 0x0c, 0x43, 0x4d, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e,
|
||
0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
||
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b,
|
||
0x0a, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||
0x09, 0x52, 0x08, 0x74, 0x65, 0x61, 0x6d, 0x55, 0x75, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61,
|
||
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72,
|
||
0x6f, 0x74, 0x6f, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||
0x05, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
|
||
0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x14, 0x20,
|
||
0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x45,
|
||
0x0a, 0x08, 0x4d, 0x46, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63,
|
||
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
||
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65,
|
||
0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65,
|
||
0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a, 0x0c, 0x53, 0x4d, 0x4c, 0x69, 0x73, 0x74, 0x46,
|
||
0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x26, 0x0a, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73,
|
||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x63, 0x73, 0x2e, 0x4d, 0x46, 0x46, 0x72,
|
||
0x69, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x2a, 0x22, 0x0a,
|
||
0x0a, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x65, 0x12, 0x14, 0x0a, 0x0c, 0x50,
|
||
0x72, 0x6f, 0x74, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x10, 0xd1, 0xa2, 0xd5, 0xc4,
|
||
0x07, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x63, 0x73,
|
||
}
|
||
|
||
var (
|
||
file_cs_proto_proto_rawDescOnce sync.Once
|
||
file_cs_proto_proto_rawDescData = file_cs_proto_proto_rawDesc
|
||
)
|
||
|
||
func file_cs_proto_proto_rawDescGZIP() []byte {
|
||
file_cs_proto_proto_rawDescOnce.Do(func() {
|
||
file_cs_proto_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs_proto_proto_rawDescData)
|
||
})
|
||
return file_cs_proto_proto_rawDescData
|
||
}
|
||
|
||
var file_cs_proto_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
var file_cs_proto_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
||
var file_cs_proto_proto_goTypes = []interface{}{
|
||
(ConstantE)(0), // 0: cs.Constant_e
|
||
(*CMPing)(nil), // 1: cs.CMPing
|
||
(*SMPing)(nil), // 2: cs.SMPing
|
||
(*SMRpcError)(nil), // 3: cs.SMRpcError
|
||
(*MFPair)(nil), // 4: cs.MFPair
|
||
(*MFPair64)(nil), // 5: cs.MFPair64
|
||
(*MFTuple)(nil), // 6: cs.MFTuple
|
||
(*MFTupleString)(nil), // 7: cs.MFTupleString
|
||
(*CMLogin)(nil), // 8: cs.CMLogin
|
||
(*SMLogin)(nil), // 9: cs.SMLogin
|
||
(*CMReconnect)(nil), // 10: cs.CMReconnect
|
||
(*SMReconnect)(nil), // 11: cs.SMReconnect
|
||
(*CMSearchFriend)(nil), // 12: cs.CMSearchFriend
|
||
(*SMSearchFriend)(nil), // 13: cs.SMSearchFriend
|
||
(*CMAddFriendRequest)(nil), // 14: cs.CMAddFriendRequest
|
||
(*SMAddFriendRequest)(nil), // 15: cs.SMAddFriendRequest
|
||
(*CMAcceptFriendRequest)(nil), // 16: cs.CMAcceptFriendRequest
|
||
(*SMAcceptFriendRequest)(nil), // 17: cs.SMAcceptFriendRequest
|
||
(*CMListFriend)(nil), // 18: cs.CMListFriend
|
||
(*MFFriend)(nil), // 19: cs.MFFriend
|
||
(*SMListFriend)(nil), // 20: cs.SMListFriend
|
||
}
|
||
var file_cs_proto_proto_depIdxs = []int32{
|
||
19, // 0: cs.SMSearchFriend.friends:type_name -> cs.MFFriend
|
||
19, // 1: cs.SMListFriend.friends:type_name -> cs.MFFriend
|
||
2, // [2:2] is the sub-list for method output_type
|
||
2, // [2:2] is the sub-list for method input_type
|
||
2, // [2:2] is the sub-list for extension type_name
|
||
2, // [2:2] is the sub-list for extension extendee
|
||
0, // [0:2] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_cs_proto_proto_init() }
|
||
func file_cs_proto_proto_init() {
|
||
if File_cs_proto_proto != nil {
|
||
return
|
||
}
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_cs_proto_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CMPing); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SMPing); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SMRpcError); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*MFPair); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*MFPair64); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*MFTuple); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*MFTupleString); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CMLogin); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SMLogin); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CMReconnect); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SMReconnect); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CMSearchFriend); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SMSearchFriend); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CMAddFriendRequest); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SMAddFriendRequest); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CMAcceptFriendRequest); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SMAcceptFriendRequest); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CMListFriend); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*MFFriend); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_cs_proto_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SMListFriend); 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_cs_proto_proto_rawDesc,
|
||
NumEnums: 1,
|
||
NumMessages: 20,
|
||
NumExtensions: 0,
|
||
NumServices: 0,
|
||
},
|
||
GoTypes: file_cs_proto_proto_goTypes,
|
||
DependencyIndexes: file_cs_proto_proto_depIdxs,
|
||
EnumInfos: file_cs_proto_proto_enumTypes,
|
||
MessageInfos: file_cs_proto_proto_msgTypes,
|
||
}.Build()
|
||
File_cs_proto_proto = out.File
|
||
file_cs_proto_proto_rawDesc = nil
|
||
file_cs_proto_proto_goTypes = nil
|
||
file_cs_proto_proto_depIdxs = nil
|
||
}
|