Documentation ¶
Index ¶
- Variables
- type CSAddFriend
- type CSAddFriendValidationError
- func (e CSAddFriendValidationError) Cause() error
- func (e CSAddFriendValidationError) Error() string
- func (e CSAddFriendValidationError) ErrorName() string
- func (e CSAddFriendValidationError) Field() string
- func (e CSAddFriendValidationError) Key() bool
- func (e CSAddFriendValidationError) Reason() string
- type CSCreateUser
- func (*CSCreateUser) Descriptor() ([]byte, []int)deprecated
- func (x *CSCreateUser) GetPassword() string
- func (x *CSCreateUser) GetUserName() string
- func (*CSCreateUser) ProtoMessage()
- func (x *CSCreateUser) ProtoReflect() protoreflect.Message
- func (x *CSCreateUser) Reset()
- func (x *CSCreateUser) String() string
- func (m *CSCreateUser) Validate() error
- type CSCreateUserValidationError
- func (e CSCreateUserValidationError) Cause() error
- func (e CSCreateUserValidationError) Error() string
- func (e CSCreateUserValidationError) ErrorName() string
- func (e CSCreateUserValidationError) Field() string
- func (e CSCreateUserValidationError) Key() bool
- func (e CSCreateUserValidationError) Reason() string
- type CSDelFriend
- type CSDelFriendValidationError
- func (e CSDelFriendValidationError) Cause() error
- func (e CSDelFriendValidationError) Error() string
- func (e CSDelFriendValidationError) ErrorName() string
- func (e CSDelFriendValidationError) Field() string
- func (e CSDelFriendValidationError) Key() bool
- func (e CSDelFriendValidationError) Reason() string
- type CSLogin
- func (*CSLogin) Descriptor() ([]byte, []int)deprecated
- func (x *CSLogin) GetPassword() string
- func (x *CSLogin) GetUserName() string
- func (*CSLogin) ProtoMessage()
- func (x *CSLogin) ProtoReflect() protoreflect.Message
- func (x *CSLogin) Reset()
- func (x *CSLogin) String() string
- func (m *CSLogin) Validate() error
- type CSLoginValidationError
- type CSSendChatMsg
- func (*CSSendChatMsg) Descriptor() ([]byte, []int)deprecated
- func (x *CSSendChatMsg) GetCategory() int32
- func (x *CSSendChatMsg) GetMsg() *ChatMessage
- func (x *CSSendChatMsg) GetUId() uint64
- func (*CSSendChatMsg) ProtoMessage()
- func (x *CSSendChatMsg) ProtoReflect() protoreflect.Message
- func (x *CSSendChatMsg) Reset()
- func (x *CSSendChatMsg) String() string
- func (m *CSSendChatMsg) Validate() error
- type CSSendChatMsgValidationError
- func (e CSSendChatMsgValidationError) Cause() error
- func (e CSSendChatMsgValidationError) Error() string
- func (e CSSendChatMsgValidationError) ErrorName() string
- func (e CSSendChatMsgValidationError) Field() string
- func (e CSSendChatMsgValidationError) Key() bool
- func (e CSSendChatMsgValidationError) Reason() string
- type ChatMessage
- func (*ChatMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMessage) GetContent() string
- func (x *ChatMessage) GetExtra() [][]byte
- func (*ChatMessage) ProtoMessage()
- func (x *ChatMessage) ProtoReflect() protoreflect.Message
- func (x *ChatMessage) Reset()
- func (x *ChatMessage) String() string
- func (m *ChatMessage) Validate() error
- type ChatMessageValidationError
- func (e ChatMessageValidationError) Cause() error
- func (e ChatMessageValidationError) Error() string
- func (e ChatMessageValidationError) ErrorName() string
- func (e ChatMessageValidationError) Field() string
- func (e ChatMessageValidationError) Key() bool
- func (e ChatMessageValidationError) Reason() string
- type SCAddFriend
- type SCAddFriendValidationError
- func (e SCAddFriendValidationError) Cause() error
- func (e SCAddFriendValidationError) Error() string
- func (e SCAddFriendValidationError) ErrorName() string
- func (e SCAddFriendValidationError) Field() string
- func (e SCAddFriendValidationError) Key() bool
- func (e SCAddFriendValidationError) Reason() string
- type SCCreateUser
- type SCCreateUserValidationError
- func (e SCCreateUserValidationError) Cause() error
- func (e SCCreateUserValidationError) Error() string
- func (e SCCreateUserValidationError) ErrorName() string
- func (e SCCreateUserValidationError) Field() string
- func (e SCCreateUserValidationError) Key() bool
- func (e SCCreateUserValidationError) Reason() string
- type SCDelFriend
- type SCDelFriendValidationError
- func (e SCDelFriendValidationError) Cause() error
- func (e SCDelFriendValidationError) Error() string
- func (e SCDelFriendValidationError) ErrorName() string
- func (e SCDelFriendValidationError) Field() string
- func (e SCDelFriendValidationError) Key() bool
- func (e SCDelFriendValidationError) Reason() string
- type SCLogin
- type SCLoginValidationError
- type SCSendChatMsg
- type SCSendChatMsgValidationError
- func (e SCSendChatMsgValidationError) Cause() error
- func (e SCSendChatMsgValidationError) Error() string
- func (e SCSendChatMsgValidationError) ErrorName() string
- func (e SCSendChatMsgValidationError) Field() string
- func (e SCSendChatMsgValidationError) Key() bool
- func (e SCSendChatMsgValidationError) Reason() string
- type Test
- type TestValidationError
Constants ¶
This section is empty.
Variables ¶
var File_player_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CSAddFriend ¶
type CSAddFriend struct { UId uint64 `protobuf:"varint,1,opt,name=UId,proto3" json:"UId,omitempty"` // contains filtered or unexported fields }
func (*CSAddFriend) Descriptor
deprecated
func (*CSAddFriend) Descriptor() ([]byte, []int)
Deprecated: Use CSAddFriend.ProtoReflect.Descriptor instead.
func (*CSAddFriend) GetUId ¶
func (x *CSAddFriend) GetUId() uint64
func (*CSAddFriend) ProtoMessage ¶
func (*CSAddFriend) ProtoMessage()
func (*CSAddFriend) ProtoReflect ¶
func (x *CSAddFriend) ProtoReflect() protoreflect.Message
func (*CSAddFriend) Reset ¶
func (x *CSAddFriend) Reset()
func (*CSAddFriend) String ¶
func (x *CSAddFriend) String() string
func (*CSAddFriend) Validate ¶
func (m *CSAddFriend) Validate() error
Validate checks the field values on CSAddFriend with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSAddFriendValidationError ¶
type CSAddFriendValidationError struct {
// contains filtered or unexported fields
}
CSAddFriendValidationError is the validation error returned by CSAddFriend.Validate if the designated constraints aren't met.
func (CSAddFriendValidationError) Cause ¶
func (e CSAddFriendValidationError) Cause() error
Cause function returns cause value.
func (CSAddFriendValidationError) Error ¶
func (e CSAddFriendValidationError) Error() string
Error satisfies the builtin error interface
func (CSAddFriendValidationError) ErrorName ¶
func (e CSAddFriendValidationError) ErrorName() string
ErrorName returns error name.
func (CSAddFriendValidationError) Field ¶
func (e CSAddFriendValidationError) Field() string
Field function returns field value.
func (CSAddFriendValidationError) Key ¶
func (e CSAddFriendValidationError) Key() bool
Key function returns key value.
func (CSAddFriendValidationError) Reason ¶
func (e CSAddFriendValidationError) Reason() string
Reason function returns reason value.
type CSCreateUser ¶
type CSCreateUser struct { UserName string `protobuf:"bytes,1,opt,name=UserName,proto3" json:"UserName,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` // contains filtered or unexported fields }
func (*CSCreateUser) Descriptor
deprecated
func (*CSCreateUser) Descriptor() ([]byte, []int)
Deprecated: Use CSCreateUser.ProtoReflect.Descriptor instead.
func (*CSCreateUser) GetPassword ¶
func (x *CSCreateUser) GetPassword() string
func (*CSCreateUser) GetUserName ¶
func (x *CSCreateUser) GetUserName() string
func (*CSCreateUser) ProtoMessage ¶
func (*CSCreateUser) ProtoMessage()
func (*CSCreateUser) ProtoReflect ¶
func (x *CSCreateUser) ProtoReflect() protoreflect.Message
func (*CSCreateUser) Reset ¶
func (x *CSCreateUser) Reset()
func (*CSCreateUser) String ¶
func (x *CSCreateUser) String() string
func (*CSCreateUser) Validate ¶
func (m *CSCreateUser) Validate() error
Validate checks the field values on CSCreateUser with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSCreateUserValidationError ¶
type CSCreateUserValidationError struct {
// contains filtered or unexported fields
}
CSCreateUserValidationError is the validation error returned by CSCreateUser.Validate if the designated constraints aren't met.
func (CSCreateUserValidationError) Cause ¶
func (e CSCreateUserValidationError) Cause() error
Cause function returns cause value.
func (CSCreateUserValidationError) Error ¶
func (e CSCreateUserValidationError) Error() string
Error satisfies the builtin error interface
func (CSCreateUserValidationError) ErrorName ¶
func (e CSCreateUserValidationError) ErrorName() string
ErrorName returns error name.
func (CSCreateUserValidationError) Field ¶
func (e CSCreateUserValidationError) Field() string
Field function returns field value.
func (CSCreateUserValidationError) Key ¶
func (e CSCreateUserValidationError) Key() bool
Key function returns key value.
func (CSCreateUserValidationError) Reason ¶
func (e CSCreateUserValidationError) Reason() string
Reason function returns reason value.
type CSDelFriend ¶
type CSDelFriend struct { UId uint64 `protobuf:"varint,1,opt,name=UId,proto3" json:"UId,omitempty"` //玩家Id // contains filtered or unexported fields }
func (*CSDelFriend) Descriptor
deprecated
func (*CSDelFriend) Descriptor() ([]byte, []int)
Deprecated: Use CSDelFriend.ProtoReflect.Descriptor instead.
func (*CSDelFriend) GetUId ¶
func (x *CSDelFriend) GetUId() uint64
func (*CSDelFriend) ProtoMessage ¶
func (*CSDelFriend) ProtoMessage()
func (*CSDelFriend) ProtoReflect ¶
func (x *CSDelFriend) ProtoReflect() protoreflect.Message
func (*CSDelFriend) Reset ¶
func (x *CSDelFriend) Reset()
func (*CSDelFriend) String ¶
func (x *CSDelFriend) String() string
func (*CSDelFriend) Validate ¶
func (m *CSDelFriend) Validate() error
Validate checks the field values on CSDelFriend with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSDelFriendValidationError ¶
type CSDelFriendValidationError struct {
// contains filtered or unexported fields
}
CSDelFriendValidationError is the validation error returned by CSDelFriend.Validate if the designated constraints aren't met.
func (CSDelFriendValidationError) Cause ¶
func (e CSDelFriendValidationError) Cause() error
Cause function returns cause value.
func (CSDelFriendValidationError) Error ¶
func (e CSDelFriendValidationError) Error() string
Error satisfies the builtin error interface
func (CSDelFriendValidationError) ErrorName ¶
func (e CSDelFriendValidationError) ErrorName() string
ErrorName returns error name.
func (CSDelFriendValidationError) Field ¶
func (e CSDelFriendValidationError) Field() string
Field function returns field value.
func (CSDelFriendValidationError) Key ¶
func (e CSDelFriendValidationError) Key() bool
Key function returns key value.
func (CSDelFriendValidationError) Reason ¶
func (e CSDelFriendValidationError) Reason() string
Reason function returns reason value.
type CSLogin ¶
type CSLogin struct { UserName string `protobuf:"bytes,1,opt,name=UserName,proto3" json:"UserName,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` // contains filtered or unexported fields }
func (*CSLogin) Descriptor
deprecated
func (*CSLogin) GetPassword ¶
func (*CSLogin) GetUserName ¶
func (*CSLogin) ProtoMessage ¶
func (*CSLogin) ProtoMessage()
func (*CSLogin) ProtoReflect ¶
func (x *CSLogin) ProtoReflect() protoreflect.Message
type CSLoginValidationError ¶
type CSLoginValidationError struct {
// contains filtered or unexported fields
}
CSLoginValidationError is the validation error returned by CSLogin.Validate if the designated constraints aren't met.
func (CSLoginValidationError) Cause ¶
func (e CSLoginValidationError) Cause() error
Cause function returns cause value.
func (CSLoginValidationError) Error ¶
func (e CSLoginValidationError) Error() string
Error satisfies the builtin error interface
func (CSLoginValidationError) ErrorName ¶
func (e CSLoginValidationError) ErrorName() string
ErrorName returns error name.
func (CSLoginValidationError) Field ¶
func (e CSLoginValidationError) Field() string
Field function returns field value.
func (CSLoginValidationError) Key ¶
func (e CSLoginValidationError) Key() bool
Key function returns key value.
func (CSLoginValidationError) Reason ¶
func (e CSLoginValidationError) Reason() string
Reason function returns reason value.
type CSSendChatMsg ¶
type CSSendChatMsg struct { UId uint64 `protobuf:"varint,1,opt,name=UId,proto3" json:"UId,omitempty"` Msg *ChatMessage `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Category int32 `protobuf:"varint,3,opt,name=Category,proto3" json:"Category,omitempty"` //聊天类型 // contains filtered or unexported fields }
聊天请求
func (*CSSendChatMsg) Descriptor
deprecated
func (*CSSendChatMsg) Descriptor() ([]byte, []int)
Deprecated: Use CSSendChatMsg.ProtoReflect.Descriptor instead.
func (*CSSendChatMsg) GetCategory ¶
func (x *CSSendChatMsg) GetCategory() int32
func (*CSSendChatMsg) GetMsg ¶
func (x *CSSendChatMsg) GetMsg() *ChatMessage
func (*CSSendChatMsg) GetUId ¶
func (x *CSSendChatMsg) GetUId() uint64
func (*CSSendChatMsg) ProtoMessage ¶
func (*CSSendChatMsg) ProtoMessage()
func (*CSSendChatMsg) ProtoReflect ¶
func (x *CSSendChatMsg) ProtoReflect() protoreflect.Message
func (*CSSendChatMsg) Reset ¶
func (x *CSSendChatMsg) Reset()
func (*CSSendChatMsg) String ¶
func (x *CSSendChatMsg) String() string
func (*CSSendChatMsg) Validate ¶
func (m *CSSendChatMsg) Validate() error
Validate checks the field values on CSSendChatMsg with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSSendChatMsgValidationError ¶
type CSSendChatMsgValidationError struct {
// contains filtered or unexported fields
}
CSSendChatMsgValidationError is the validation error returned by CSSendChatMsg.Validate if the designated constraints aren't met.
func (CSSendChatMsgValidationError) Cause ¶
func (e CSSendChatMsgValidationError) Cause() error
Cause function returns cause value.
func (CSSendChatMsgValidationError) Error ¶
func (e CSSendChatMsgValidationError) Error() string
Error satisfies the builtin error interface
func (CSSendChatMsgValidationError) ErrorName ¶
func (e CSSendChatMsgValidationError) ErrorName() string
ErrorName returns error name.
func (CSSendChatMsgValidationError) Field ¶
func (e CSSendChatMsgValidationError) Field() string
Field function returns field value.
func (CSSendChatMsgValidationError) Key ¶
func (e CSSendChatMsgValidationError) Key() bool
Key function returns key value.
func (CSSendChatMsgValidationError) Reason ¶
func (e CSSendChatMsgValidationError) Reason() string
Reason function returns reason value.
type ChatMessage ¶
type ChatMessage struct { Content string `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"` Extra [][]byte `protobuf:"bytes,2,rep,name=extra,proto3" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*ChatMessage) Descriptor
deprecated
func (*ChatMessage) Descriptor() ([]byte, []int)
Deprecated: Use ChatMessage.ProtoReflect.Descriptor instead.
func (*ChatMessage) GetContent ¶
func (x *ChatMessage) GetContent() string
func (*ChatMessage) GetExtra ¶
func (x *ChatMessage) GetExtra() [][]byte
func (*ChatMessage) ProtoMessage ¶
func (*ChatMessage) ProtoMessage()
func (*ChatMessage) ProtoReflect ¶
func (x *ChatMessage) ProtoReflect() protoreflect.Message
func (*ChatMessage) Reset ¶
func (x *ChatMessage) Reset()
func (*ChatMessage) String ¶
func (x *ChatMessage) String() string
func (*ChatMessage) Validate ¶
func (m *ChatMessage) Validate() error
Validate checks the field values on ChatMessage with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ChatMessageValidationError ¶
type ChatMessageValidationError struct {
// contains filtered or unexported fields
}
ChatMessageValidationError is the validation error returned by ChatMessage.Validate if the designated constraints aren't met.
func (ChatMessageValidationError) Cause ¶
func (e ChatMessageValidationError) Cause() error
Cause function returns cause value.
func (ChatMessageValidationError) Error ¶
func (e ChatMessageValidationError) Error() string
Error satisfies the builtin error interface
func (ChatMessageValidationError) ErrorName ¶
func (e ChatMessageValidationError) ErrorName() string
ErrorName returns error name.
func (ChatMessageValidationError) Field ¶
func (e ChatMessageValidationError) Field() string
Field function returns field value.
func (ChatMessageValidationError) Key ¶
func (e ChatMessageValidationError) Key() bool
Key function returns key value.
func (ChatMessageValidationError) Reason ¶
func (e ChatMessageValidationError) Reason() string
Reason function returns reason value.
type SCAddFriend ¶
type SCAddFriend struct { Desc string `protobuf:"bytes,1,opt,name=Desc,proto3" json:"Desc,omitempty"` // contains filtered or unexported fields }
func (*SCAddFriend) Descriptor
deprecated
func (*SCAddFriend) Descriptor() ([]byte, []int)
Deprecated: Use SCAddFriend.ProtoReflect.Descriptor instead.
func (*SCAddFriend) GetDesc ¶
func (x *SCAddFriend) GetDesc() string
func (*SCAddFriend) ProtoMessage ¶
func (*SCAddFriend) ProtoMessage()
func (*SCAddFriend) ProtoReflect ¶
func (x *SCAddFriend) ProtoReflect() protoreflect.Message
func (*SCAddFriend) Reset ¶
func (x *SCAddFriend) Reset()
func (*SCAddFriend) String ¶
func (x *SCAddFriend) String() string
func (*SCAddFriend) Validate ¶
func (m *SCAddFriend) Validate() error
Validate checks the field values on SCAddFriend with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCAddFriendValidationError ¶
type SCAddFriendValidationError struct {
// contains filtered or unexported fields
}
SCAddFriendValidationError is the validation error returned by SCAddFriend.Validate if the designated constraints aren't met.
func (SCAddFriendValidationError) Cause ¶
func (e SCAddFriendValidationError) Cause() error
Cause function returns cause value.
func (SCAddFriendValidationError) Error ¶
func (e SCAddFriendValidationError) Error() string
Error satisfies the builtin error interface
func (SCAddFriendValidationError) ErrorName ¶
func (e SCAddFriendValidationError) ErrorName() string
ErrorName returns error name.
func (SCAddFriendValidationError) Field ¶
func (e SCAddFriendValidationError) Field() string
Field function returns field value.
func (SCAddFriendValidationError) Key ¶
func (e SCAddFriendValidationError) Key() bool
Key function returns key value.
func (SCAddFriendValidationError) Reason ¶
func (e SCAddFriendValidationError) Reason() string
Reason function returns reason value.
type SCCreateUser ¶
type SCCreateUser struct {
// contains filtered or unexported fields
}
func (*SCCreateUser) Descriptor
deprecated
func (*SCCreateUser) Descriptor() ([]byte, []int)
Deprecated: Use SCCreateUser.ProtoReflect.Descriptor instead.
func (*SCCreateUser) ProtoMessage ¶
func (*SCCreateUser) ProtoMessage()
func (*SCCreateUser) ProtoReflect ¶
func (x *SCCreateUser) ProtoReflect() protoreflect.Message
func (*SCCreateUser) Reset ¶
func (x *SCCreateUser) Reset()
func (*SCCreateUser) String ¶
func (x *SCCreateUser) String() string
func (*SCCreateUser) Validate ¶
func (m *SCCreateUser) Validate() error
Validate checks the field values on SCCreateUser with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCCreateUserValidationError ¶
type SCCreateUserValidationError struct {
// contains filtered or unexported fields
}
SCCreateUserValidationError is the validation error returned by SCCreateUser.Validate if the designated constraints aren't met.
func (SCCreateUserValidationError) Cause ¶
func (e SCCreateUserValidationError) Cause() error
Cause function returns cause value.
func (SCCreateUserValidationError) Error ¶
func (e SCCreateUserValidationError) Error() string
Error satisfies the builtin error interface
func (SCCreateUserValidationError) ErrorName ¶
func (e SCCreateUserValidationError) ErrorName() string
ErrorName returns error name.
func (SCCreateUserValidationError) Field ¶
func (e SCCreateUserValidationError) Field() string
Field function returns field value.
func (SCCreateUserValidationError) Key ¶
func (e SCCreateUserValidationError) Key() bool
Key function returns key value.
func (SCCreateUserValidationError) Reason ¶
func (e SCCreateUserValidationError) Reason() string
Reason function returns reason value.
type SCDelFriend ¶
type SCDelFriend struct { Desc string `protobuf:"bytes,1,opt,name=Desc,proto3" json:"Desc,omitempty"` //请求成功与否描述 // contains filtered or unexported fields }
func (*SCDelFriend) Descriptor
deprecated
func (*SCDelFriend) Descriptor() ([]byte, []int)
Deprecated: Use SCDelFriend.ProtoReflect.Descriptor instead.
func (*SCDelFriend) GetDesc ¶
func (x *SCDelFriend) GetDesc() string
func (*SCDelFriend) ProtoMessage ¶
func (*SCDelFriend) ProtoMessage()
func (*SCDelFriend) ProtoReflect ¶
func (x *SCDelFriend) ProtoReflect() protoreflect.Message
func (*SCDelFriend) Reset ¶
func (x *SCDelFriend) Reset()
func (*SCDelFriend) String ¶
func (x *SCDelFriend) String() string
func (*SCDelFriend) Validate ¶
func (m *SCDelFriend) Validate() error
Validate checks the field values on SCDelFriend with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCDelFriendValidationError ¶
type SCDelFriendValidationError struct {
// contains filtered or unexported fields
}
SCDelFriendValidationError is the validation error returned by SCDelFriend.Validate if the designated constraints aren't met.
func (SCDelFriendValidationError) Cause ¶
func (e SCDelFriendValidationError) Cause() error
Cause function returns cause value.
func (SCDelFriendValidationError) Error ¶
func (e SCDelFriendValidationError) Error() string
Error satisfies the builtin error interface
func (SCDelFriendValidationError) ErrorName ¶
func (e SCDelFriendValidationError) ErrorName() string
ErrorName returns error name.
func (SCDelFriendValidationError) Field ¶
func (e SCDelFriendValidationError) Field() string
Field function returns field value.
func (SCDelFriendValidationError) Key ¶
func (e SCDelFriendValidationError) Key() bool
Key function returns key value.
func (SCDelFriendValidationError) Reason ¶
func (e SCDelFriendValidationError) Reason() string
Reason function returns reason value.
type SCLogin ¶
type SCLogin struct { Ok bool `protobuf:"varint,2,opt,name=Ok,proto3" json:"Ok,omitempty"` // contains filtered or unexported fields }
func (*SCLogin) Descriptor
deprecated
func (*SCLogin) ProtoMessage ¶
func (*SCLogin) ProtoMessage()
func (*SCLogin) ProtoReflect ¶
func (x *SCLogin) ProtoReflect() protoreflect.Message
type SCLoginValidationError ¶
type SCLoginValidationError struct {
// contains filtered or unexported fields
}
SCLoginValidationError is the validation error returned by SCLogin.Validate if the designated constraints aren't met.
func (SCLoginValidationError) Cause ¶
func (e SCLoginValidationError) Cause() error
Cause function returns cause value.
func (SCLoginValidationError) Error ¶
func (e SCLoginValidationError) Error() string
Error satisfies the builtin error interface
func (SCLoginValidationError) ErrorName ¶
func (e SCLoginValidationError) ErrorName() string
ErrorName returns error name.
func (SCLoginValidationError) Field ¶
func (e SCLoginValidationError) Field() string
Field function returns field value.
func (SCLoginValidationError) Key ¶
func (e SCLoginValidationError) Key() bool
Key function returns key value.
func (SCLoginValidationError) Reason ¶
func (e SCLoginValidationError) Reason() string
Reason function returns reason value.
type SCSendChatMsg ¶
type SCSendChatMsg struct {
// contains filtered or unexported fields
}
func (*SCSendChatMsg) Descriptor
deprecated
func (*SCSendChatMsg) Descriptor() ([]byte, []int)
Deprecated: Use SCSendChatMsg.ProtoReflect.Descriptor instead.
func (*SCSendChatMsg) ProtoMessage ¶
func (*SCSendChatMsg) ProtoMessage()
func (*SCSendChatMsg) ProtoReflect ¶
func (x *SCSendChatMsg) ProtoReflect() protoreflect.Message
func (*SCSendChatMsg) Reset ¶
func (x *SCSendChatMsg) Reset()
func (*SCSendChatMsg) String ¶
func (x *SCSendChatMsg) String() string
func (*SCSendChatMsg) Validate ¶
func (m *SCSendChatMsg) Validate() error
Validate checks the field values on SCSendChatMsg with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCSendChatMsgValidationError ¶
type SCSendChatMsgValidationError struct {
// contains filtered or unexported fields
}
SCSendChatMsgValidationError is the validation error returned by SCSendChatMsg.Validate if the designated constraints aren't met.
func (SCSendChatMsgValidationError) Cause ¶
func (e SCSendChatMsgValidationError) Cause() error
Cause function returns cause value.
func (SCSendChatMsgValidationError) Error ¶
func (e SCSendChatMsgValidationError) Error() string
Error satisfies the builtin error interface
func (SCSendChatMsgValidationError) ErrorName ¶
func (e SCSendChatMsgValidationError) ErrorName() string
ErrorName returns error name.
func (SCSendChatMsgValidationError) Field ¶
func (e SCSendChatMsgValidationError) Field() string
Field function returns field value.
func (SCSendChatMsgValidationError) Key ¶
func (e SCSendChatMsgValidationError) Key() bool
Key function returns key value.
func (SCSendChatMsgValidationError) Reason ¶
func (e SCSendChatMsgValidationError) Reason() string
Reason function returns reason value.
type Test ¶
type Test struct { T *attribute.TestImport `protobuf:"bytes,1,opt,name=t,proto3" json:"t,omitempty"` // contains filtered or unexported fields }
func (*Test) Descriptor
deprecated
func (*Test) GetT ¶
func (x *Test) GetT() *attribute.TestImport
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶
func (x *Test) ProtoReflect() protoreflect.Message
type TestValidationError ¶
type TestValidationError struct {
// contains filtered or unexported fields
}
TestValidationError is the validation error returned by Test.Validate if the designated constraints aren't met.
func (TestValidationError) Cause ¶
func (e TestValidationError) Cause() error
Cause function returns cause value.
func (TestValidationError) Error ¶
func (e TestValidationError) Error() string
Error satisfies the builtin error interface
func (TestValidationError) ErrorName ¶
func (e TestValidationError) ErrorName() string
ErrorName returns error name.
func (TestValidationError) Field ¶
func (e TestValidationError) Field() string
Field function returns field value.
func (TestValidationError) Key ¶
func (e TestValidationError) Key() bool
Key function returns key value.
func (TestValidationError) Reason ¶
func (e TestValidationError) Reason() string
Reason function returns reason value.