Documentation ¶
Index ¶
- Variables
- type CSCrossSrvChatMsg
- func (*CSCrossSrvChatMsg) Descriptor() ([]byte, []int)deprecated
- func (x *CSCrossSrvChatMsg) GetContent() string
- func (x *CSCrossSrvChatMsg) GetIsUseTrumpet() bool
- func (x *CSCrossSrvChatMsg) GetIsVoice() bool
- func (x *CSCrossSrvChatMsg) GetMessageType() uint32
- func (*CSCrossSrvChatMsg) ProtoMessage()
- func (x *CSCrossSrvChatMsg) ProtoReflect() protoreflect.Message
- func (x *CSCrossSrvChatMsg) Reset()
- func (x *CSCrossSrvChatMsg) String() string
- func (m *CSCrossSrvChatMsg) Validate() error
- type CSCrossSrvChatMsgValidationError
- func (e CSCrossSrvChatMsgValidationError) Cause() error
- func (e CSCrossSrvChatMsgValidationError) Error() string
- func (e CSCrossSrvChatMsgValidationError) ErrorName() string
- func (e CSCrossSrvChatMsgValidationError) Field() string
- func (e CSCrossSrvChatMsgValidationError) Key() bool
- func (e CSCrossSrvChatMsgValidationError) Reason() string
- type ChatBaseInfo
- func (*ChatBaseInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ChatBaseInfo) GetBubbleFrame() uint32
- func (x *ChatBaseInfo) GetHead() uint32
- func (x *ChatBaseInfo) GetHeadFrame() uint32
- func (x *ChatBaseInfo) GetId() uint64
- func (x *ChatBaseInfo) GetNickName() string
- func (*ChatBaseInfo) ProtoMessage()
- func (x *ChatBaseInfo) ProtoReflect() protoreflect.Message
- func (x *ChatBaseInfo) Reset()
- func (x *ChatBaseInfo) String() string
- func (m *ChatBaseInfo) Validate() error
- type ChatBaseInfoValidationError
- func (e ChatBaseInfoValidationError) Cause() error
- func (e ChatBaseInfoValidationError) Error() string
- func (e ChatBaseInfoValidationError) ErrorName() string
- func (e ChatBaseInfoValidationError) Field() string
- func (e ChatBaseInfoValidationError) Key() bool
- func (e ChatBaseInfoValidationError) Reason() string
- type ChatChan
- type ChatStatistics
- func (*ChatStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *ChatStatistics) GetId() uint32
- func (x *ChatStatistics) GetLastTime() int64
- func (x *ChatStatistics) GetPriNum() uint32
- func (x *ChatStatistics) GetSpeaker() uint32
- func (x *ChatStatistics) GetTimeNum() uint32
- func (x *ChatStatistics) GetUseNum() uint32
- func (*ChatStatistics) ProtoMessage()
- func (x *ChatStatistics) ProtoReflect() protoreflect.Message
- func (x *ChatStatistics) Reset()
- func (x *ChatStatistics) String() string
- func (m *ChatStatistics) Validate() error
- type ChatStatisticsValidationError
- func (e ChatStatisticsValidationError) Cause() error
- func (e ChatStatisticsValidationError) Error() string
- func (e ChatStatisticsValidationError) ErrorName() string
- func (e ChatStatisticsValidationError) Field() string
- func (e ChatStatisticsValidationError) Key() bool
- func (e ChatStatisticsValidationError) Reason() string
- type PrivateChatMsg
- func (*PrivateChatMsg) Descriptor() ([]byte, []int)deprecated
- func (x *PrivateChatMsg) GetContent() string
- func (x *PrivateChatMsg) GetDegree() int32
- func (x *PrivateChatMsg) GetIsVoice() bool
- func (x *PrivateChatMsg) GetReceiver() *ChatBaseInfo
- func (x *PrivateChatMsg) GetSendTime() int64
- func (x *PrivateChatMsg) GetSender() *ChatBaseInfo
- func (*PrivateChatMsg) ProtoMessage()
- func (x *PrivateChatMsg) ProtoReflect() protoreflect.Message
- func (x *PrivateChatMsg) Reset()
- func (x *PrivateChatMsg) String() string
- func (m *PrivateChatMsg) Validate() error
- type PrivateChatMsgValidationError
- func (e PrivateChatMsgValidationError) Cause() error
- func (e PrivateChatMsgValidationError) Error() string
- func (e PrivateChatMsgValidationError) ErrorName() string
- func (e PrivateChatMsgValidationError) Field() string
- func (e PrivateChatMsgValidationError) Key() bool
- func (e PrivateChatMsgValidationError) Reason() string
- type SCCrossSrvChatMsg
- func (*SCCrossSrvChatMsg) Descriptor() ([]byte, []int)deprecated
- func (x *SCCrossSrvChatMsg) GetContent() string
- func (x *SCCrossSrvChatMsg) GetDegree() int32
- func (x *SCCrossSrvChatMsg) GetIsUseTrumpet() bool
- func (x *SCCrossSrvChatMsg) GetIsVoice() bool
- func (x *SCCrossSrvChatMsg) GetMessageType() uint32
- func (x *SCCrossSrvChatMsg) GetOldContent() string
- func (x *SCCrossSrvChatMsg) GetProcIndex() uint32
- func (x *SCCrossSrvChatMsg) GetRangeOfSrv() uint32
- func (x *SCCrossSrvChatMsg) GetReceiver() *ChatBaseInfo
- func (x *SCCrossSrvChatMsg) GetSendTime() int64
- func (x *SCCrossSrvChatMsg) GetSender() *ChatBaseInfo
- func (x *SCCrossSrvChatMsg) GetZoneID() int32
- func (*SCCrossSrvChatMsg) ProtoMessage()
- func (x *SCCrossSrvChatMsg) ProtoReflect() protoreflect.Message
- func (x *SCCrossSrvChatMsg) Reset()
- func (x *SCCrossSrvChatMsg) String() string
- func (m *SCCrossSrvChatMsg) Validate() error
- type SCCrossSrvChatMsgValidationError
- func (e SCCrossSrvChatMsgValidationError) Cause() error
- func (e SCCrossSrvChatMsgValidationError) Error() string
- func (e SCCrossSrvChatMsgValidationError) ErrorName() string
- func (e SCCrossSrvChatMsgValidationError) Field() string
- func (e SCCrossSrvChatMsgValidationError) Key() bool
- func (e SCCrossSrvChatMsgValidationError) Reason() string
- type SCSystemMessage
- func (*SCSystemMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SCSystemMessage) GetChannels() string
- func (x *SCSystemMessage) GetContent() string
- func (x *SCSystemMessage) GetLanguage() string
- func (x *SCSystemMessage) GetModules() string
- func (x *SCSystemMessage) GetMsgType() uint32
- func (x *SCSystemMessage) GetParas() string
- func (x *SCSystemMessage) GetSendTime() int64
- func (*SCSystemMessage) ProtoMessage()
- func (x *SCSystemMessage) ProtoReflect() protoreflect.Message
- func (x *SCSystemMessage) Reset()
- func (x *SCSystemMessage) String() string
- func (m *SCSystemMessage) Validate() error
- type SCSystemMessageValidationError
- func (e SCSystemMessageValidationError) Cause() error
- func (e SCSystemMessageValidationError) Error() string
- func (e SCSystemMessageValidationError) ErrorName() string
- func (e SCSystemMessageValidationError) Field() string
- func (e SCSystemMessageValidationError) Key() bool
- func (e SCSystemMessageValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( ChatChan_name = map[int32]string{ 0: "None", 1: "comprehensive", 2: "World", 3: "Zone", 4: "Local", 5: "Cross", 8: "Private", 9: "System", 10: "Scene", } ChatChan_value = map[string]int32{ "None": 0, "comprehensive": 1, "World": 2, "Zone": 3, "Local": 4, "Cross": 5, "Private": 8, "System": 9, "Scene": 10, } )
Enum value maps for ChatChan.
var File_chat_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CSCrossSrvChatMsg ¶ added in v1.3.7
type CSCrossSrvChatMsg struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` IsVoice bool `protobuf:"varint,2,opt,name=isVoice,proto3" json:"isVoice,omitempty"` MessageType uint32 `protobuf:"varint,3,opt,name=messageType,proto3" json:"messageType,omitempty"` IsUseTrumpet bool `protobuf:"varint,4,opt,name=isUseTrumpet,proto3" json:"isUseTrumpet,omitempty"` // contains filtered or unexported fields }
func (*CSCrossSrvChatMsg) Descriptor
deprecated
added in
v1.3.7
func (*CSCrossSrvChatMsg) Descriptor() ([]byte, []int)
Deprecated: Use CSCrossSrvChatMsg.ProtoReflect.Descriptor instead.
func (*CSCrossSrvChatMsg) GetContent ¶ added in v1.3.7
func (x *CSCrossSrvChatMsg) GetContent() string
func (*CSCrossSrvChatMsg) GetIsUseTrumpet ¶ added in v1.3.7
func (x *CSCrossSrvChatMsg) GetIsUseTrumpet() bool
func (*CSCrossSrvChatMsg) GetIsVoice ¶ added in v1.3.7
func (x *CSCrossSrvChatMsg) GetIsVoice() bool
func (*CSCrossSrvChatMsg) GetMessageType ¶ added in v1.3.7
func (x *CSCrossSrvChatMsg) GetMessageType() uint32
func (*CSCrossSrvChatMsg) ProtoMessage ¶ added in v1.3.7
func (*CSCrossSrvChatMsg) ProtoMessage()
func (*CSCrossSrvChatMsg) ProtoReflect ¶ added in v1.3.7
func (x *CSCrossSrvChatMsg) ProtoReflect() protoreflect.Message
func (*CSCrossSrvChatMsg) Reset ¶ added in v1.3.7
func (x *CSCrossSrvChatMsg) Reset()
func (*CSCrossSrvChatMsg) String ¶ added in v1.3.7
func (x *CSCrossSrvChatMsg) String() string
func (*CSCrossSrvChatMsg) Validate ¶ added in v1.3.7
func (m *CSCrossSrvChatMsg) Validate() error
Validate checks the field values on CSCrossSrvChatMsg with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSCrossSrvChatMsgValidationError ¶ added in v1.3.7
type CSCrossSrvChatMsgValidationError struct {
// contains filtered or unexported fields
}
CSCrossSrvChatMsgValidationError is the validation error returned by CSCrossSrvChatMsg.Validate if the designated constraints aren't met.
func (CSCrossSrvChatMsgValidationError) Cause ¶ added in v1.3.7
func (e CSCrossSrvChatMsgValidationError) Cause() error
Cause function returns cause value.
func (CSCrossSrvChatMsgValidationError) Error ¶ added in v1.3.7
func (e CSCrossSrvChatMsgValidationError) Error() string
Error satisfies the builtin error interface
func (CSCrossSrvChatMsgValidationError) ErrorName ¶ added in v1.3.7
func (e CSCrossSrvChatMsgValidationError) ErrorName() string
ErrorName returns error name.
func (CSCrossSrvChatMsgValidationError) Field ¶ added in v1.3.7
func (e CSCrossSrvChatMsgValidationError) Field() string
Field function returns field value.
func (CSCrossSrvChatMsgValidationError) Key ¶ added in v1.3.7
func (e CSCrossSrvChatMsgValidationError) Key() bool
Key function returns key value.
func (CSCrossSrvChatMsgValidationError) Reason ¶ added in v1.3.7
func (e CSCrossSrvChatMsgValidationError) Reason() string
Reason function returns reason value.
type ChatBaseInfo ¶
type ChatBaseInfo struct { BubbleFrame uint32 `protobuf:"varint,1,opt,name=bubbleFrame,proto3" json:"bubbleFrame,omitempty"` // 气泡框 s 表示发送者 Head uint32 `protobuf:"varint,2,opt,name=head,proto3" json:"head,omitempty"` // 头像 HeadFrame uint32 `protobuf:"varint,3,opt,name=headFrame,proto3" json:"headFrame,omitempty"` // 头像框 NickName string `protobuf:"bytes,4,opt,name=nickName,proto3" json:"nickName,omitempty"` // 昵称 Id uint64 `protobuf:"varint,5,opt,name=Id,proto3" json:"Id,omitempty"` // contains filtered or unexported fields }
func (*ChatBaseInfo) Descriptor
deprecated
func (*ChatBaseInfo) Descriptor() ([]byte, []int)
Deprecated: Use ChatBaseInfo.ProtoReflect.Descriptor instead.
func (*ChatBaseInfo) GetBubbleFrame ¶
func (x *ChatBaseInfo) GetBubbleFrame() uint32
func (*ChatBaseInfo) GetHead ¶
func (x *ChatBaseInfo) GetHead() uint32
func (*ChatBaseInfo) GetHeadFrame ¶
func (x *ChatBaseInfo) GetHeadFrame() uint32
func (*ChatBaseInfo) GetId ¶
func (x *ChatBaseInfo) GetId() uint64
func (*ChatBaseInfo) GetNickName ¶
func (x *ChatBaseInfo) GetNickName() string
func (*ChatBaseInfo) ProtoMessage ¶
func (*ChatBaseInfo) ProtoMessage()
func (*ChatBaseInfo) ProtoReflect ¶
func (x *ChatBaseInfo) ProtoReflect() protoreflect.Message
func (*ChatBaseInfo) Reset ¶
func (x *ChatBaseInfo) Reset()
func (*ChatBaseInfo) String ¶
func (x *ChatBaseInfo) String() string
func (*ChatBaseInfo) Validate ¶
func (m *ChatBaseInfo) Validate() error
Validate checks the field values on ChatBaseInfo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ChatBaseInfoValidationError ¶
type ChatBaseInfoValidationError struct {
// contains filtered or unexported fields
}
ChatBaseInfoValidationError is the validation error returned by ChatBaseInfo.Validate if the designated constraints aren't met.
func (ChatBaseInfoValidationError) Cause ¶
func (e ChatBaseInfoValidationError) Cause() error
Cause function returns cause value.
func (ChatBaseInfoValidationError) Error ¶
func (e ChatBaseInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ChatBaseInfoValidationError) ErrorName ¶
func (e ChatBaseInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ChatBaseInfoValidationError) Field ¶
func (e ChatBaseInfoValidationError) Field() string
Field function returns field value.
func (ChatBaseInfoValidationError) Key ¶
func (e ChatBaseInfoValidationError) Key() bool
Key function returns key value.
func (ChatBaseInfoValidationError) Reason ¶
func (e ChatBaseInfoValidationError) Reason() string
Reason function returns reason value.
type ChatChan ¶
type ChatChan int32
const ( ChatChan_None ChatChan = 0 // 空 ChatChan_comprehensive ChatChan = 1 // 综合聊天 ChatChan_World ChatChan = 2 // 全服聊天 ChatChan_Zone ChatChan = 3 // 本区聊天 ChatChan_Local ChatChan = 4 // 本服聊天 ChatChan_Cross ChatChan = 5 // 跨服聊天 ChatChan_Private ChatChan = 8 // 私有聊天 ChatChan_System ChatChan = 9 // 系统聊天 ChatChan_Scene ChatChan = 10 // 附近聊天 )
func (ChatChan) Descriptor ¶
func (ChatChan) Descriptor() protoreflect.EnumDescriptor
func (ChatChan) EnumDescriptor
deprecated
func (ChatChan) Number ¶
func (x ChatChan) Number() protoreflect.EnumNumber
func (ChatChan) Type ¶
func (ChatChan) Type() protoreflect.EnumType
type ChatStatistics ¶
type ChatStatistics struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // UseNum uint32 `protobuf:"varint,2,opt,name=UseNum,proto3" json:"UseNum,omitempty"` // 当天使用次数 TimeNum uint32 `protobuf:"varint,3,opt,name=TimeNum,proto3" json:"TimeNum,omitempty"` // 单位时间次数 Speaker uint32 `protobuf:"varint,4,opt,name=Speaker,proto3" json:"Speaker,omitempty"` // 使用喇叭次数 LastTime int64 `protobuf:"varint,5,opt,name=LastTime,proto3" json:"LastTime,omitempty"` // 最后一次发送时间 PriNum uint32 `protobuf:"varint,6,opt,name=PriNum,proto3" json:"PriNum,omitempty"` // 私聊次数 // contains filtered or unexported fields }
func (*ChatStatistics) Descriptor
deprecated
func (*ChatStatistics) Descriptor() ([]byte, []int)
Deprecated: Use ChatStatistics.ProtoReflect.Descriptor instead.
func (*ChatStatistics) GetId ¶
func (x *ChatStatistics) GetId() uint32
func (*ChatStatistics) GetLastTime ¶
func (x *ChatStatistics) GetLastTime() int64
func (*ChatStatistics) GetPriNum ¶
func (x *ChatStatistics) GetPriNum() uint32
func (*ChatStatistics) GetSpeaker ¶
func (x *ChatStatistics) GetSpeaker() uint32
func (*ChatStatistics) GetTimeNum ¶
func (x *ChatStatistics) GetTimeNum() uint32
func (*ChatStatistics) GetUseNum ¶
func (x *ChatStatistics) GetUseNum() uint32
func (*ChatStatistics) ProtoMessage ¶
func (*ChatStatistics) ProtoMessage()
func (*ChatStatistics) ProtoReflect ¶
func (x *ChatStatistics) ProtoReflect() protoreflect.Message
func (*ChatStatistics) Reset ¶
func (x *ChatStatistics) Reset()
func (*ChatStatistics) String ¶
func (x *ChatStatistics) String() string
func (*ChatStatistics) Validate ¶
func (m *ChatStatistics) Validate() error
Validate checks the field values on ChatStatistics with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ChatStatisticsValidationError ¶
type ChatStatisticsValidationError struct {
// contains filtered or unexported fields
}
ChatStatisticsValidationError is the validation error returned by ChatStatistics.Validate if the designated constraints aren't met.
func (ChatStatisticsValidationError) Cause ¶
func (e ChatStatisticsValidationError) Cause() error
Cause function returns cause value.
func (ChatStatisticsValidationError) Error ¶
func (e ChatStatisticsValidationError) Error() string
Error satisfies the builtin error interface
func (ChatStatisticsValidationError) ErrorName ¶
func (e ChatStatisticsValidationError) ErrorName() string
ErrorName returns error name.
func (ChatStatisticsValidationError) Field ¶
func (e ChatStatisticsValidationError) Field() string
Field function returns field value.
func (ChatStatisticsValidationError) Key ¶
func (e ChatStatisticsValidationError) Key() bool
Key function returns key value.
func (ChatStatisticsValidationError) Reason ¶
func (e ChatStatisticsValidationError) Reason() string
Reason function returns reason value.
type PrivateChatMsg ¶
type PrivateChatMsg struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` SendTime int64 `protobuf:"varint,2,opt,name=sendTime,proto3" json:"sendTime,omitempty"` Sender *ChatBaseInfo `protobuf:"bytes,3,opt,name=Sender,proto3" json:"Sender,omitempty"` Receiver *ChatBaseInfo `protobuf:"bytes,4,opt,name=receiver,proto3" json:"receiver,omitempty"` IsVoice bool `protobuf:"varint,5,opt,name=isVoice,proto3" json:"isVoice,omitempty"` Degree int32 `protobuf:"varint,6,opt,name=degree,proto3" json:"degree,omitempty"` // 好友度 // contains filtered or unexported fields }
func (*PrivateChatMsg) Descriptor
deprecated
func (*PrivateChatMsg) Descriptor() ([]byte, []int)
Deprecated: Use PrivateChatMsg.ProtoReflect.Descriptor instead.
func (*PrivateChatMsg) GetContent ¶
func (x *PrivateChatMsg) GetContent() string
func (*PrivateChatMsg) GetDegree ¶
func (x *PrivateChatMsg) GetDegree() int32
func (*PrivateChatMsg) GetIsVoice ¶
func (x *PrivateChatMsg) GetIsVoice() bool
func (*PrivateChatMsg) GetReceiver ¶
func (x *PrivateChatMsg) GetReceiver() *ChatBaseInfo
func (*PrivateChatMsg) GetSendTime ¶
func (x *PrivateChatMsg) GetSendTime() int64
func (*PrivateChatMsg) GetSender ¶
func (x *PrivateChatMsg) GetSender() *ChatBaseInfo
func (*PrivateChatMsg) ProtoMessage ¶
func (*PrivateChatMsg) ProtoMessage()
func (*PrivateChatMsg) ProtoReflect ¶
func (x *PrivateChatMsg) ProtoReflect() protoreflect.Message
func (*PrivateChatMsg) Reset ¶
func (x *PrivateChatMsg) Reset()
func (*PrivateChatMsg) String ¶
func (x *PrivateChatMsg) String() string
func (*PrivateChatMsg) Validate ¶
func (m *PrivateChatMsg) Validate() error
Validate checks the field values on PrivateChatMsg with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PrivateChatMsgValidationError ¶
type PrivateChatMsgValidationError struct {
// contains filtered or unexported fields
}
PrivateChatMsgValidationError is the validation error returned by PrivateChatMsg.Validate if the designated constraints aren't met.
func (PrivateChatMsgValidationError) Cause ¶
func (e PrivateChatMsgValidationError) Cause() error
Cause function returns cause value.
func (PrivateChatMsgValidationError) Error ¶
func (e PrivateChatMsgValidationError) Error() string
Error satisfies the builtin error interface
func (PrivateChatMsgValidationError) ErrorName ¶
func (e PrivateChatMsgValidationError) ErrorName() string
ErrorName returns error name.
func (PrivateChatMsgValidationError) Field ¶
func (e PrivateChatMsgValidationError) Field() string
Field function returns field value.
func (PrivateChatMsgValidationError) Key ¶
func (e PrivateChatMsgValidationError) Key() bool
Key function returns key value.
func (PrivateChatMsgValidationError) Reason ¶
func (e PrivateChatMsgValidationError) Reason() string
Reason function returns reason value.
type SCCrossSrvChatMsg ¶ added in v1.3.7
type SCCrossSrvChatMsg struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` Sender *ChatBaseInfo `protobuf:"bytes,2,opt,name=Sender,proto3" json:"Sender,omitempty"` Receiver *ChatBaseInfo `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` IsVoice bool `protobuf:"varint,4,opt,name=isVoice,proto3" json:"isVoice,omitempty"` SendTime int64 `protobuf:"varint,5,opt,name=SendTime,proto3" json:"SendTime,omitempty"` Degree int32 `protobuf:"varint,6,opt,name=degree,proto3" json:"degree,omitempty"` ZoneID int32 `protobuf:"varint,7,opt,name=zoneID,proto3" json:"zoneID,omitempty"` MessageType uint32 `protobuf:"varint,8,opt,name=messageType,proto3" json:"messageType,omitempty"` ProcIndex uint32 `protobuf:"varint,9,opt,name=procIndex,proto3" json:"procIndex,omitempty"` RangeOfSrv uint32 `protobuf:"varint,10,opt,name=rangeOfSrv,proto3" json:"rangeOfSrv,omitempty"` IsUseTrumpet bool `protobuf:"varint,11,opt,name=isUseTrumpet,proto3" json:"isUseTrumpet,omitempty"` OldContent string `protobuf:"bytes,12,opt,name=oldContent,proto3" json:"oldContent,omitempty"` // contains filtered or unexported fields }
func (*SCCrossSrvChatMsg) Descriptor
deprecated
added in
v1.3.7
func (*SCCrossSrvChatMsg) Descriptor() ([]byte, []int)
Deprecated: Use SCCrossSrvChatMsg.ProtoReflect.Descriptor instead.
func (*SCCrossSrvChatMsg) GetContent ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) GetContent() string
func (*SCCrossSrvChatMsg) GetDegree ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) GetDegree() int32
func (*SCCrossSrvChatMsg) GetIsUseTrumpet ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) GetIsUseTrumpet() bool
func (*SCCrossSrvChatMsg) GetIsVoice ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) GetIsVoice() bool
func (*SCCrossSrvChatMsg) GetMessageType ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) GetMessageType() uint32
func (*SCCrossSrvChatMsg) GetOldContent ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) GetOldContent() string
func (*SCCrossSrvChatMsg) GetProcIndex ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) GetProcIndex() uint32
func (*SCCrossSrvChatMsg) GetRangeOfSrv ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) GetRangeOfSrv() uint32
func (*SCCrossSrvChatMsg) GetReceiver ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) GetReceiver() *ChatBaseInfo
func (*SCCrossSrvChatMsg) GetSendTime ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) GetSendTime() int64
func (*SCCrossSrvChatMsg) GetSender ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) GetSender() *ChatBaseInfo
func (*SCCrossSrvChatMsg) GetZoneID ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) GetZoneID() int32
func (*SCCrossSrvChatMsg) ProtoMessage ¶ added in v1.3.7
func (*SCCrossSrvChatMsg) ProtoMessage()
func (*SCCrossSrvChatMsg) ProtoReflect ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) ProtoReflect() protoreflect.Message
func (*SCCrossSrvChatMsg) Reset ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) Reset()
func (*SCCrossSrvChatMsg) String ¶ added in v1.3.7
func (x *SCCrossSrvChatMsg) String() string
func (*SCCrossSrvChatMsg) Validate ¶ added in v1.3.7
func (m *SCCrossSrvChatMsg) Validate() error
Validate checks the field values on SCCrossSrvChatMsg with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCCrossSrvChatMsgValidationError ¶ added in v1.3.7
type SCCrossSrvChatMsgValidationError struct {
// contains filtered or unexported fields
}
SCCrossSrvChatMsgValidationError is the validation error returned by SCCrossSrvChatMsg.Validate if the designated constraints aren't met.
func (SCCrossSrvChatMsgValidationError) Cause ¶ added in v1.3.7
func (e SCCrossSrvChatMsgValidationError) Cause() error
Cause function returns cause value.
func (SCCrossSrvChatMsgValidationError) Error ¶ added in v1.3.7
func (e SCCrossSrvChatMsgValidationError) Error() string
Error satisfies the builtin error interface
func (SCCrossSrvChatMsgValidationError) ErrorName ¶ added in v1.3.7
func (e SCCrossSrvChatMsgValidationError) ErrorName() string
ErrorName returns error name.
func (SCCrossSrvChatMsgValidationError) Field ¶ added in v1.3.7
func (e SCCrossSrvChatMsgValidationError) Field() string
Field function returns field value.
func (SCCrossSrvChatMsgValidationError) Key ¶ added in v1.3.7
func (e SCCrossSrvChatMsgValidationError) Key() bool
Key function returns key value.
func (SCCrossSrvChatMsgValidationError) Reason ¶ added in v1.3.7
func (e SCCrossSrvChatMsgValidationError) Reason() string
Reason function returns reason value.
type SCSystemMessage ¶ added in v1.4.0
type SCSystemMessage struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` MsgType uint32 `protobuf:"varint,2,opt,name=msgType,proto3" json:"msgType,omitempty"` SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime,omitempty"` Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"` Paras string `protobuf:"bytes,5,opt,name=paras,proto3" json:"paras,omitempty"` Modules string `protobuf:"bytes,6,opt,name=modules,proto3" json:"modules,omitempty"` Channels string `protobuf:"bytes,7,opt,name=channels,proto3" json:"channels,omitempty"` // contains filtered or unexported fields }
func (*SCSystemMessage) Descriptor
deprecated
added in
v1.4.0
func (*SCSystemMessage) Descriptor() ([]byte, []int)
Deprecated: Use SCSystemMessage.ProtoReflect.Descriptor instead.
func (*SCSystemMessage) GetChannels ¶ added in v1.4.0
func (x *SCSystemMessage) GetChannels() string
func (*SCSystemMessage) GetContent ¶ added in v1.4.0
func (x *SCSystemMessage) GetContent() string
func (*SCSystemMessage) GetLanguage ¶ added in v1.4.0
func (x *SCSystemMessage) GetLanguage() string
func (*SCSystemMessage) GetModules ¶ added in v1.4.0
func (x *SCSystemMessage) GetModules() string
func (*SCSystemMessage) GetMsgType ¶ added in v1.4.0
func (x *SCSystemMessage) GetMsgType() uint32
func (*SCSystemMessage) GetParas ¶ added in v1.4.0
func (x *SCSystemMessage) GetParas() string
func (*SCSystemMessage) GetSendTime ¶ added in v1.4.0
func (x *SCSystemMessage) GetSendTime() int64
func (*SCSystemMessage) ProtoMessage ¶ added in v1.4.0
func (*SCSystemMessage) ProtoMessage()
func (*SCSystemMessage) ProtoReflect ¶ added in v1.4.0
func (x *SCSystemMessage) ProtoReflect() protoreflect.Message
func (*SCSystemMessage) Reset ¶ added in v1.4.0
func (x *SCSystemMessage) Reset()
func (*SCSystemMessage) String ¶ added in v1.4.0
func (x *SCSystemMessage) String() string
func (*SCSystemMessage) Validate ¶ added in v1.4.0
func (m *SCSystemMessage) Validate() error
Validate checks the field values on SCSystemMessage with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCSystemMessageValidationError ¶ added in v1.4.0
type SCSystemMessageValidationError struct {
// contains filtered or unexported fields
}
SCSystemMessageValidationError is the validation error returned by SCSystemMessage.Validate if the designated constraints aren't met.
func (SCSystemMessageValidationError) Cause ¶ added in v1.4.0
func (e SCSystemMessageValidationError) Cause() error
Cause function returns cause value.
func (SCSystemMessageValidationError) Error ¶ added in v1.4.0
func (e SCSystemMessageValidationError) Error() string
Error satisfies the builtin error interface
func (SCSystemMessageValidationError) ErrorName ¶ added in v1.4.0
func (e SCSystemMessageValidationError) ErrorName() string
ErrorName returns error name.
func (SCSystemMessageValidationError) Field ¶ added in v1.4.0
func (e SCSystemMessageValidationError) Field() string
Field function returns field value.
func (SCSystemMessageValidationError) Key ¶ added in v1.4.0
func (e SCSystemMessageValidationError) Key() bool
Key function returns key value.
func (SCSystemMessageValidationError) Reason ¶ added in v1.4.0
func (e SCSystemMessageValidationError) Reason() string
Reason function returns reason value.