Documentation ¶
Index ¶
- Variables
- type BanUserInfo
- func (*BanUserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BanUserInfo) GetKickReason() server_common.KickReason
- func (x *BanUserInfo) GetReason() string
- func (x *BanUserInfo) GetSerId() string
- func (x *BanUserInfo) GetUserID() uint64
- func (*BanUserInfo) ProtoMessage()
- func (x *BanUserInfo) ProtoReflect() protoreflect.Message
- func (x *BanUserInfo) Reset()
- func (x *BanUserInfo) String() string
- func (m *BanUserInfo) Validate() error
- type BanUserInfoValidationError
- func (e BanUserInfoValidationError) Cause() error
- func (e BanUserInfoValidationError) Error() string
- func (e BanUserInfoValidationError) ErrorName() string
- func (e BanUserInfoValidationError) Field() string
- func (e BanUserInfoValidationError) Key() bool
- func (e BanUserInfoValidationError) Reason() string
- type CloseGameSystem
- func (*CloseGameSystem) Descriptor() ([]byte, []int)deprecated
- func (x *CloseGameSystem) GetClose() bool
- func (x *CloseGameSystem) GetSysID() uint32
- func (*CloseGameSystem) ProtoMessage()
- func (x *CloseGameSystem) ProtoReflect() protoreflect.Message
- func (x *CloseGameSystem) Reset()
- func (x *CloseGameSystem) String() string
- func (m *CloseGameSystem) Validate() error
- type CloseGameSystemValidationError
- func (e CloseGameSystemValidationError) Cause() error
- func (e CloseGameSystemValidationError) Error() string
- func (e CloseGameSystemValidationError) ErrorName() string
- func (e CloseGameSystemValidationError) Field() string
- func (e CloseGameSystemValidationError) Key() bool
- func (e CloseGameSystemValidationError) Reason() string
- type ComplexMessage
- func (*ComplexMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ComplexMessage) GetCmd() NsqCommand
- func (x *ComplexMessage) GetData() []byte
- func (x *ComplexMessage) GetTime() int64
- func (*ComplexMessage) ProtoMessage()
- func (x *ComplexMessage) ProtoReflect() protoreflect.Message
- func (x *ComplexMessage) Reset()
- func (x *ComplexMessage) String() string
- func (m *ComplexMessage) Validate() error
- type ComplexMessageValidationError
- func (e ComplexMessageValidationError) Cause() error
- func (e ComplexMessageValidationError) Error() string
- func (e ComplexMessageValidationError) ErrorName() string
- func (e ComplexMessageValidationError) Field() string
- func (e ComplexMessageValidationError) Key() bool
- func (e ComplexMessageValidationError) Reason() string
- type FriendMessage
- func (*FriendMessage) Descriptor() ([]byte, []int)deprecated
- func (x *FriendMessage) GetCmd() NsqCommand
- func (x *FriendMessage) GetReceiver() uint64
- func (x *FriendMessage) GetSender() uint64
- func (*FriendMessage) ProtoMessage()
- func (x *FriendMessage) ProtoReflect() protoreflect.Message
- func (x *FriendMessage) Reset()
- func (x *FriendMessage) String() string
- func (m *FriendMessage) Validate() error
- type FriendMessageValidationError
- func (e FriendMessageValidationError) Cause() error
- func (e FriendMessageValidationError) Error() string
- func (e FriendMessageValidationError) ErrorName() string
- func (e FriendMessageValidationError) Field() string
- func (e FriendMessageValidationError) Key() bool
- func (e FriendMessageValidationError) Reason() string
- type LimitUser
- func (*LimitUser) Descriptor() ([]byte, []int)deprecated
- func (x *LimitUser) GetInfos() []*server_common.LimitInfo
- func (x *LimitUser) GetUserID() uint64
- func (*LimitUser) ProtoMessage()
- func (x *LimitUser) ProtoReflect() protoreflect.Message
- func (x *LimitUser) Reset()
- func (x *LimitUser) String() string
- func (m *LimitUser) Validate() error
- type LimitUserValidationError
- type NsqCommand
- type ReloadConfig
- func (*ReloadConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ReloadConfig) GetFileName() string
- func (x *ReloadConfig) GetSendTime() int64
- func (x *ReloadConfig) GetServerID() string
- func (x *ReloadConfig) GetTarget() string
- func (*ReloadConfig) ProtoMessage()
- func (x *ReloadConfig) ProtoReflect() protoreflect.Message
- func (x *ReloadConfig) Reset()
- func (x *ReloadConfig) String() string
- func (m *ReloadConfig) Validate() error
- type ReloadConfigValidationError
- func (e ReloadConfigValidationError) Cause() error
- func (e ReloadConfigValidationError) Error() string
- func (e ReloadConfigValidationError) ErrorName() string
- func (e ReloadConfigValidationError) Field() string
- func (e ReloadConfigValidationError) Key() bool
- func (e ReloadConfigValidationError) Reason() string
- type SetLogLevel
- type SetLogLevelValidationError
- func (e SetLogLevelValidationError) Cause() error
- func (e SetLogLevelValidationError) Error() string
- func (e SetLogLevelValidationError) ErrorName() string
- func (e SetLogLevelValidationError) Field() string
- func (e SetLogLevelValidationError) Key() bool
- func (e SetLogLevelValidationError) Reason() string
- type SetMaxPlayerNum
- func (*SetMaxPlayerNum) Descriptor() ([]byte, []int)deprecated
- func (x *SetMaxPlayerNum) GetMaxPlayerNum() int32
- func (*SetMaxPlayerNum) ProtoMessage()
- func (x *SetMaxPlayerNum) ProtoReflect() protoreflect.Message
- func (x *SetMaxPlayerNum) Reset()
- func (x *SetMaxPlayerNum) String() string
- func (m *SetMaxPlayerNum) Validate() error
- type SetMaxPlayerNumValidationError
- func (e SetMaxPlayerNumValidationError) Cause() error
- func (e SetMaxPlayerNumValidationError) Error() string
- func (e SetMaxPlayerNumValidationError) ErrorName() string
- func (e SetMaxPlayerNumValidationError) Field() string
- func (e SetMaxPlayerNumValidationError) Key() bool
- func (e SetMaxPlayerNumValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( NsqCommand_name = map[int32]string{ 0: "None", 1: "KickOutPlayer", 2: "GmAddItem", 3: "ServerRestartNotice", 4: "BanUser", 5: "ReloadConfigs", 6: "SetMaxOnlineCount", 7: "LimitUserAction", 8: "SystemClose", 1001: "Friend_Request", 1002: "Friend_Accept", 1003: "Friend_REFUSE", 1004: "Friend_DELETE", 1005: "Friend_REFUSE_CD", 1101: "MailSend", 1102: "DeleteMail", } NsqCommand_value = map[string]int32{ "None": 0, "KickOutPlayer": 1, "GmAddItem": 2, "ServerRestartNotice": 3, "BanUser": 4, "ReloadConfigs": 5, "SetMaxOnlineCount": 6, "LimitUserAction": 7, "SystemClose": 8, "Friend_Request": 1001, "Friend_Accept": 1002, "Friend_REFUSE": 1003, "Friend_DELETE": 1004, "Friend_REFUSE_CD": 1005, "MailSend": 1101, "DeleteMail": 1102, } )
Enum value maps for NsqCommand.
var File_nsq_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BanUserInfo ¶ added in v1.2.7
type BanUserInfo struct { UserID uint64 `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"` KickReason server_common.KickReason `protobuf:"varint,2,opt,name=kickReason,proto3,enum=ServerCommon.KickReason" json:"kickReason,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` SerId string `protobuf:"bytes,4,opt,name=serId,proto3" json:"serId,omitempty"` // 非0 表示此服务器玩家不踢 // contains filtered or unexported fields }
func (*BanUserInfo) Descriptor
deprecated
added in
v1.2.7
func (*BanUserInfo) Descriptor() ([]byte, []int)
Deprecated: Use BanUserInfo.ProtoReflect.Descriptor instead.
func (*BanUserInfo) GetKickReason ¶ added in v1.2.7
func (x *BanUserInfo) GetKickReason() server_common.KickReason
func (*BanUserInfo) GetReason ¶ added in v1.2.7
func (x *BanUserInfo) GetReason() string
func (*BanUserInfo) GetSerId ¶ added in v1.2.7
func (x *BanUserInfo) GetSerId() string
func (*BanUserInfo) GetUserID ¶ added in v1.2.7
func (x *BanUserInfo) GetUserID() uint64
func (*BanUserInfo) ProtoMessage ¶ added in v1.2.7
func (*BanUserInfo) ProtoMessage()
func (*BanUserInfo) ProtoReflect ¶ added in v1.2.7
func (x *BanUserInfo) ProtoReflect() protoreflect.Message
func (*BanUserInfo) Reset ¶ added in v1.2.7
func (x *BanUserInfo) Reset()
func (*BanUserInfo) String ¶ added in v1.2.7
func (x *BanUserInfo) String() string
func (*BanUserInfo) Validate ¶ added in v1.2.7
func (m *BanUserInfo) Validate() error
Validate checks the field values on BanUserInfo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type BanUserInfoValidationError ¶ added in v1.2.7
type BanUserInfoValidationError struct {
// contains filtered or unexported fields
}
BanUserInfoValidationError is the validation error returned by BanUserInfo.Validate if the designated constraints aren't met.
func (BanUserInfoValidationError) Cause ¶ added in v1.2.7
func (e BanUserInfoValidationError) Cause() error
Cause function returns cause value.
func (BanUserInfoValidationError) Error ¶ added in v1.2.7
func (e BanUserInfoValidationError) Error() string
Error satisfies the builtin error interface
func (BanUserInfoValidationError) ErrorName ¶ added in v1.2.7
func (e BanUserInfoValidationError) ErrorName() string
ErrorName returns error name.
func (BanUserInfoValidationError) Field ¶ added in v1.2.7
func (e BanUserInfoValidationError) Field() string
Field function returns field value.
func (BanUserInfoValidationError) Key ¶ added in v1.2.7
func (e BanUserInfoValidationError) Key() bool
Key function returns key value.
func (BanUserInfoValidationError) Reason ¶ added in v1.2.7
func (e BanUserInfoValidationError) Reason() string
Reason function returns reason value.
type CloseGameSystem ¶ added in v1.2.7
type CloseGameSystem struct { SysID uint32 `protobuf:"varint,1,opt,name=sysID,proto3" json:"sysID,omitempty"` Close bool `protobuf:"varint,2,opt,name=close,proto3" json:"close,omitempty"` // contains filtered or unexported fields }
func (*CloseGameSystem) Descriptor
deprecated
added in
v1.2.7
func (*CloseGameSystem) Descriptor() ([]byte, []int)
Deprecated: Use CloseGameSystem.ProtoReflect.Descriptor instead.
func (*CloseGameSystem) GetClose ¶ added in v1.2.7
func (x *CloseGameSystem) GetClose() bool
func (*CloseGameSystem) GetSysID ¶ added in v1.2.7
func (x *CloseGameSystem) GetSysID() uint32
func (*CloseGameSystem) ProtoMessage ¶ added in v1.2.7
func (*CloseGameSystem) ProtoMessage()
func (*CloseGameSystem) ProtoReflect ¶ added in v1.2.7
func (x *CloseGameSystem) ProtoReflect() protoreflect.Message
func (*CloseGameSystem) Reset ¶ added in v1.2.7
func (x *CloseGameSystem) Reset()
func (*CloseGameSystem) String ¶ added in v1.2.7
func (x *CloseGameSystem) String() string
func (*CloseGameSystem) Validate ¶ added in v1.2.7
func (m *CloseGameSystem) Validate() error
Validate checks the field values on CloseGameSystem with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CloseGameSystemValidationError ¶ added in v1.2.7
type CloseGameSystemValidationError struct {
// contains filtered or unexported fields
}
CloseGameSystemValidationError is the validation error returned by CloseGameSystem.Validate if the designated constraints aren't met.
func (CloseGameSystemValidationError) Cause ¶ added in v1.2.7
func (e CloseGameSystemValidationError) Cause() error
Cause function returns cause value.
func (CloseGameSystemValidationError) Error ¶ added in v1.2.7
func (e CloseGameSystemValidationError) Error() string
Error satisfies the builtin error interface
func (CloseGameSystemValidationError) ErrorName ¶ added in v1.2.7
func (e CloseGameSystemValidationError) ErrorName() string
ErrorName returns error name.
func (CloseGameSystemValidationError) Field ¶ added in v1.2.7
func (e CloseGameSystemValidationError) Field() string
Field function returns field value.
func (CloseGameSystemValidationError) Key ¶ added in v1.2.7
func (e CloseGameSystemValidationError) Key() bool
Key function returns key value.
func (CloseGameSystemValidationError) Reason ¶ added in v1.2.7
func (e CloseGameSystemValidationError) Reason() string
Reason function returns reason value.
type ComplexMessage ¶
type ComplexMessage struct { Cmd NsqCommand `protobuf:"varint,1,opt,name=cmd,proto3,enum=nsq.NsqCommand" json:"cmd,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*ComplexMessage) Descriptor
deprecated
func (*ComplexMessage) Descriptor() ([]byte, []int)
Deprecated: Use ComplexMessage.ProtoReflect.Descriptor instead.
func (*ComplexMessage) GetCmd ¶
func (x *ComplexMessage) GetCmd() NsqCommand
func (*ComplexMessage) GetData ¶
func (x *ComplexMessage) GetData() []byte
func (*ComplexMessage) GetTime ¶
func (x *ComplexMessage) GetTime() int64
func (*ComplexMessage) ProtoMessage ¶
func (*ComplexMessage) ProtoMessage()
func (*ComplexMessage) ProtoReflect ¶
func (x *ComplexMessage) ProtoReflect() protoreflect.Message
func (*ComplexMessage) Reset ¶
func (x *ComplexMessage) Reset()
func (*ComplexMessage) String ¶
func (x *ComplexMessage) String() string
func (*ComplexMessage) Validate ¶
func (m *ComplexMessage) Validate() error
Validate checks the field values on ComplexMessage with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ComplexMessageValidationError ¶
type ComplexMessageValidationError struct {
// contains filtered or unexported fields
}
ComplexMessageValidationError is the validation error returned by ComplexMessage.Validate if the designated constraints aren't met.
func (ComplexMessageValidationError) Cause ¶
func (e ComplexMessageValidationError) Cause() error
Cause function returns cause value.
func (ComplexMessageValidationError) Error ¶
func (e ComplexMessageValidationError) Error() string
Error satisfies the builtin error interface
func (ComplexMessageValidationError) ErrorName ¶
func (e ComplexMessageValidationError) ErrorName() string
ErrorName returns error name.
func (ComplexMessageValidationError) Field ¶
func (e ComplexMessageValidationError) Field() string
Field function returns field value.
func (ComplexMessageValidationError) Key ¶
func (e ComplexMessageValidationError) Key() bool
Key function returns key value.
func (ComplexMessageValidationError) Reason ¶
func (e ComplexMessageValidationError) Reason() string
Reason function returns reason value.
type FriendMessage ¶
type FriendMessage struct { Sender uint64 `protobuf:"varint,1,opt,name=sender,proto3" json:"sender,omitempty"` Receiver uint64 `protobuf:"varint,2,opt,name=receiver,proto3" json:"receiver,omitempty"` Cmd NsqCommand `protobuf:"varint,3,opt,name=cmd,proto3,enum=nsq.NsqCommand" json:"cmd,omitempty"` // contains filtered or unexported fields }
func (*FriendMessage) Descriptor
deprecated
func (*FriendMessage) Descriptor() ([]byte, []int)
Deprecated: Use FriendMessage.ProtoReflect.Descriptor instead.
func (*FriendMessage) GetCmd ¶
func (x *FriendMessage) GetCmd() NsqCommand
func (*FriendMessage) GetReceiver ¶
func (x *FriendMessage) GetReceiver() uint64
func (*FriendMessage) GetSender ¶
func (x *FriendMessage) GetSender() uint64
func (*FriendMessage) ProtoMessage ¶
func (*FriendMessage) ProtoMessage()
func (*FriendMessage) ProtoReflect ¶
func (x *FriendMessage) ProtoReflect() protoreflect.Message
func (*FriendMessage) Reset ¶
func (x *FriendMessage) Reset()
func (*FriendMessage) String ¶
func (x *FriendMessage) String() string
func (*FriendMessage) Validate ¶
func (m *FriendMessage) Validate() error
Validate checks the field values on FriendMessage with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FriendMessageValidationError ¶
type FriendMessageValidationError struct {
// contains filtered or unexported fields
}
FriendMessageValidationError is the validation error returned by FriendMessage.Validate if the designated constraints aren't met.
func (FriendMessageValidationError) Cause ¶
func (e FriendMessageValidationError) Cause() error
Cause function returns cause value.
func (FriendMessageValidationError) Error ¶
func (e FriendMessageValidationError) Error() string
Error satisfies the builtin error interface
func (FriendMessageValidationError) ErrorName ¶
func (e FriendMessageValidationError) ErrorName() string
ErrorName returns error name.
func (FriendMessageValidationError) Field ¶
func (e FriendMessageValidationError) Field() string
Field function returns field value.
func (FriendMessageValidationError) Key ¶
func (e FriendMessageValidationError) Key() bool
Key function returns key value.
func (FriendMessageValidationError) Reason ¶
func (e FriendMessageValidationError) Reason() string
Reason function returns reason value.
type LimitUser ¶ added in v1.2.7
type LimitUser struct { UserID uint64 `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"` Infos []*server_common.LimitInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"` // contains filtered or unexported fields }
func (*LimitUser) Descriptor
deprecated
added in
v1.2.7
func (*LimitUser) GetInfos ¶ added in v1.2.7
func (x *LimitUser) GetInfos() []*server_common.LimitInfo
func (*LimitUser) ProtoMessage ¶ added in v1.2.7
func (*LimitUser) ProtoMessage()
func (*LimitUser) ProtoReflect ¶ added in v1.2.7
func (x *LimitUser) ProtoReflect() protoreflect.Message
type LimitUserValidationError ¶ added in v1.2.7
type LimitUserValidationError struct {
// contains filtered or unexported fields
}
LimitUserValidationError is the validation error returned by LimitUser.Validate if the designated constraints aren't met.
func (LimitUserValidationError) Cause ¶ added in v1.2.7
func (e LimitUserValidationError) Cause() error
Cause function returns cause value.
func (LimitUserValidationError) Error ¶ added in v1.2.7
func (e LimitUserValidationError) Error() string
Error satisfies the builtin error interface
func (LimitUserValidationError) ErrorName ¶ added in v1.2.7
func (e LimitUserValidationError) ErrorName() string
ErrorName returns error name.
func (LimitUserValidationError) Field ¶ added in v1.2.7
func (e LimitUserValidationError) Field() string
Field function returns field value.
func (LimitUserValidationError) Key ¶ added in v1.2.7
func (e LimitUserValidationError) Key() bool
Key function returns key value.
func (LimitUserValidationError) Reason ¶ added in v1.2.7
func (e LimitUserValidationError) Reason() string
Reason function returns reason value.
type NsqCommand ¶
type NsqCommand int32
const ( NsqCommand_None NsqCommand = 0 NsqCommand_KickOutPlayer NsqCommand = 1 NsqCommand_GmAddItem NsqCommand = 2 NsqCommand_ServerRestartNotice NsqCommand = 3 NsqCommand_BanUser NsqCommand = 4 NsqCommand_ReloadConfigs NsqCommand = 5 NsqCommand_SetMaxOnlineCount NsqCommand = 6 NsqCommand_LimitUserAction NsqCommand = 7 NsqCommand_SystemClose NsqCommand = 8 //friend NsqCommand_Friend_Request NsqCommand = 1001 NsqCommand_Friend_Accept NsqCommand = 1002 NsqCommand_Friend_REFUSE NsqCommand = 1003 // 拒绝 NsqCommand_Friend_DELETE NsqCommand = 1004 // 删除 NsqCommand_Friend_REFUSE_CD NsqCommand = 1005 //mail NsqCommand_MailSend NsqCommand = 1101 NsqCommand_DeleteMail NsqCommand = 1102 )
func (NsqCommand) Descriptor ¶
func (NsqCommand) Descriptor() protoreflect.EnumDescriptor
func (NsqCommand) Enum ¶
func (x NsqCommand) Enum() *NsqCommand
func (NsqCommand) EnumDescriptor
deprecated
func (NsqCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use NsqCommand.Descriptor instead.
func (NsqCommand) Number ¶
func (x NsqCommand) Number() protoreflect.EnumNumber
func (NsqCommand) String ¶
func (x NsqCommand) String() string
func (NsqCommand) Type ¶
func (NsqCommand) Type() protoreflect.EnumType
type ReloadConfig ¶ added in v1.2.7
type ReloadConfig struct { Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` ServerID string `protobuf:"bytes,2,opt,name=serverID,proto3" json:"serverID,omitempty"` FileName string `protobuf:"bytes,3,opt,name=fileName,proto3" json:"fileName,omitempty"` SendTime int64 `protobuf:"varint,4,opt,name=sendTime,proto3" json:"sendTime,omitempty"` // contains filtered or unexported fields }
func (*ReloadConfig) Descriptor
deprecated
added in
v1.2.7
func (*ReloadConfig) Descriptor() ([]byte, []int)
Deprecated: Use ReloadConfig.ProtoReflect.Descriptor instead.
func (*ReloadConfig) GetFileName ¶ added in v1.2.7
func (x *ReloadConfig) GetFileName() string
func (*ReloadConfig) GetSendTime ¶ added in v1.2.7
func (x *ReloadConfig) GetSendTime() int64
func (*ReloadConfig) GetServerID ¶ added in v1.2.7
func (x *ReloadConfig) GetServerID() string
func (*ReloadConfig) GetTarget ¶ added in v1.2.7
func (x *ReloadConfig) GetTarget() string
func (*ReloadConfig) ProtoMessage ¶ added in v1.2.7
func (*ReloadConfig) ProtoMessage()
func (*ReloadConfig) ProtoReflect ¶ added in v1.2.7
func (x *ReloadConfig) ProtoReflect() protoreflect.Message
func (*ReloadConfig) Reset ¶ added in v1.2.7
func (x *ReloadConfig) Reset()
func (*ReloadConfig) String ¶ added in v1.2.7
func (x *ReloadConfig) String() string
func (*ReloadConfig) Validate ¶ added in v1.2.7
func (m *ReloadConfig) Validate() error
Validate checks the field values on ReloadConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReloadConfigValidationError ¶ added in v1.2.7
type ReloadConfigValidationError struct {
// contains filtered or unexported fields
}
ReloadConfigValidationError is the validation error returned by ReloadConfig.Validate if the designated constraints aren't met.
func (ReloadConfigValidationError) Cause ¶ added in v1.2.7
func (e ReloadConfigValidationError) Cause() error
Cause function returns cause value.
func (ReloadConfigValidationError) Error ¶ added in v1.2.7
func (e ReloadConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ReloadConfigValidationError) ErrorName ¶ added in v1.2.7
func (e ReloadConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ReloadConfigValidationError) Field ¶ added in v1.2.7
func (e ReloadConfigValidationError) Field() string
Field function returns field value.
func (ReloadConfigValidationError) Key ¶ added in v1.2.7
func (e ReloadConfigValidationError) Key() bool
Key function returns key value.
func (ReloadConfigValidationError) Reason ¶ added in v1.2.7
func (e ReloadConfigValidationError) Reason() string
Reason function returns reason value.
type SetLogLevel ¶ added in v1.2.7
type SetLogLevel struct { Level uint32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"` // contains filtered or unexported fields }
func (*SetLogLevel) Descriptor
deprecated
added in
v1.2.7
func (*SetLogLevel) Descriptor() ([]byte, []int)
Deprecated: Use SetLogLevel.ProtoReflect.Descriptor instead.
func (*SetLogLevel) GetLevel ¶ added in v1.2.7
func (x *SetLogLevel) GetLevel() uint32
func (*SetLogLevel) ProtoMessage ¶ added in v1.2.7
func (*SetLogLevel) ProtoMessage()
func (*SetLogLevel) ProtoReflect ¶ added in v1.2.7
func (x *SetLogLevel) ProtoReflect() protoreflect.Message
func (*SetLogLevel) Reset ¶ added in v1.2.7
func (x *SetLogLevel) Reset()
func (*SetLogLevel) String ¶ added in v1.2.7
func (x *SetLogLevel) String() string
func (*SetLogLevel) Validate ¶ added in v1.2.7
func (m *SetLogLevel) Validate() error
Validate checks the field values on SetLogLevel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SetLogLevelValidationError ¶ added in v1.2.7
type SetLogLevelValidationError struct {
// contains filtered or unexported fields
}
SetLogLevelValidationError is the validation error returned by SetLogLevel.Validate if the designated constraints aren't met.
func (SetLogLevelValidationError) Cause ¶ added in v1.2.7
func (e SetLogLevelValidationError) Cause() error
Cause function returns cause value.
func (SetLogLevelValidationError) Error ¶ added in v1.2.7
func (e SetLogLevelValidationError) Error() string
Error satisfies the builtin error interface
func (SetLogLevelValidationError) ErrorName ¶ added in v1.2.7
func (e SetLogLevelValidationError) ErrorName() string
ErrorName returns error name.
func (SetLogLevelValidationError) Field ¶ added in v1.2.7
func (e SetLogLevelValidationError) Field() string
Field function returns field value.
func (SetLogLevelValidationError) Key ¶ added in v1.2.7
func (e SetLogLevelValidationError) Key() bool
Key function returns key value.
func (SetLogLevelValidationError) Reason ¶ added in v1.2.7
func (e SetLogLevelValidationError) Reason() string
Reason function returns reason value.
type SetMaxPlayerNum ¶ added in v1.2.7
type SetMaxPlayerNum struct { MaxPlayerNum int32 `protobuf:"varint,1,opt,name=maxPlayerNum,proto3" json:"maxPlayerNum,omitempty"` // contains filtered or unexported fields }
func (*SetMaxPlayerNum) Descriptor
deprecated
added in
v1.2.7
func (*SetMaxPlayerNum) Descriptor() ([]byte, []int)
Deprecated: Use SetMaxPlayerNum.ProtoReflect.Descriptor instead.
func (*SetMaxPlayerNum) GetMaxPlayerNum ¶ added in v1.2.7
func (x *SetMaxPlayerNum) GetMaxPlayerNum() int32
func (*SetMaxPlayerNum) ProtoMessage ¶ added in v1.2.7
func (*SetMaxPlayerNum) ProtoMessage()
func (*SetMaxPlayerNum) ProtoReflect ¶ added in v1.2.7
func (x *SetMaxPlayerNum) ProtoReflect() protoreflect.Message
func (*SetMaxPlayerNum) Reset ¶ added in v1.2.7
func (x *SetMaxPlayerNum) Reset()
func (*SetMaxPlayerNum) String ¶ added in v1.2.7
func (x *SetMaxPlayerNum) String() string
func (*SetMaxPlayerNum) Validate ¶ added in v1.2.7
func (m *SetMaxPlayerNum) Validate() error
Validate checks the field values on SetMaxPlayerNum with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SetMaxPlayerNumValidationError ¶ added in v1.2.7
type SetMaxPlayerNumValidationError struct {
// contains filtered or unexported fields
}
SetMaxPlayerNumValidationError is the validation error returned by SetMaxPlayerNum.Validate if the designated constraints aren't met.
func (SetMaxPlayerNumValidationError) Cause ¶ added in v1.2.7
func (e SetMaxPlayerNumValidationError) Cause() error
Cause function returns cause value.
func (SetMaxPlayerNumValidationError) Error ¶ added in v1.2.7
func (e SetMaxPlayerNumValidationError) Error() string
Error satisfies the builtin error interface
func (SetMaxPlayerNumValidationError) ErrorName ¶ added in v1.2.7
func (e SetMaxPlayerNumValidationError) ErrorName() string
ErrorName returns error name.
func (SetMaxPlayerNumValidationError) Field ¶ added in v1.2.7
func (e SetMaxPlayerNumValidationError) Field() string
Field function returns field value.
func (SetMaxPlayerNumValidationError) Key ¶ added in v1.2.7
func (e SetMaxPlayerNumValidationError) Key() bool
Key function returns key value.
func (SetMaxPlayerNumValidationError) Reason ¶ added in v1.2.7
func (e SetMaxPlayerNumValidationError) Reason() string
Reason function returns reason value.