Documentation ¶
Index ¶
- Variables
- type CSGatewayJoinOnline
- func (*CSGatewayJoinOnline) Descriptor() ([]byte, []int)deprecated
- func (x *CSGatewayJoinOnline) GetQuick() bool
- func (x *CSGatewayJoinOnline) GetSid() string
- func (x *CSGatewayJoinOnline) GetVersion() string
- func (x *CSGatewayJoinOnline) GetZoneId() int32
- func (*CSGatewayJoinOnline) ProtoMessage()
- func (x *CSGatewayJoinOnline) ProtoReflect() protoreflect.Message
- func (x *CSGatewayJoinOnline) Reset()
- func (x *CSGatewayJoinOnline) String() string
- func (m *CSGatewayJoinOnline) Validate() error
- type CSGatewayJoinOnlineValidationError
- func (e CSGatewayJoinOnlineValidationError) Cause() error
- func (e CSGatewayJoinOnlineValidationError) Error() string
- func (e CSGatewayJoinOnlineValidationError) ErrorName() string
- func (e CSGatewayJoinOnlineValidationError) Field() string
- func (e CSGatewayJoinOnlineValidationError) Key() bool
- func (e CSGatewayJoinOnlineValidationError) Reason() string
- type CSGatewayLogin
- func (*CSGatewayLogin) Descriptor() ([]byte, []int)deprecated
- func (x *CSGatewayLogin) GetPlatName() string
- func (x *CSGatewayLogin) GetToken() string
- func (x *CSGatewayLogin) GetUserid() uint64
- func (x *CSGatewayLogin) GetZoneId() int32
- func (*CSGatewayLogin) ProtoMessage()
- func (x *CSGatewayLogin) ProtoReflect() protoreflect.Message
- func (x *CSGatewayLogin) Reset()
- func (x *CSGatewayLogin) String() string
- func (m *CSGatewayLogin) Validate() error
- type CSGatewayLoginValidationError
- func (e CSGatewayLoginValidationError) Cause() error
- func (e CSGatewayLoginValidationError) Error() string
- func (e CSGatewayLoginValidationError) ErrorName() string
- func (e CSGatewayLoginValidationError) Field() string
- func (e CSGatewayLoginValidationError) Key() bool
- func (e CSGatewayLoginValidationError) Reason() string
- type CSGatewayLogout
- func (*CSGatewayLogout) Descriptor() ([]byte, []int)deprecated
- func (x *CSGatewayLogout) GetPlatName() string
- func (x *CSGatewayLogout) GetToken() string
- func (x *CSGatewayLogout) GetUserId() uint64
- func (*CSGatewayLogout) ProtoMessage()
- func (x *CSGatewayLogout) ProtoReflect() protoreflect.Message
- func (x *CSGatewayLogout) Reset()
- func (x *CSGatewayLogout) String() string
- func (m *CSGatewayLogout) Validate() error
- type CSGatewayLogoutValidationError
- func (e CSGatewayLogoutValidationError) Cause() error
- func (e CSGatewayLogoutValidationError) Error() string
- func (e CSGatewayLogoutValidationError) ErrorName() string
- func (e CSGatewayLogoutValidationError) Field() string
- func (e CSGatewayLogoutValidationError) Key() bool
- func (e CSGatewayLogoutValidationError) Reason() string
- type CSGatewayOnlineList
- func (*CSGatewayOnlineList) Descriptor() ([]byte, []int)deprecated
- func (x *CSGatewayOnlineList) GetZoneId() int32
- func (*CSGatewayOnlineList) ProtoMessage()
- func (x *CSGatewayOnlineList) ProtoReflect() protoreflect.Message
- func (x *CSGatewayOnlineList) Reset()
- func (x *CSGatewayOnlineList) String() string
- func (m *CSGatewayOnlineList) Validate() error
- type CSGatewayOnlineListValidationError
- func (e CSGatewayOnlineListValidationError) Cause() error
- func (e CSGatewayOnlineListValidationError) Error() string
- func (e CSGatewayOnlineListValidationError) ErrorName() string
- func (e CSGatewayOnlineListValidationError) Field() string
- func (e CSGatewayOnlineListValidationError) Key() bool
- func (e CSGatewayOnlineListValidationError) Reason() string
- type CSReconnection
- func (*CSReconnection) Descriptor() ([]byte, []int)deprecated
- func (x *CSReconnection) GetPlatName() string
- func (x *CSReconnection) GetToken() string
- func (x *CSReconnection) GetUserid() uint64
- func (x *CSReconnection) GetVersion() string
- func (x *CSReconnection) GetZoneId() int32
- func (*CSReconnection) ProtoMessage()
- func (x *CSReconnection) ProtoReflect() protoreflect.Message
- func (x *CSReconnection) Reset()
- func (x *CSReconnection) String() string
- func (m *CSReconnection) Validate() error
- type CSReconnectionValidationError
- func (e CSReconnectionValidationError) Cause() error
- func (e CSReconnectionValidationError) Error() string
- func (e CSReconnectionValidationError) ErrorName() string
- func (e CSReconnectionValidationError) Field() string
- func (e CSReconnectionValidationError) Key() bool
- func (e CSReconnectionValidationError) Reason() string
- type ClientOffline
- func (*ClientOffline) Descriptor() ([]byte, []int)deprecated
- func (x *ClientOffline) GetOpType() uint32
- func (x *ClientOffline) GetUserid() uint64
- func (*ClientOffline) ProtoMessage()
- func (x *ClientOffline) ProtoReflect() protoreflect.Message
- func (x *ClientOffline) Reset()
- func (x *ClientOffline) String() string
- func (m *ClientOffline) Validate() error
- type ClientOfflineRet
- func (*ClientOfflineRet) Descriptor() ([]byte, []int)deprecated
- func (x *ClientOfflineRet) GetOpType() uint32
- func (x *ClientOfflineRet) GetPlayers() int32
- func (x *ClientOfflineRet) GetProcIndex() uint32
- func (x *ClientOfflineRet) GetResult() uint32
- func (x *ClientOfflineRet) GetUserid() uint64
- func (x *ClientOfflineRet) GetVersion() string
- func (*ClientOfflineRet) ProtoMessage()
- func (x *ClientOfflineRet) ProtoReflect() protoreflect.Message
- func (x *ClientOfflineRet) Reset()
- func (x *ClientOfflineRet) String() string
- func (m *ClientOfflineRet) Validate() error
- type ClientOfflineRetValidationError
- func (e ClientOfflineRetValidationError) Cause() error
- func (e ClientOfflineRetValidationError) Error() string
- func (e ClientOfflineRetValidationError) ErrorName() string
- func (e ClientOfflineRetValidationError) Field() string
- func (e ClientOfflineRetValidationError) Key() bool
- func (e ClientOfflineRetValidationError) Reason() string
- type ClientOfflineValidationError
- func (e ClientOfflineValidationError) Cause() error
- func (e ClientOfflineValidationError) Error() string
- func (e ClientOfflineValidationError) ErrorName() string
- func (e ClientOfflineValidationError) Field() string
- func (e ClientOfflineValidationError) Key() bool
- func (e ClientOfflineValidationError) Reason() string
- type ClientOnline
- func (*ClientOnline) Descriptor() ([]byte, []int)deprecated
- func (x *ClientOnline) GetGatewayIp() string
- func (x *ClientOnline) GetReconnected() bool
- func (x *ClientOnline) GetRemoteIp() string
- func (x *ClientOnline) GetUserid() uint64
- func (x *ClientOnline) GetVersion() string
- func (*ClientOnline) ProtoMessage()
- func (x *ClientOnline) ProtoReflect() protoreflect.Message
- func (x *ClientOnline) Reset()
- func (x *ClientOnline) String() string
- func (m *ClientOnline) Validate() error
- type ClientOnlineRet
- func (*ClientOnlineRet) Descriptor() ([]byte, []int)deprecated
- func (x *ClientOnlineRet) GetBubbleFrame() uint32
- func (x *ClientOnlineRet) GetCharId() int32
- func (x *ClientOnlineRet) GetExp() int32
- func (x *ClientOnlineRet) GetFrame() uint32
- func (x *ClientOnlineRet) GetGold() uint32
- func (x *ClientOnlineRet) GetHead() uint32
- func (x *ClientOnlineRet) GetIsNew() bool
- func (x *ClientOnlineRet) GetLevel() int32
- func (x *ClientOnlineRet) GetModel() uint32
- func (x *ClientOnlineRet) GetName() string
- func (x *ClientOnlineRet) GetPlayers() int32
- func (x *ClientOnlineRet) GetProcIndex() uint32
- func (x *ClientOnlineRet) GetReconnection() bool
- func (x *ClientOnlineRet) GetRegTime() int64
- func (x *ClientOnlineRet) GetResult() uint32
- func (x *ClientOnlineRet) GetSceneId() int32
- func (x *ClientOnlineRet) GetServerTime() int64
- func (x *ClientOnlineRet) GetSex() uint32
- func (x *ClientOnlineRet) GetSilverCoin() int32
- func (x *ClientOnlineRet) GetTodayFirstLogin() bool
- func (x *ClientOnlineRet) GetUserid() uint64
- func (*ClientOnlineRet) ProtoMessage()
- func (x *ClientOnlineRet) ProtoReflect() protoreflect.Message
- func (x *ClientOnlineRet) Reset()
- func (x *ClientOnlineRet) String() string
- func (m *ClientOnlineRet) Validate() error
- type ClientOnlineRetValidationError
- func (e ClientOnlineRetValidationError) Cause() error
- func (e ClientOnlineRetValidationError) Error() string
- func (e ClientOnlineRetValidationError) ErrorName() string
- func (e ClientOnlineRetValidationError) Field() string
- func (e ClientOnlineRetValidationError) Key() bool
- func (e ClientOnlineRetValidationError) Reason() string
- type ClientOnlineValidationError
- func (e ClientOnlineValidationError) Cause() error
- func (e ClientOnlineValidationError) Error() string
- func (e ClientOnlineValidationError) ErrorName() string
- func (e ClientOnlineValidationError) Field() string
- func (e ClientOnlineValidationError) Key() bool
- func (e ClientOnlineValidationError) Reason() string
- type ClientWorld
- func (*ClientWorld) Descriptor() ([]byte, []int)deprecated
- func (x *ClientWorld) GetGatewayIp() string
- func (x *ClientWorld) GetIsReconnected() bool
- func (x *ClientWorld) GetRemoteIp() string
- func (x *ClientWorld) GetUserid() uint64
- func (x *ClientWorld) GetVersion() string
- func (*ClientWorld) ProtoMessage()
- func (x *ClientWorld) ProtoReflect() protoreflect.Message
- func (x *ClientWorld) Reset()
- func (x *ClientWorld) String() string
- func (m *ClientWorld) Validate() error
- type ClientWorldValidationError
- func (e ClientWorldValidationError) Cause() error
- func (e ClientWorldValidationError) Error() string
- func (e ClientWorldValidationError) ErrorName() string
- func (e ClientWorldValidationError) Field() string
- func (e ClientWorldValidationError) Key() bool
- func (e ClientWorldValidationError) Reason() string
- type GatewayErr
- type GatewayForwardPacket
- func (*GatewayForwardPacket) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayForwardPacket) GetData() []byte
- func (x *GatewayForwardPacket) GetPlayerNumber() int32
- func (x *GatewayForwardPacket) GetUserid() uint64
- func (*GatewayForwardPacket) ProtoMessage()
- func (x *GatewayForwardPacket) ProtoReflect() protoreflect.Message
- func (x *GatewayForwardPacket) Reset()
- func (x *GatewayForwardPacket) String() string
- func (m *GatewayForwardPacket) Validate() error
- type GatewayForwardPacketValidationError
- func (e GatewayForwardPacketValidationError) Cause() error
- func (e GatewayForwardPacketValidationError) Error() string
- func (e GatewayForwardPacketValidationError) ErrorName() string
- func (e GatewayForwardPacketValidationError) Field() string
- func (e GatewayForwardPacketValidationError) Key() bool
- func (e GatewayForwardPacketValidationError) Reason() string
- type JoinErrorCode
- func (JoinErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x JoinErrorCode) Enum() *JoinErrorCode
- func (JoinErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x JoinErrorCode) Number() protoreflect.EnumNumber
- func (x JoinErrorCode) String() string
- func (JoinErrorCode) Type() protoreflect.EnumType
- type OnlineList
- func (*OnlineList) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineList) GetAddr() string
- func (x *OnlineList) GetMax() int32
- func (x *OnlineList) GetName() string
- func (x *OnlineList) GetPlayers() int32
- func (x *OnlineList) GetProId() uint32
- func (x *OnlineList) GetSid() string
- func (x *OnlineList) GetZoneId() int32
- func (*OnlineList) ProtoMessage()
- func (x *OnlineList) ProtoReflect() protoreflect.Message
- func (x *OnlineList) Reset()
- func (x *OnlineList) String() string
- func (m *OnlineList) Validate() error
- type OnlineListValidationError
- type OnlineResult
- func (OnlineResult) Descriptor() protoreflect.EnumDescriptor
- func (x OnlineResult) Enum() *OnlineResult
- func (OnlineResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x OnlineResult) Number() protoreflect.EnumNumber
- func (x OnlineResult) String() string
- func (OnlineResult) Type() protoreflect.EnumType
- type RegisterToGame
- func (*RegisterToGame) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterToGame) GetScrSerType() uint32
- func (x *RegisterToGame) GetSerRpcAddr() string
- func (x *RegisterToGame) GetServerAddr() string
- func (x *RegisterToGame) GetServerID() string
- func (x *RegisterToGame) GetServerType() uint32
- func (x *RegisterToGame) GetToken() string
- func (*RegisterToGame) ProtoMessage()
- func (x *RegisterToGame) ProtoReflect() protoreflect.Message
- func (x *RegisterToGame) Reset()
- func (x *RegisterToGame) String() string
- func (m *RegisterToGame) Validate() error
- type RegisterToGameRet
- func (*RegisterToGameRet) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterToGameRet) GetMsgIds() []uint32
- func (x *RegisterToGameRet) GetResult() uint32
- func (*RegisterToGameRet) ProtoMessage()
- func (x *RegisterToGameRet) ProtoReflect() protoreflect.Message
- func (x *RegisterToGameRet) Reset()
- func (x *RegisterToGameRet) String() string
- func (m *RegisterToGameRet) Validate() error
- type RegisterToGameRetValidationError
- func (e RegisterToGameRetValidationError) Cause() error
- func (e RegisterToGameRetValidationError) Error() string
- func (e RegisterToGameRetValidationError) ErrorName() string
- func (e RegisterToGameRetValidationError) Field() string
- func (e RegisterToGameRetValidationError) Key() bool
- func (e RegisterToGameRetValidationError) Reason() string
- type RegisterToGameValidationError
- func (e RegisterToGameValidationError) Cause() error
- func (e RegisterToGameValidationError) Error() string
- func (e RegisterToGameValidationError) ErrorName() string
- func (e RegisterToGameValidationError) Field() string
- func (e RegisterToGameValidationError) Key() bool
- func (e RegisterToGameValidationError) Reason() string
- type RegisterToGateway
- func (*RegisterToGateway) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterToGateway) GetMaxPlayer() int32
- func (x *RegisterToGateway) GetMsgids() []uint32
- func (x *RegisterToGateway) GetName() string
- func (x *RegisterToGateway) GetProcIndex() uint32
- func (x *RegisterToGateway) GetServerAddr() string
- func (x *RegisterToGateway) GetServerID() string
- func (x *RegisterToGateway) GetServerType() uint32
- func (x *RegisterToGateway) GetToken() string
- func (x *RegisterToGateway) GetZoneId() int32
- func (*RegisterToGateway) ProtoMessage()
- func (x *RegisterToGateway) ProtoReflect() protoreflect.Message
- func (x *RegisterToGateway) Reset()
- func (x *RegisterToGateway) String() string
- func (m *RegisterToGateway) Validate() error
- type RegisterToGatewayRet
- func (*RegisterToGatewayRet) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterToGatewayRet) GetResult() uint32
- func (x *RegisterToGatewayRet) GetZoneId() int32
- func (*RegisterToGatewayRet) ProtoMessage()
- func (x *RegisterToGatewayRet) ProtoReflect() protoreflect.Message
- func (x *RegisterToGatewayRet) Reset()
- func (x *RegisterToGatewayRet) String() string
- func (m *RegisterToGatewayRet) Validate() error
- type RegisterToGatewayRetValidationError
- func (e RegisterToGatewayRetValidationError) Cause() error
- func (e RegisterToGatewayRetValidationError) Error() string
- func (e RegisterToGatewayRetValidationError) ErrorName() string
- func (e RegisterToGatewayRetValidationError) Field() string
- func (e RegisterToGatewayRetValidationError) Key() bool
- func (e RegisterToGatewayRetValidationError) Reason() string
- type RegisterToGatewayValidationError
- func (e RegisterToGatewayValidationError) Cause() error
- func (e RegisterToGatewayValidationError) Error() string
- func (e RegisterToGatewayValidationError) ErrorName() string
- func (e RegisterToGatewayValidationError) Field() string
- func (e RegisterToGatewayValidationError) Key() bool
- func (e RegisterToGatewayValidationError) Reason() string
- type SCGatewayJoinOnline
- func (*SCGatewayJoinOnline) Descriptor() ([]byte, []int)deprecated
- func (x *SCGatewayJoinOnline) GetAccount() string
- func (x *SCGatewayJoinOnline) GetErrCode() JoinErrorCode
- func (x *SCGatewayJoinOnline) GetExp() int32
- func (x *SCGatewayJoinOnline) GetFrame() uint32
- func (x *SCGatewayJoinOnline) GetGold() uint32
- func (x *SCGatewayJoinOnline) GetHead() uint32
- func (x *SCGatewayJoinOnline) GetIsNew() bool
- func (x *SCGatewayJoinOnline) GetLevel() int32
- func (x *SCGatewayJoinOnline) GetModel() uint32
- func (x *SCGatewayJoinOnline) GetNick() string
- func (x *SCGatewayJoinOnline) GetProcIndex() uint32
- func (x *SCGatewayJoinOnline) GetRegTime() int64
- func (x *SCGatewayJoinOnline) GetSceneId() int32
- func (x *SCGatewayJoinOnline) GetServerTime() int64
- func (x *SCGatewayJoinOnline) GetSex() uint32
- func (x *SCGatewayJoinOnline) GetTodayFirstLogin() bool
- func (x *SCGatewayJoinOnline) GetUserid() uint64
- func (*SCGatewayJoinOnline) ProtoMessage()
- func (x *SCGatewayJoinOnline) ProtoReflect() protoreflect.Message
- func (x *SCGatewayJoinOnline) Reset()
- func (x *SCGatewayJoinOnline) String() string
- func (m *SCGatewayJoinOnline) Validate() error
- type SCGatewayJoinOnlineValidationError
- func (e SCGatewayJoinOnlineValidationError) Cause() error
- func (e SCGatewayJoinOnlineValidationError) Error() string
- func (e SCGatewayJoinOnlineValidationError) ErrorName() string
- func (e SCGatewayJoinOnlineValidationError) Field() string
- func (e SCGatewayJoinOnlineValidationError) Key() bool
- func (e SCGatewayJoinOnlineValidationError) Reason() string
- type SCGatewayLogin
- func (*SCGatewayLogin) Descriptor() ([]byte, []int)deprecated
- func (x *SCGatewayLogin) GetErrCode() uint32
- func (x *SCGatewayLogin) GetName() string
- func (x *SCGatewayLogin) GetSceneId() int32
- func (x *SCGatewayLogin) GetUserid() uint64
- func (x *SCGatewayLogin) GetZoneId() int32
- func (*SCGatewayLogin) ProtoMessage()
- func (x *SCGatewayLogin) ProtoReflect() protoreflect.Message
- func (x *SCGatewayLogin) Reset()
- func (x *SCGatewayLogin) String() string
- func (m *SCGatewayLogin) Validate() error
- type SCGatewayLoginValidationError
- func (e SCGatewayLoginValidationError) Cause() error
- func (e SCGatewayLoginValidationError) Error() string
- func (e SCGatewayLoginValidationError) ErrorName() string
- func (e SCGatewayLoginValidationError) Field() string
- func (e SCGatewayLoginValidationError) Key() bool
- func (e SCGatewayLoginValidationError) Reason() string
- type SCGatewayLogout
- type SCGatewayLogoutValidationError
- func (e SCGatewayLogoutValidationError) Cause() error
- func (e SCGatewayLogoutValidationError) Error() string
- func (e SCGatewayLogoutValidationError) ErrorName() string
- func (e SCGatewayLogoutValidationError) Field() string
- func (e SCGatewayLogoutValidationError) Key() bool
- func (e SCGatewayLogoutValidationError) Reason() string
- type SCGatewayOnlineList
- func (*SCGatewayOnlineList) Descriptor() ([]byte, []int)deprecated
- func (x *SCGatewayOnlineList) GetList() []*OnlineList
- func (*SCGatewayOnlineList) ProtoMessage()
- func (x *SCGatewayOnlineList) ProtoReflect() protoreflect.Message
- func (x *SCGatewayOnlineList) Reset()
- func (x *SCGatewayOnlineList) String() string
- func (m *SCGatewayOnlineList) Validate() error
- type SCGatewayOnlineListValidationError
- func (e SCGatewayOnlineListValidationError) Cause() error
- func (e SCGatewayOnlineListValidationError) Error() string
- func (e SCGatewayOnlineListValidationError) ErrorName() string
- func (e SCGatewayOnlineListValidationError) Field() string
- func (e SCGatewayOnlineListValidationError) Key() bool
- func (e SCGatewayOnlineListValidationError) Reason() string
- type SCReconnection
- func (*SCReconnection) Descriptor() ([]byte, []int)deprecated
- func (x *SCReconnection) GetRet() uint32
- func (*SCReconnection) ProtoMessage()
- func (x *SCReconnection) ProtoReflect() protoreflect.Message
- func (x *SCReconnection) Reset()
- func (x *SCReconnection) String() string
- func (m *SCReconnection) Validate() error
- type SCReconnectionValidationError
- func (e SCReconnectionValidationError) Cause() error
- func (e SCReconnectionValidationError) Error() string
- func (e SCReconnectionValidationError) ErrorName() string
- func (e SCReconnectionValidationError) Field() string
- func (e SCReconnectionValidationError) Key() bool
- func (e SCReconnectionValidationError) Reason() string
- type SCRewardBoxNotify
- func (*SCRewardBoxNotify) Descriptor() ([]byte, []int)deprecated
- func (x *SCRewardBoxNotify) GetRewardList() map[uint32]int32
- func (x *SCRewardBoxNotify) GetRewardType() uint32
- func (x *SCRewardBoxNotify) GetSource() int32
- func (*SCRewardBoxNotify) ProtoMessage()
- func (x *SCRewardBoxNotify) ProtoReflect() protoreflect.Message
- func (x *SCRewardBoxNotify) Reset()
- func (x *SCRewardBoxNotify) String() string
- func (m *SCRewardBoxNotify) Validate() error
- type SCRewardBoxNotifyValidationError
- func (e SCRewardBoxNotifyValidationError) Cause() error
- func (e SCRewardBoxNotifyValidationError) Error() string
- func (e SCRewardBoxNotifyValidationError) ErrorName() string
- func (e SCRewardBoxNotifyValidationError) Field() string
- func (e SCRewardBoxNotifyValidationError) Key() bool
- func (e SCRewardBoxNotifyValidationError) Reason() string
- type UpdateOnlineInfo
- func (*UpdateOnlineInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOnlineInfo) GetMaxPlayer() int32
- func (x *UpdateOnlineInfo) GetName() string
- func (x *UpdateOnlineInfo) GetProcIndex() uint32
- func (*UpdateOnlineInfo) ProtoMessage()
- func (x *UpdateOnlineInfo) ProtoReflect() protoreflect.Message
- func (x *UpdateOnlineInfo) Reset()
- func (x *UpdateOnlineInfo) String() string
- func (m *UpdateOnlineInfo) Validate() error
- type UpdateOnlineInfoRet
- func (*UpdateOnlineInfoRet) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOnlineInfoRet) GetResult() uint32
- func (*UpdateOnlineInfoRet) ProtoMessage()
- func (x *UpdateOnlineInfoRet) ProtoReflect() protoreflect.Message
- func (x *UpdateOnlineInfoRet) Reset()
- func (x *UpdateOnlineInfoRet) String() string
- func (m *UpdateOnlineInfoRet) Validate() error
- type UpdateOnlineInfoRetValidationError
- func (e UpdateOnlineInfoRetValidationError) Cause() error
- func (e UpdateOnlineInfoRetValidationError) Error() string
- func (e UpdateOnlineInfoRetValidationError) ErrorName() string
- func (e UpdateOnlineInfoRetValidationError) Field() string
- func (e UpdateOnlineInfoRetValidationError) Key() bool
- func (e UpdateOnlineInfoRetValidationError) Reason() string
- type UpdateOnlineInfoValidationError
- func (e UpdateOnlineInfoValidationError) Cause() error
- func (e UpdateOnlineInfoValidationError) Error() string
- func (e UpdateOnlineInfoValidationError) ErrorName() string
- func (e UpdateOnlineInfoValidationError) Field() string
- func (e UpdateOnlineInfoValidationError) Key() bool
- func (e UpdateOnlineInfoValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( GatewayErr_name = map[int32]string{ 0: "Unknown", 1: "Success", 2: "Verify", 3: "RepeatedVerify", 4: "Closed", 5: "LoseCurCon", 6: "DisCurConn", 7: "BeingReConn", 8: "ZoneIdError", } GatewayErr_value = map[string]int32{ "Unknown": 0, "Success": 1, "Verify": 2, "RepeatedVerify": 3, "Closed": 4, "LoseCurCon": 5, "DisCurConn": 6, "BeingReConn": 7, "ZoneIdError": 8, } )
Enum value maps for GatewayErr.
var ( JoinErrorCode_name = map[int32]string{ 0: "JoinWorldSuccess", 1: "JoinWorldNotOpen", 2: "JoinWorldIng", 3: "JoinWorldIsFull", 4: "JoinZoneIdError", } JoinErrorCode_value = map[string]int32{ "JoinWorldSuccess": 0, "JoinWorldNotOpen": 1, "JoinWorldIng": 2, "JoinWorldIsFull": 3, "JoinZoneIdError": 4, } )
Enum value maps for JoinErrorCode.
var ( OnlineResult_name = map[int32]string{ 0: "OnlineFailure", 1: "OnlineSuccess", } OnlineResult_value = map[string]int32{ "OnlineFailure": 0, "OnlineSuccess": 1, } )
Enum value maps for OnlineResult.
var File_gateway_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CSGatewayJoinOnline ¶
type CSGatewayJoinOnline struct { Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` Quick bool `protobuf:"varint,2,opt,name=quick,proto3" json:"quick,omitempty"` ZoneId int32 `protobuf:"varint,3,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录时,区分玩家要登录的时哪个区,DB数据、online系统互通 Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*CSGatewayJoinOnline) Descriptor
deprecated
func (*CSGatewayJoinOnline) Descriptor() ([]byte, []int)
Deprecated: Use CSGatewayJoinOnline.ProtoReflect.Descriptor instead.
func (*CSGatewayJoinOnline) GetQuick ¶
func (x *CSGatewayJoinOnline) GetQuick() bool
func (*CSGatewayJoinOnline) GetSid ¶
func (x *CSGatewayJoinOnline) GetSid() string
func (*CSGatewayJoinOnline) GetVersion ¶
func (x *CSGatewayJoinOnline) GetVersion() string
func (*CSGatewayJoinOnline) GetZoneId ¶
func (x *CSGatewayJoinOnline) GetZoneId() int32
func (*CSGatewayJoinOnline) ProtoMessage ¶
func (*CSGatewayJoinOnline) ProtoMessage()
func (*CSGatewayJoinOnline) ProtoReflect ¶
func (x *CSGatewayJoinOnline) ProtoReflect() protoreflect.Message
func (*CSGatewayJoinOnline) Reset ¶
func (x *CSGatewayJoinOnline) Reset()
func (*CSGatewayJoinOnline) String ¶
func (x *CSGatewayJoinOnline) String() string
func (*CSGatewayJoinOnline) Validate ¶
func (m *CSGatewayJoinOnline) Validate() error
Validate checks the field values on CSGatewayJoinOnline with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSGatewayJoinOnlineValidationError ¶
type CSGatewayJoinOnlineValidationError struct {
// contains filtered or unexported fields
}
CSGatewayJoinOnlineValidationError is the validation error returned by CSGatewayJoinOnline.Validate if the designated constraints aren't met.
func (CSGatewayJoinOnlineValidationError) Cause ¶
func (e CSGatewayJoinOnlineValidationError) Cause() error
Cause function returns cause value.
func (CSGatewayJoinOnlineValidationError) Error ¶
func (e CSGatewayJoinOnlineValidationError) Error() string
Error satisfies the builtin error interface
func (CSGatewayJoinOnlineValidationError) ErrorName ¶
func (e CSGatewayJoinOnlineValidationError) ErrorName() string
ErrorName returns error name.
func (CSGatewayJoinOnlineValidationError) Field ¶
func (e CSGatewayJoinOnlineValidationError) Field() string
Field function returns field value.
func (CSGatewayJoinOnlineValidationError) Key ¶
func (e CSGatewayJoinOnlineValidationError) Key() bool
Key function returns key value.
func (CSGatewayJoinOnlineValidationError) Reason ¶
func (e CSGatewayJoinOnlineValidationError) Reason() string
Reason function returns reason value.
type CSGatewayLogin ¶
type CSGatewayLogin struct { Userid uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` PlatName string `protobuf:"bytes,3,opt,name=platName,proto3" json:"platName,omitempty"` ZoneId int32 `protobuf:"varint,4,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录时,区分玩家要登录的时哪个区,DB数据、online系统互通 // contains filtered or unexported fields }
func (*CSGatewayLogin) Descriptor
deprecated
func (*CSGatewayLogin) Descriptor() ([]byte, []int)
Deprecated: Use CSGatewayLogin.ProtoReflect.Descriptor instead.
func (*CSGatewayLogin) GetPlatName ¶
func (x *CSGatewayLogin) GetPlatName() string
func (*CSGatewayLogin) GetToken ¶
func (x *CSGatewayLogin) GetToken() string
func (*CSGatewayLogin) GetUserid ¶
func (x *CSGatewayLogin) GetUserid() uint64
func (*CSGatewayLogin) GetZoneId ¶
func (x *CSGatewayLogin) GetZoneId() int32
func (*CSGatewayLogin) ProtoMessage ¶
func (*CSGatewayLogin) ProtoMessage()
func (*CSGatewayLogin) ProtoReflect ¶
func (x *CSGatewayLogin) ProtoReflect() protoreflect.Message
func (*CSGatewayLogin) Reset ¶
func (x *CSGatewayLogin) Reset()
func (*CSGatewayLogin) String ¶
func (x *CSGatewayLogin) String() string
func (*CSGatewayLogin) Validate ¶
func (m *CSGatewayLogin) Validate() error
Validate checks the field values on CSGatewayLogin with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSGatewayLoginValidationError ¶
type CSGatewayLoginValidationError struct {
// contains filtered or unexported fields
}
CSGatewayLoginValidationError is the validation error returned by CSGatewayLogin.Validate if the designated constraints aren't met.
func (CSGatewayLoginValidationError) Cause ¶
func (e CSGatewayLoginValidationError) Cause() error
Cause function returns cause value.
func (CSGatewayLoginValidationError) Error ¶
func (e CSGatewayLoginValidationError) Error() string
Error satisfies the builtin error interface
func (CSGatewayLoginValidationError) ErrorName ¶
func (e CSGatewayLoginValidationError) ErrorName() string
ErrorName returns error name.
func (CSGatewayLoginValidationError) Field ¶
func (e CSGatewayLoginValidationError) Field() string
Field function returns field value.
func (CSGatewayLoginValidationError) Key ¶
func (e CSGatewayLoginValidationError) Key() bool
Key function returns key value.
func (CSGatewayLoginValidationError) Reason ¶
func (e CSGatewayLoginValidationError) Reason() string
Reason function returns reason value.
type CSGatewayLogout ¶
type CSGatewayLogout struct { UserId uint64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` PlatName string `protobuf:"bytes,3,opt,name=platName,proto3" json:"platName,omitempty"` // contains filtered or unexported fields }
func (*CSGatewayLogout) Descriptor
deprecated
func (*CSGatewayLogout) Descriptor() ([]byte, []int)
Deprecated: Use CSGatewayLogout.ProtoReflect.Descriptor instead.
func (*CSGatewayLogout) GetPlatName ¶
func (x *CSGatewayLogout) GetPlatName() string
func (*CSGatewayLogout) GetToken ¶
func (x *CSGatewayLogout) GetToken() string
func (*CSGatewayLogout) GetUserId ¶
func (x *CSGatewayLogout) GetUserId() uint64
func (*CSGatewayLogout) ProtoMessage ¶
func (*CSGatewayLogout) ProtoMessage()
func (*CSGatewayLogout) ProtoReflect ¶
func (x *CSGatewayLogout) ProtoReflect() protoreflect.Message
func (*CSGatewayLogout) Reset ¶
func (x *CSGatewayLogout) Reset()
func (*CSGatewayLogout) String ¶
func (x *CSGatewayLogout) String() string
func (*CSGatewayLogout) Validate ¶
func (m *CSGatewayLogout) Validate() error
Validate checks the field values on CSGatewayLogout with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSGatewayLogoutValidationError ¶
type CSGatewayLogoutValidationError struct {
// contains filtered or unexported fields
}
CSGatewayLogoutValidationError is the validation error returned by CSGatewayLogout.Validate if the designated constraints aren't met.
func (CSGatewayLogoutValidationError) Cause ¶
func (e CSGatewayLogoutValidationError) Cause() error
Cause function returns cause value.
func (CSGatewayLogoutValidationError) Error ¶
func (e CSGatewayLogoutValidationError) Error() string
Error satisfies the builtin error interface
func (CSGatewayLogoutValidationError) ErrorName ¶
func (e CSGatewayLogoutValidationError) ErrorName() string
ErrorName returns error name.
func (CSGatewayLogoutValidationError) Field ¶
func (e CSGatewayLogoutValidationError) Field() string
Field function returns field value.
func (CSGatewayLogoutValidationError) Key ¶
func (e CSGatewayLogoutValidationError) Key() bool
Key function returns key value.
func (CSGatewayLogoutValidationError) Reason ¶
func (e CSGatewayLogoutValidationError) Reason() string
Reason function returns reason value.
type CSGatewayOnlineList ¶
type CSGatewayOnlineList struct { ZoneId int32 `protobuf:"varint,1,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录时,区分玩家要登录的时哪个区,DB数据、online系统互通 // contains filtered or unexported fields }
func (*CSGatewayOnlineList) Descriptor
deprecated
func (*CSGatewayOnlineList) Descriptor() ([]byte, []int)
Deprecated: Use CSGatewayOnlineList.ProtoReflect.Descriptor instead.
func (*CSGatewayOnlineList) GetZoneId ¶
func (x *CSGatewayOnlineList) GetZoneId() int32
func (*CSGatewayOnlineList) ProtoMessage ¶
func (*CSGatewayOnlineList) ProtoMessage()
func (*CSGatewayOnlineList) ProtoReflect ¶
func (x *CSGatewayOnlineList) ProtoReflect() protoreflect.Message
func (*CSGatewayOnlineList) Reset ¶
func (x *CSGatewayOnlineList) Reset()
func (*CSGatewayOnlineList) String ¶
func (x *CSGatewayOnlineList) String() string
func (*CSGatewayOnlineList) Validate ¶
func (m *CSGatewayOnlineList) Validate() error
Validate checks the field values on CSGatewayOnlineList with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSGatewayOnlineListValidationError ¶
type CSGatewayOnlineListValidationError struct {
// contains filtered or unexported fields
}
CSGatewayOnlineListValidationError is the validation error returned by CSGatewayOnlineList.Validate if the designated constraints aren't met.
func (CSGatewayOnlineListValidationError) Cause ¶
func (e CSGatewayOnlineListValidationError) Cause() error
Cause function returns cause value.
func (CSGatewayOnlineListValidationError) Error ¶
func (e CSGatewayOnlineListValidationError) Error() string
Error satisfies the builtin error interface
func (CSGatewayOnlineListValidationError) ErrorName ¶
func (e CSGatewayOnlineListValidationError) ErrorName() string
ErrorName returns error name.
func (CSGatewayOnlineListValidationError) Field ¶
func (e CSGatewayOnlineListValidationError) Field() string
Field function returns field value.
func (CSGatewayOnlineListValidationError) Key ¶
func (e CSGatewayOnlineListValidationError) Key() bool
Key function returns key value.
func (CSGatewayOnlineListValidationError) Reason ¶
func (e CSGatewayOnlineListValidationError) Reason() string
Reason function returns reason value.
type CSReconnection ¶
type CSReconnection struct { Userid uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` PlatName string `protobuf:"bytes,3,opt,name=platName,proto3" json:"platName,omitempty"` ZoneId int32 `protobuf:"varint,4,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录时,区分玩家要登录的时哪个区,DB数据、online系统互通 Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*CSReconnection) Descriptor
deprecated
func (*CSReconnection) Descriptor() ([]byte, []int)
Deprecated: Use CSReconnection.ProtoReflect.Descriptor instead.
func (*CSReconnection) GetPlatName ¶
func (x *CSReconnection) GetPlatName() string
func (*CSReconnection) GetToken ¶
func (x *CSReconnection) GetToken() string
func (*CSReconnection) GetUserid ¶
func (x *CSReconnection) GetUserid() uint64
func (*CSReconnection) GetVersion ¶
func (x *CSReconnection) GetVersion() string
func (*CSReconnection) GetZoneId ¶
func (x *CSReconnection) GetZoneId() int32
func (*CSReconnection) ProtoMessage ¶
func (*CSReconnection) ProtoMessage()
func (*CSReconnection) ProtoReflect ¶
func (x *CSReconnection) ProtoReflect() protoreflect.Message
func (*CSReconnection) Reset ¶
func (x *CSReconnection) Reset()
func (*CSReconnection) String ¶
func (x *CSReconnection) String() string
func (*CSReconnection) Validate ¶
func (m *CSReconnection) Validate() error
Validate checks the field values on CSReconnection with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSReconnectionValidationError ¶
type CSReconnectionValidationError struct {
// contains filtered or unexported fields
}
CSReconnectionValidationError is the validation error returned by CSReconnection.Validate if the designated constraints aren't met.
func (CSReconnectionValidationError) Cause ¶
func (e CSReconnectionValidationError) Cause() error
Cause function returns cause value.
func (CSReconnectionValidationError) Error ¶
func (e CSReconnectionValidationError) Error() string
Error satisfies the builtin error interface
func (CSReconnectionValidationError) ErrorName ¶
func (e CSReconnectionValidationError) ErrorName() string
ErrorName returns error name.
func (CSReconnectionValidationError) Field ¶
func (e CSReconnectionValidationError) Field() string
Field function returns field value.
func (CSReconnectionValidationError) Key ¶
func (e CSReconnectionValidationError) Key() bool
Key function returns key value.
func (CSReconnectionValidationError) Reason ¶
func (e CSReconnectionValidationError) Reason() string
Reason function returns reason value.
type ClientOffline ¶ added in v1.3.0
type ClientOffline struct { Userid uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"` OpType uint32 `protobuf:"varint,2,opt,name=opType,proto3" json:"opType,omitempty"` // 1-离线 2-切线(异地登录) // contains filtered or unexported fields }
func (*ClientOffline) Descriptor
deprecated
added in
v1.3.0
func (*ClientOffline) Descriptor() ([]byte, []int)
Deprecated: Use ClientOffline.ProtoReflect.Descriptor instead.
func (*ClientOffline) GetOpType ¶ added in v1.3.0
func (x *ClientOffline) GetOpType() uint32
func (*ClientOffline) GetUserid ¶ added in v1.3.0
func (x *ClientOffline) GetUserid() uint64
func (*ClientOffline) ProtoMessage ¶ added in v1.3.0
func (*ClientOffline) ProtoMessage()
func (*ClientOffline) ProtoReflect ¶ added in v1.3.0
func (x *ClientOffline) ProtoReflect() protoreflect.Message
func (*ClientOffline) Reset ¶ added in v1.3.0
func (x *ClientOffline) Reset()
func (*ClientOffline) String ¶ added in v1.3.0
func (x *ClientOffline) String() string
func (*ClientOffline) Validate ¶ added in v1.3.0
func (m *ClientOffline) Validate() error
Validate checks the field values on ClientOffline with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ClientOfflineRet ¶ added in v1.3.1
type ClientOfflineRet struct { Userid uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"` Result uint32 `protobuf:"varint,2,opt,name=result,proto3" json:"result,omitempty"` Players int32 `protobuf:"varint,3,opt,name=players,proto3" json:"players,omitempty"` // 服务器当前人数 OpType uint32 `protobuf:"varint,4,opt,name=opType,proto3" json:"opType,omitempty"` // 1-离线 2-切线(异地登录) ProcIndex uint32 `protobuf:"varint,5,opt,name=procIndex,proto3" json:"procIndex,omitempty"` // 当前所在的服务器ID Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*ClientOfflineRet) Descriptor
deprecated
added in
v1.3.1
func (*ClientOfflineRet) Descriptor() ([]byte, []int)
Deprecated: Use ClientOfflineRet.ProtoReflect.Descriptor instead.
func (*ClientOfflineRet) GetOpType ¶ added in v1.3.1
func (x *ClientOfflineRet) GetOpType() uint32
func (*ClientOfflineRet) GetPlayers ¶ added in v1.3.1
func (x *ClientOfflineRet) GetPlayers() int32
func (*ClientOfflineRet) GetProcIndex ¶ added in v1.3.1
func (x *ClientOfflineRet) GetProcIndex() uint32
func (*ClientOfflineRet) GetResult ¶ added in v1.3.1
func (x *ClientOfflineRet) GetResult() uint32
func (*ClientOfflineRet) GetUserid ¶ added in v1.3.1
func (x *ClientOfflineRet) GetUserid() uint64
func (*ClientOfflineRet) GetVersion ¶ added in v1.3.1
func (x *ClientOfflineRet) GetVersion() string
func (*ClientOfflineRet) ProtoMessage ¶ added in v1.3.1
func (*ClientOfflineRet) ProtoMessage()
func (*ClientOfflineRet) ProtoReflect ¶ added in v1.3.1
func (x *ClientOfflineRet) ProtoReflect() protoreflect.Message
func (*ClientOfflineRet) Reset ¶ added in v1.3.1
func (x *ClientOfflineRet) Reset()
func (*ClientOfflineRet) String ¶ added in v1.3.1
func (x *ClientOfflineRet) String() string
func (*ClientOfflineRet) Validate ¶ added in v1.3.1
func (m *ClientOfflineRet) Validate() error
Validate checks the field values on ClientOfflineRet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ClientOfflineRetValidationError ¶ added in v1.3.1
type ClientOfflineRetValidationError struct {
// contains filtered or unexported fields
}
ClientOfflineRetValidationError is the validation error returned by ClientOfflineRet.Validate if the designated constraints aren't met.
func (ClientOfflineRetValidationError) Cause ¶ added in v1.3.1
func (e ClientOfflineRetValidationError) Cause() error
Cause function returns cause value.
func (ClientOfflineRetValidationError) Error ¶ added in v1.3.1
func (e ClientOfflineRetValidationError) Error() string
Error satisfies the builtin error interface
func (ClientOfflineRetValidationError) ErrorName ¶ added in v1.3.1
func (e ClientOfflineRetValidationError) ErrorName() string
ErrorName returns error name.
func (ClientOfflineRetValidationError) Field ¶ added in v1.3.1
func (e ClientOfflineRetValidationError) Field() string
Field function returns field value.
func (ClientOfflineRetValidationError) Key ¶ added in v1.3.1
func (e ClientOfflineRetValidationError) Key() bool
Key function returns key value.
func (ClientOfflineRetValidationError) Reason ¶ added in v1.3.1
func (e ClientOfflineRetValidationError) Reason() string
Reason function returns reason value.
type ClientOfflineValidationError ¶ added in v1.3.0
type ClientOfflineValidationError struct {
// contains filtered or unexported fields
}
ClientOfflineValidationError is the validation error returned by ClientOffline.Validate if the designated constraints aren't met.
func (ClientOfflineValidationError) Cause ¶ added in v1.3.0
func (e ClientOfflineValidationError) Cause() error
Cause function returns cause value.
func (ClientOfflineValidationError) Error ¶ added in v1.3.0
func (e ClientOfflineValidationError) Error() string
Error satisfies the builtin error interface
func (ClientOfflineValidationError) ErrorName ¶ added in v1.3.0
func (e ClientOfflineValidationError) ErrorName() string
ErrorName returns error name.
func (ClientOfflineValidationError) Field ¶ added in v1.3.0
func (e ClientOfflineValidationError) Field() string
Field function returns field value.
func (ClientOfflineValidationError) Key ¶ added in v1.3.0
func (e ClientOfflineValidationError) Key() bool
Key function returns key value.
func (ClientOfflineValidationError) Reason ¶ added in v1.3.0
func (e ClientOfflineValidationError) Reason() string
Reason function returns reason value.
type ClientOnline ¶ added in v1.3.1
type ClientOnline struct { Userid uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"` Reconnected bool `protobuf:"varint,2,opt,name=reconnected,proto3" json:"reconnected,omitempty"` RemoteIp string `protobuf:"bytes,3,opt,name=remoteIp,proto3" json:"remoteIp,omitempty"` GatewayIp string `protobuf:"bytes,4,opt,name=gatewayIp,proto3" json:"gatewayIp,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*ClientOnline) Descriptor
deprecated
added in
v1.3.1
func (*ClientOnline) Descriptor() ([]byte, []int)
Deprecated: Use ClientOnline.ProtoReflect.Descriptor instead.
func (*ClientOnline) GetGatewayIp ¶ added in v1.3.1
func (x *ClientOnline) GetGatewayIp() string
func (*ClientOnline) GetReconnected ¶ added in v1.3.1
func (x *ClientOnline) GetReconnected() bool
func (*ClientOnline) GetRemoteIp ¶ added in v1.3.1
func (x *ClientOnline) GetRemoteIp() string
func (*ClientOnline) GetUserid ¶ added in v1.3.1
func (x *ClientOnline) GetUserid() uint64
func (*ClientOnline) GetVersion ¶ added in v1.3.1
func (x *ClientOnline) GetVersion() string
func (*ClientOnline) ProtoMessage ¶ added in v1.3.1
func (*ClientOnline) ProtoMessage()
func (*ClientOnline) ProtoReflect ¶ added in v1.3.1
func (x *ClientOnline) ProtoReflect() protoreflect.Message
func (*ClientOnline) Reset ¶ added in v1.3.1
func (x *ClientOnline) Reset()
func (*ClientOnline) String ¶ added in v1.3.1
func (x *ClientOnline) String() string
func (*ClientOnline) Validate ¶ added in v1.3.1
func (m *ClientOnline) Validate() error
Validate checks the field values on ClientOnline with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ClientOnlineRet ¶ added in v1.3.0
type ClientOnlineRet struct { Result uint32 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Userid uint64 `protobuf:"varint,2,opt,name=userid,proto3" json:"userid,omitempty"` CharId int32 `protobuf:"varint,3,opt,name=charId,proto3" json:"charId,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Gold uint32 `protobuf:"varint,5,opt,name=gold,proto3" json:"gold,omitempty"` SceneId int32 `protobuf:"varint,6,opt,name=sceneId,proto3" json:"sceneId,omitempty"` Players int32 `protobuf:"varint,7,opt,name=players,proto3" json:"players,omitempty"` IsNew bool `protobuf:"varint,8,opt,name=isNew,proto3" json:"isNew,omitempty"` Frame uint32 `protobuf:"varint,9,opt,name=frame,proto3" json:"frame,omitempty"` Head uint32 `protobuf:"varint,10,opt,name=head,proto3" json:"head,omitempty"` Model uint32 `protobuf:"varint,11,opt,name=model,proto3" json:"model,omitempty"` Sex uint32 `protobuf:"varint,12,opt,name=sex,proto3" json:"sex,omitempty"` BubbleFrame uint32 `protobuf:"varint,13,opt,name=bubbleFrame,proto3" json:"bubbleFrame,omitempty"` SilverCoin int32 `protobuf:"varint,14,opt,name=silverCoin,proto3" json:"silverCoin,omitempty"` Level int32 `protobuf:"varint,15,opt,name=level,proto3" json:"level,omitempty"` Exp int32 `protobuf:"varint,16,opt,name=exp,proto3" json:"exp,omitempty"` RegTime int64 `protobuf:"varint,17,opt,name=regTime,proto3" json:"regTime,omitempty"` ServerTime int64 `protobuf:"varint,18,opt,name=serverTime,proto3" json:"serverTime,omitempty"` Reconnection bool `protobuf:"varint,19,opt,name=reconnection,proto3" json:"reconnection,omitempty"` TodayFirstLogin bool `protobuf:"varint,20,opt,name=todayFirstLogin,proto3" json:"todayFirstLogin,omitempty"` ProcIndex uint32 `protobuf:"varint,21,opt,name=procIndex,proto3" json:"procIndex,omitempty"` // contains filtered or unexported fields }
func (*ClientOnlineRet) Descriptor
deprecated
added in
v1.3.0
func (*ClientOnlineRet) Descriptor() ([]byte, []int)
Deprecated: Use ClientOnlineRet.ProtoReflect.Descriptor instead.
func (*ClientOnlineRet) GetBubbleFrame ¶ added in v1.3.0
func (x *ClientOnlineRet) GetBubbleFrame() uint32
func (*ClientOnlineRet) GetCharId ¶ added in v1.3.0
func (x *ClientOnlineRet) GetCharId() int32
func (*ClientOnlineRet) GetExp ¶ added in v1.3.0
func (x *ClientOnlineRet) GetExp() int32
func (*ClientOnlineRet) GetFrame ¶ added in v1.3.0
func (x *ClientOnlineRet) GetFrame() uint32
func (*ClientOnlineRet) GetGold ¶ added in v1.3.0
func (x *ClientOnlineRet) GetGold() uint32
func (*ClientOnlineRet) GetHead ¶ added in v1.3.0
func (x *ClientOnlineRet) GetHead() uint32
func (*ClientOnlineRet) GetIsNew ¶ added in v1.3.0
func (x *ClientOnlineRet) GetIsNew() bool
func (*ClientOnlineRet) GetLevel ¶ added in v1.3.0
func (x *ClientOnlineRet) GetLevel() int32
func (*ClientOnlineRet) GetModel ¶ added in v1.3.0
func (x *ClientOnlineRet) GetModel() uint32
func (*ClientOnlineRet) GetName ¶ added in v1.3.0
func (x *ClientOnlineRet) GetName() string
func (*ClientOnlineRet) GetPlayers ¶ added in v1.3.0
func (x *ClientOnlineRet) GetPlayers() int32
func (*ClientOnlineRet) GetProcIndex ¶ added in v1.3.0
func (x *ClientOnlineRet) GetProcIndex() uint32
func (*ClientOnlineRet) GetReconnection ¶ added in v1.3.0
func (x *ClientOnlineRet) GetReconnection() bool
func (*ClientOnlineRet) GetRegTime ¶ added in v1.3.0
func (x *ClientOnlineRet) GetRegTime() int64
func (*ClientOnlineRet) GetResult ¶ added in v1.3.0
func (x *ClientOnlineRet) GetResult() uint32
func (*ClientOnlineRet) GetSceneId ¶ added in v1.3.0
func (x *ClientOnlineRet) GetSceneId() int32
func (*ClientOnlineRet) GetServerTime ¶ added in v1.3.0
func (x *ClientOnlineRet) GetServerTime() int64
func (*ClientOnlineRet) GetSex ¶ added in v1.3.0
func (x *ClientOnlineRet) GetSex() uint32
func (*ClientOnlineRet) GetSilverCoin ¶ added in v1.3.0
func (x *ClientOnlineRet) GetSilverCoin() int32
func (*ClientOnlineRet) GetTodayFirstLogin ¶ added in v1.3.0
func (x *ClientOnlineRet) GetTodayFirstLogin() bool
func (*ClientOnlineRet) GetUserid ¶ added in v1.3.0
func (x *ClientOnlineRet) GetUserid() uint64
func (*ClientOnlineRet) ProtoMessage ¶ added in v1.3.0
func (*ClientOnlineRet) ProtoMessage()
func (*ClientOnlineRet) ProtoReflect ¶ added in v1.3.0
func (x *ClientOnlineRet) ProtoReflect() protoreflect.Message
func (*ClientOnlineRet) Reset ¶ added in v1.3.0
func (x *ClientOnlineRet) Reset()
func (*ClientOnlineRet) String ¶ added in v1.3.0
func (x *ClientOnlineRet) String() string
func (*ClientOnlineRet) Validate ¶ added in v1.3.0
func (m *ClientOnlineRet) Validate() error
Validate checks the field values on ClientOnlineRet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ClientOnlineRetValidationError ¶ added in v1.3.0
type ClientOnlineRetValidationError struct {
// contains filtered or unexported fields
}
ClientOnlineRetValidationError is the validation error returned by ClientOnlineRet.Validate if the designated constraints aren't met.
func (ClientOnlineRetValidationError) Cause ¶ added in v1.3.0
func (e ClientOnlineRetValidationError) Cause() error
Cause function returns cause value.
func (ClientOnlineRetValidationError) Error ¶ added in v1.3.0
func (e ClientOnlineRetValidationError) Error() string
Error satisfies the builtin error interface
func (ClientOnlineRetValidationError) ErrorName ¶ added in v1.3.0
func (e ClientOnlineRetValidationError) ErrorName() string
ErrorName returns error name.
func (ClientOnlineRetValidationError) Field ¶ added in v1.3.0
func (e ClientOnlineRetValidationError) Field() string
Field function returns field value.
func (ClientOnlineRetValidationError) Key ¶ added in v1.3.0
func (e ClientOnlineRetValidationError) Key() bool
Key function returns key value.
func (ClientOnlineRetValidationError) Reason ¶ added in v1.3.0
func (e ClientOnlineRetValidationError) Reason() string
Reason function returns reason value.
type ClientOnlineValidationError ¶ added in v1.3.1
type ClientOnlineValidationError struct {
// contains filtered or unexported fields
}
ClientOnlineValidationError is the validation error returned by ClientOnline.Validate if the designated constraints aren't met.
func (ClientOnlineValidationError) Cause ¶ added in v1.3.1
func (e ClientOnlineValidationError) Cause() error
Cause function returns cause value.
func (ClientOnlineValidationError) Error ¶ added in v1.3.1
func (e ClientOnlineValidationError) Error() string
Error satisfies the builtin error interface
func (ClientOnlineValidationError) ErrorName ¶ added in v1.3.1
func (e ClientOnlineValidationError) ErrorName() string
ErrorName returns error name.
func (ClientOnlineValidationError) Field ¶ added in v1.3.1
func (e ClientOnlineValidationError) Field() string
Field function returns field value.
func (ClientOnlineValidationError) Key ¶ added in v1.3.1
func (e ClientOnlineValidationError) Key() bool
Key function returns key value.
func (ClientOnlineValidationError) Reason ¶ added in v1.3.1
func (e ClientOnlineValidationError) Reason() string
Reason function returns reason value.
type ClientWorld ¶ added in v1.3.0
type ClientWorld struct { Userid uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"` IsReconnected bool `protobuf:"varint,2,opt,name=IsReconnected,proto3" json:"IsReconnected,omitempty"` RemoteIp string `protobuf:"bytes,3,opt,name=remoteIp,proto3" json:"remoteIp,omitempty"` GatewayIp string `protobuf:"bytes,4,opt,name=gatewayIp,proto3" json:"gatewayIp,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*ClientWorld) Descriptor
deprecated
added in
v1.3.0
func (*ClientWorld) Descriptor() ([]byte, []int)
Deprecated: Use ClientWorld.ProtoReflect.Descriptor instead.
func (*ClientWorld) GetGatewayIp ¶ added in v1.3.0
func (x *ClientWorld) GetGatewayIp() string
func (*ClientWorld) GetIsReconnected ¶ added in v1.3.0
func (x *ClientWorld) GetIsReconnected() bool
func (*ClientWorld) GetRemoteIp ¶ added in v1.3.0
func (x *ClientWorld) GetRemoteIp() string
func (*ClientWorld) GetUserid ¶ added in v1.3.0
func (x *ClientWorld) GetUserid() uint64
func (*ClientWorld) GetVersion ¶ added in v1.3.0
func (x *ClientWorld) GetVersion() string
func (*ClientWorld) ProtoMessage ¶ added in v1.3.0
func (*ClientWorld) ProtoMessage()
func (*ClientWorld) ProtoReflect ¶ added in v1.3.0
func (x *ClientWorld) ProtoReflect() protoreflect.Message
func (*ClientWorld) Reset ¶ added in v1.3.0
func (x *ClientWorld) Reset()
func (*ClientWorld) String ¶ added in v1.3.0
func (x *ClientWorld) String() string
func (*ClientWorld) Validate ¶ added in v1.3.0
func (m *ClientWorld) Validate() error
Validate checks the field values on ClientWorld with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ClientWorldValidationError ¶ added in v1.3.0
type ClientWorldValidationError struct {
// contains filtered or unexported fields
}
ClientWorldValidationError is the validation error returned by ClientWorld.Validate if the designated constraints aren't met.
func (ClientWorldValidationError) Cause ¶ added in v1.3.0
func (e ClientWorldValidationError) Cause() error
Cause function returns cause value.
func (ClientWorldValidationError) Error ¶ added in v1.3.0
func (e ClientWorldValidationError) Error() string
Error satisfies the builtin error interface
func (ClientWorldValidationError) ErrorName ¶ added in v1.3.0
func (e ClientWorldValidationError) ErrorName() string
ErrorName returns error name.
func (ClientWorldValidationError) Field ¶ added in v1.3.0
func (e ClientWorldValidationError) Field() string
Field function returns field value.
func (ClientWorldValidationError) Key ¶ added in v1.3.0
func (e ClientWorldValidationError) Key() bool
Key function returns key value.
func (ClientWorldValidationError) Reason ¶ added in v1.3.0
func (e ClientWorldValidationError) Reason() string
Reason function returns reason value.
type GatewayErr ¶
type GatewayErr int32
const ( GatewayErr_Unknown GatewayErr = 0 GatewayErr_Success GatewayErr = 1 // 成功 GatewayErr_Verify GatewayErr = 2 // 登录验证失败 GatewayErr_RepeatedVerify GatewayErr = 3 // 重复验证 GatewayErr_Closed GatewayErr = 4 // 系统关门维护中 GatewayErr_LoseCurCon GatewayErr = 5 // 当前连接不在了 GatewayErr_DisCurConn GatewayErr = 6 // 当前连接没有断开 GatewayErr_BeingReConn GatewayErr = 7 // 正在重连 GatewayErr_ZoneIdError GatewayErr = 8 // 区错误 )
func (GatewayErr) Descriptor ¶
func (GatewayErr) Descriptor() protoreflect.EnumDescriptor
func (GatewayErr) Enum ¶
func (x GatewayErr) Enum() *GatewayErr
func (GatewayErr) EnumDescriptor
deprecated
func (GatewayErr) EnumDescriptor() ([]byte, []int)
Deprecated: Use GatewayErr.Descriptor instead.
func (GatewayErr) Number ¶
func (x GatewayErr) Number() protoreflect.EnumNumber
func (GatewayErr) String ¶
func (x GatewayErr) String() string
func (GatewayErr) Type ¶
func (GatewayErr) Type() protoreflect.EnumType
type GatewayForwardPacket ¶ added in v1.3.1
type GatewayForwardPacket struct { Userid uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"` PlayerNumber int32 `protobuf:"varint,2,opt,name=playerNumber,proto3" json:"playerNumber,omitempty"` // 将online在线人数,实时带给gateway Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GatewayForwardPacket) Descriptor
deprecated
added in
v1.3.1
func (*GatewayForwardPacket) Descriptor() ([]byte, []int)
Deprecated: Use GatewayForwardPacket.ProtoReflect.Descriptor instead.
func (*GatewayForwardPacket) GetData ¶ added in v1.3.1
func (x *GatewayForwardPacket) GetData() []byte
func (*GatewayForwardPacket) GetPlayerNumber ¶ added in v1.3.1
func (x *GatewayForwardPacket) GetPlayerNumber() int32
func (*GatewayForwardPacket) GetUserid ¶ added in v1.3.1
func (x *GatewayForwardPacket) GetUserid() uint64
func (*GatewayForwardPacket) ProtoMessage ¶ added in v1.3.1
func (*GatewayForwardPacket) ProtoMessage()
func (*GatewayForwardPacket) ProtoReflect ¶ added in v1.3.1
func (x *GatewayForwardPacket) ProtoReflect() protoreflect.Message
func (*GatewayForwardPacket) Reset ¶ added in v1.3.1
func (x *GatewayForwardPacket) Reset()
func (*GatewayForwardPacket) String ¶ added in v1.3.1
func (x *GatewayForwardPacket) String() string
func (*GatewayForwardPacket) Validate ¶ added in v1.3.1
func (m *GatewayForwardPacket) Validate() error
Validate checks the field values on GatewayForwardPacket with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GatewayForwardPacketValidationError ¶ added in v1.3.1
type GatewayForwardPacketValidationError struct {
// contains filtered or unexported fields
}
GatewayForwardPacketValidationError is the validation error returned by GatewayForwardPacket.Validate if the designated constraints aren't met.
func (GatewayForwardPacketValidationError) Cause ¶ added in v1.3.1
func (e GatewayForwardPacketValidationError) Cause() error
Cause function returns cause value.
func (GatewayForwardPacketValidationError) Error ¶ added in v1.3.1
func (e GatewayForwardPacketValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayForwardPacketValidationError) ErrorName ¶ added in v1.3.1
func (e GatewayForwardPacketValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayForwardPacketValidationError) Field ¶ added in v1.3.1
func (e GatewayForwardPacketValidationError) Field() string
Field function returns field value.
func (GatewayForwardPacketValidationError) Key ¶ added in v1.3.1
func (e GatewayForwardPacketValidationError) Key() bool
Key function returns key value.
func (GatewayForwardPacketValidationError) Reason ¶ added in v1.3.1
func (e GatewayForwardPacketValidationError) Reason() string
Reason function returns reason value.
type JoinErrorCode ¶
type JoinErrorCode int32
const ( JoinErrorCode_JoinWorldSuccess JoinErrorCode = 0 //成功 JoinErrorCode_JoinWorldNotOpen JoinErrorCode = 1 //服务器未开放 JoinErrorCode_JoinWorldIng JoinErrorCode = 2 //正在登陆中 JoinErrorCode_JoinWorldIsFull JoinErrorCode = 3 //服务器人数已满 JoinErrorCode_JoinZoneIdError JoinErrorCode = 4 //区错误 )
func (JoinErrorCode) Descriptor ¶
func (JoinErrorCode) Descriptor() protoreflect.EnumDescriptor
func (JoinErrorCode) Enum ¶
func (x JoinErrorCode) Enum() *JoinErrorCode
func (JoinErrorCode) EnumDescriptor
deprecated
func (JoinErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use JoinErrorCode.Descriptor instead.
func (JoinErrorCode) Number ¶
func (x JoinErrorCode) Number() protoreflect.EnumNumber
func (JoinErrorCode) String ¶
func (x JoinErrorCode) String() string
func (JoinErrorCode) Type ¶
func (JoinErrorCode) Type() protoreflect.EnumType
type OnlineList ¶
type OnlineList struct { Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Players int32 `protobuf:"varint,4,opt,name=players,proto3" json:"players,omitempty"` ProId uint32 `protobuf:"varint,5,opt,name=proId,proto3" json:"proId,omitempty"` Max int32 `protobuf:"varint,6,opt,name=max,proto3" json:"max,omitempty"` // 最大人数 ZoneId int32 `protobuf:"varint,7,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录时,区分玩家要登录的时哪个区,DB数据、online系统互通 // contains filtered or unexported fields }
func (*OnlineList) Descriptor
deprecated
func (*OnlineList) Descriptor() ([]byte, []int)
Deprecated: Use OnlineList.ProtoReflect.Descriptor instead.
func (*OnlineList) GetAddr ¶
func (x *OnlineList) GetAddr() string
func (*OnlineList) GetMax ¶
func (x *OnlineList) GetMax() int32
func (*OnlineList) GetName ¶
func (x *OnlineList) GetName() string
func (*OnlineList) GetPlayers ¶
func (x *OnlineList) GetPlayers() int32
func (*OnlineList) GetProId ¶
func (x *OnlineList) GetProId() uint32
func (*OnlineList) GetSid ¶
func (x *OnlineList) GetSid() string
func (*OnlineList) GetZoneId ¶
func (x *OnlineList) GetZoneId() int32
func (*OnlineList) ProtoMessage ¶
func (*OnlineList) ProtoMessage()
func (*OnlineList) ProtoReflect ¶
func (x *OnlineList) ProtoReflect() protoreflect.Message
func (*OnlineList) Reset ¶
func (x *OnlineList) Reset()
func (*OnlineList) String ¶
func (x *OnlineList) String() string
func (*OnlineList) Validate ¶
func (m *OnlineList) Validate() error
Validate checks the field values on OnlineList with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type OnlineListValidationError ¶
type OnlineListValidationError struct {
// contains filtered or unexported fields
}
OnlineListValidationError is the validation error returned by OnlineList.Validate if the designated constraints aren't met.
func (OnlineListValidationError) Cause ¶
func (e OnlineListValidationError) Cause() error
Cause function returns cause value.
func (OnlineListValidationError) Error ¶
func (e OnlineListValidationError) Error() string
Error satisfies the builtin error interface
func (OnlineListValidationError) ErrorName ¶
func (e OnlineListValidationError) ErrorName() string
ErrorName returns error name.
func (OnlineListValidationError) Field ¶
func (e OnlineListValidationError) Field() string
Field function returns field value.
func (OnlineListValidationError) Key ¶
func (e OnlineListValidationError) Key() bool
Key function returns key value.
func (OnlineListValidationError) Reason ¶
func (e OnlineListValidationError) Reason() string
Reason function returns reason value.
type OnlineResult ¶ added in v1.3.1
type OnlineResult int32
const ( OnlineResult_OnlineFailure OnlineResult = 0 OnlineResult_OnlineSuccess OnlineResult = 1 )
func (OnlineResult) Descriptor ¶ added in v1.3.1
func (OnlineResult) Descriptor() protoreflect.EnumDescriptor
func (OnlineResult) Enum ¶ added in v1.3.1
func (x OnlineResult) Enum() *OnlineResult
func (OnlineResult) EnumDescriptor
deprecated
added in
v1.3.1
func (OnlineResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use OnlineResult.Descriptor instead.
func (OnlineResult) Number ¶ added in v1.3.1
func (x OnlineResult) Number() protoreflect.EnumNumber
func (OnlineResult) String ¶ added in v1.3.1
func (x OnlineResult) String() string
func (OnlineResult) Type ¶ added in v1.3.1
func (OnlineResult) Type() protoreflect.EnumType
type RegisterToGame ¶ added in v1.3.1
type RegisterToGame struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` ServerID string `protobuf:"bytes,2,opt,name=serverID,proto3" json:"serverID,omitempty"` ServerType uint32 `protobuf:"varint,3,opt,name=serverType,proto3" json:"serverType,omitempty"` ServerAddr string `protobuf:"bytes,4,opt,name=serverAddr,proto3" json:"serverAddr,omitempty"` ScrSerType uint32 `protobuf:"varint,5,opt,name=scrSerType,proto3" json:"scrSerType,omitempty"` SerRpcAddr string `protobuf:"bytes,6,opt,name=serRpcAddr,proto3" json:"serRpcAddr,omitempty"` // contains filtered or unexported fields }
func (*RegisterToGame) Descriptor
deprecated
added in
v1.3.1
func (*RegisterToGame) Descriptor() ([]byte, []int)
Deprecated: Use RegisterToGame.ProtoReflect.Descriptor instead.
func (*RegisterToGame) GetScrSerType ¶ added in v1.3.1
func (x *RegisterToGame) GetScrSerType() uint32
func (*RegisterToGame) GetSerRpcAddr ¶ added in v1.3.1
func (x *RegisterToGame) GetSerRpcAddr() string
func (*RegisterToGame) GetServerAddr ¶ added in v1.3.1
func (x *RegisterToGame) GetServerAddr() string
func (*RegisterToGame) GetServerID ¶ added in v1.3.1
func (x *RegisterToGame) GetServerID() string
func (*RegisterToGame) GetServerType ¶ added in v1.3.1
func (x *RegisterToGame) GetServerType() uint32
func (*RegisterToGame) GetToken ¶ added in v1.3.1
func (x *RegisterToGame) GetToken() string
func (*RegisterToGame) ProtoMessage ¶ added in v1.3.1
func (*RegisterToGame) ProtoMessage()
func (*RegisterToGame) ProtoReflect ¶ added in v1.3.1
func (x *RegisterToGame) ProtoReflect() protoreflect.Message
func (*RegisterToGame) Reset ¶ added in v1.3.1
func (x *RegisterToGame) Reset()
func (*RegisterToGame) String ¶ added in v1.3.1
func (x *RegisterToGame) String() string
func (*RegisterToGame) Validate ¶ added in v1.3.1
func (m *RegisterToGame) Validate() error
Validate checks the field values on RegisterToGame with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RegisterToGameRet ¶ added in v1.3.1
type RegisterToGameRet struct { Result uint32 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` MsgIds []uint32 `protobuf:"varint,2,rep,packed,name=msgIds,proto3" json:"msgIds,omitempty"` // contains filtered or unexported fields }
func (*RegisterToGameRet) Descriptor
deprecated
added in
v1.3.1
func (*RegisterToGameRet) Descriptor() ([]byte, []int)
Deprecated: Use RegisterToGameRet.ProtoReflect.Descriptor instead.
func (*RegisterToGameRet) GetMsgIds ¶ added in v1.3.1
func (x *RegisterToGameRet) GetMsgIds() []uint32
func (*RegisterToGameRet) GetResult ¶ added in v1.3.1
func (x *RegisterToGameRet) GetResult() uint32
func (*RegisterToGameRet) ProtoMessage ¶ added in v1.3.1
func (*RegisterToGameRet) ProtoMessage()
func (*RegisterToGameRet) ProtoReflect ¶ added in v1.3.1
func (x *RegisterToGameRet) ProtoReflect() protoreflect.Message
func (*RegisterToGameRet) Reset ¶ added in v1.3.1
func (x *RegisterToGameRet) Reset()
func (*RegisterToGameRet) String ¶ added in v1.3.1
func (x *RegisterToGameRet) String() string
func (*RegisterToGameRet) Validate ¶ added in v1.3.1
func (m *RegisterToGameRet) Validate() error
Validate checks the field values on RegisterToGameRet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RegisterToGameRetValidationError ¶ added in v1.3.1
type RegisterToGameRetValidationError struct {
// contains filtered or unexported fields
}
RegisterToGameRetValidationError is the validation error returned by RegisterToGameRet.Validate if the designated constraints aren't met.
func (RegisterToGameRetValidationError) Cause ¶ added in v1.3.1
func (e RegisterToGameRetValidationError) Cause() error
Cause function returns cause value.
func (RegisterToGameRetValidationError) Error ¶ added in v1.3.1
func (e RegisterToGameRetValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterToGameRetValidationError) ErrorName ¶ added in v1.3.1
func (e RegisterToGameRetValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterToGameRetValidationError) Field ¶ added in v1.3.1
func (e RegisterToGameRetValidationError) Field() string
Field function returns field value.
func (RegisterToGameRetValidationError) Key ¶ added in v1.3.1
func (e RegisterToGameRetValidationError) Key() bool
Key function returns key value.
func (RegisterToGameRetValidationError) Reason ¶ added in v1.3.1
func (e RegisterToGameRetValidationError) Reason() string
Reason function returns reason value.
type RegisterToGameValidationError ¶ added in v1.3.1
type RegisterToGameValidationError struct {
// contains filtered or unexported fields
}
RegisterToGameValidationError is the validation error returned by RegisterToGame.Validate if the designated constraints aren't met.
func (RegisterToGameValidationError) Cause ¶ added in v1.3.1
func (e RegisterToGameValidationError) Cause() error
Cause function returns cause value.
func (RegisterToGameValidationError) Error ¶ added in v1.3.1
func (e RegisterToGameValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterToGameValidationError) ErrorName ¶ added in v1.3.1
func (e RegisterToGameValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterToGameValidationError) Field ¶ added in v1.3.1
func (e RegisterToGameValidationError) Field() string
Field function returns field value.
func (RegisterToGameValidationError) Key ¶ added in v1.3.1
func (e RegisterToGameValidationError) Key() bool
Key function returns key value.
func (RegisterToGameValidationError) Reason ¶ added in v1.3.1
func (e RegisterToGameValidationError) Reason() string
Reason function returns reason value.
type RegisterToGateway ¶ added in v1.3.1
type RegisterToGateway struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` ServerID string `protobuf:"bytes,2,opt,name=serverID,proto3" json:"serverID,omitempty"` ServerType uint32 `protobuf:"varint,3,opt,name=serverType,proto3" json:"serverType,omitempty"` ServerAddr string `protobuf:"bytes,4,opt,name=serverAddr,proto3" json:"serverAddr,omitempty"` Msgids []uint32 `protobuf:"varint,5,rep,packed,name=msgids,proto3" json:"msgids,omitempty"` ProcIndex uint32 `protobuf:"varint,6,opt,name=procIndex,proto3" json:"procIndex,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` MaxPlayer int32 `protobuf:"varint,8,opt,name=maxPlayer,proto3" json:"maxPlayer,omitempty"` // 最大人数 ZoneId int32 `protobuf:"varint,9,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录/聊天时,区分玩家要登录/聊天于的时哪个区,DB数据、online系统互通 // contains filtered or unexported fields }
func (*RegisterToGateway) Descriptor
deprecated
added in
v1.3.1
func (*RegisterToGateway) Descriptor() ([]byte, []int)
Deprecated: Use RegisterToGateway.ProtoReflect.Descriptor instead.
func (*RegisterToGateway) GetMaxPlayer ¶ added in v1.3.1
func (x *RegisterToGateway) GetMaxPlayer() int32
func (*RegisterToGateway) GetMsgids ¶ added in v1.3.1
func (x *RegisterToGateway) GetMsgids() []uint32
func (*RegisterToGateway) GetName ¶ added in v1.3.1
func (x *RegisterToGateway) GetName() string
func (*RegisterToGateway) GetProcIndex ¶ added in v1.3.1
func (x *RegisterToGateway) GetProcIndex() uint32
func (*RegisterToGateway) GetServerAddr ¶ added in v1.3.1
func (x *RegisterToGateway) GetServerAddr() string
func (*RegisterToGateway) GetServerID ¶ added in v1.3.1
func (x *RegisterToGateway) GetServerID() string
func (*RegisterToGateway) GetServerType ¶ added in v1.3.1
func (x *RegisterToGateway) GetServerType() uint32
func (*RegisterToGateway) GetToken ¶ added in v1.3.1
func (x *RegisterToGateway) GetToken() string
func (*RegisterToGateway) GetZoneId ¶ added in v1.3.1
func (x *RegisterToGateway) GetZoneId() int32
func (*RegisterToGateway) ProtoMessage ¶ added in v1.3.1
func (*RegisterToGateway) ProtoMessage()
func (*RegisterToGateway) ProtoReflect ¶ added in v1.3.1
func (x *RegisterToGateway) ProtoReflect() protoreflect.Message
func (*RegisterToGateway) Reset ¶ added in v1.3.1
func (x *RegisterToGateway) Reset()
func (*RegisterToGateway) String ¶ added in v1.3.1
func (x *RegisterToGateway) String() string
func (*RegisterToGateway) Validate ¶ added in v1.3.1
func (m *RegisterToGateway) Validate() error
Validate checks the field values on RegisterToGateway with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RegisterToGatewayRet ¶ added in v1.3.1
type RegisterToGatewayRet struct { Result uint32 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` ZoneId int32 `protobuf:"varint,2,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录/聊天时,区分玩家要登录/聊天于的时哪个区,DB数据、online系统互通 // contains filtered or unexported fields }
func (*RegisterToGatewayRet) Descriptor
deprecated
added in
v1.3.1
func (*RegisterToGatewayRet) Descriptor() ([]byte, []int)
Deprecated: Use RegisterToGatewayRet.ProtoReflect.Descriptor instead.
func (*RegisterToGatewayRet) GetResult ¶ added in v1.3.1
func (x *RegisterToGatewayRet) GetResult() uint32
func (*RegisterToGatewayRet) GetZoneId ¶ added in v1.3.1
func (x *RegisterToGatewayRet) GetZoneId() int32
func (*RegisterToGatewayRet) ProtoMessage ¶ added in v1.3.1
func (*RegisterToGatewayRet) ProtoMessage()
func (*RegisterToGatewayRet) ProtoReflect ¶ added in v1.3.1
func (x *RegisterToGatewayRet) ProtoReflect() protoreflect.Message
func (*RegisterToGatewayRet) Reset ¶ added in v1.3.1
func (x *RegisterToGatewayRet) Reset()
func (*RegisterToGatewayRet) String ¶ added in v1.3.1
func (x *RegisterToGatewayRet) String() string
func (*RegisterToGatewayRet) Validate ¶ added in v1.3.1
func (m *RegisterToGatewayRet) Validate() error
Validate checks the field values on RegisterToGatewayRet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RegisterToGatewayRetValidationError ¶ added in v1.3.1
type RegisterToGatewayRetValidationError struct {
// contains filtered or unexported fields
}
RegisterToGatewayRetValidationError is the validation error returned by RegisterToGatewayRet.Validate if the designated constraints aren't met.
func (RegisterToGatewayRetValidationError) Cause ¶ added in v1.3.1
func (e RegisterToGatewayRetValidationError) Cause() error
Cause function returns cause value.
func (RegisterToGatewayRetValidationError) Error ¶ added in v1.3.1
func (e RegisterToGatewayRetValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterToGatewayRetValidationError) ErrorName ¶ added in v1.3.1
func (e RegisterToGatewayRetValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterToGatewayRetValidationError) Field ¶ added in v1.3.1
func (e RegisterToGatewayRetValidationError) Field() string
Field function returns field value.
func (RegisterToGatewayRetValidationError) Key ¶ added in v1.3.1
func (e RegisterToGatewayRetValidationError) Key() bool
Key function returns key value.
func (RegisterToGatewayRetValidationError) Reason ¶ added in v1.3.1
func (e RegisterToGatewayRetValidationError) Reason() string
Reason function returns reason value.
type RegisterToGatewayValidationError ¶ added in v1.3.1
type RegisterToGatewayValidationError struct {
// contains filtered or unexported fields
}
RegisterToGatewayValidationError is the validation error returned by RegisterToGateway.Validate if the designated constraints aren't met.
func (RegisterToGatewayValidationError) Cause ¶ added in v1.3.1
func (e RegisterToGatewayValidationError) Cause() error
Cause function returns cause value.
func (RegisterToGatewayValidationError) Error ¶ added in v1.3.1
func (e RegisterToGatewayValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterToGatewayValidationError) ErrorName ¶ added in v1.3.1
func (e RegisterToGatewayValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterToGatewayValidationError) Field ¶ added in v1.3.1
func (e RegisterToGatewayValidationError) Field() string
Field function returns field value.
func (RegisterToGatewayValidationError) Key ¶ added in v1.3.1
func (e RegisterToGatewayValidationError) Key() bool
Key function returns key value.
func (RegisterToGatewayValidationError) Reason ¶ added in v1.3.1
func (e RegisterToGatewayValidationError) Reason() string
Reason function returns reason value.
type SCGatewayJoinOnline ¶
type SCGatewayJoinOnline struct { Userid uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Nick string `protobuf:"bytes,4,opt,name=nick,proto3" json:"nick,omitempty"` Gold uint32 `protobuf:"varint,5,opt,name=gold,proto3" json:"gold,omitempty"` SceneId int32 `protobuf:"varint,6,opt,name=sceneId,proto3" json:"sceneId,omitempty"` IsNew bool `protobuf:"varint,7,opt,name=isNew,proto3" json:"isNew,omitempty"` Frame uint32 `protobuf:"varint,8,opt,name=frame,proto3" json:"frame,omitempty"` // 相框 Head uint32 `protobuf:"varint,9,opt,name=head,proto3" json:"head,omitempty"` // 头像 Model uint32 `protobuf:"varint,10,opt,name=model,proto3" json:"model,omitempty"` // 模型 Sex uint32 `protobuf:"varint,11,opt,name=sex,proto3" json:"sex,omitempty"` Level int32 `protobuf:"varint,12,opt,name=level,proto3" json:"level,omitempty"` Exp int32 `protobuf:"varint,13,opt,name=exp,proto3" json:"exp,omitempty"` RegTime int64 `protobuf:"varint,14,opt,name=regTime,proto3" json:"regTime,omitempty"` ServerTime int64 `protobuf:"varint,15,opt,name=serverTime,proto3" json:"serverTime,omitempty"` TodayFirstLogin bool `protobuf:"varint,16,opt,name=todayFirstLogin,proto3" json:"todayFirstLogin,omitempty"` // 今日首次登陆 ProcIndex uint32 `protobuf:"varint,17,opt,name=procIndex,proto3" json:"procIndex,omitempty"` // 当前所在的服务器ID ErrCode JoinErrorCode `protobuf:"varint,18,opt,name=errCode,proto3,enum=gateway.JoinErrorCode" json:"errCode,omitempty"` // 进入服务器错误码 // contains filtered or unexported fields }
func (*SCGatewayJoinOnline) Descriptor
deprecated
func (*SCGatewayJoinOnline) Descriptor() ([]byte, []int)
Deprecated: Use SCGatewayJoinOnline.ProtoReflect.Descriptor instead.
func (*SCGatewayJoinOnline) GetAccount ¶
func (x *SCGatewayJoinOnline) GetAccount() string
func (*SCGatewayJoinOnline) GetErrCode ¶
func (x *SCGatewayJoinOnline) GetErrCode() JoinErrorCode
func (*SCGatewayJoinOnline) GetExp ¶
func (x *SCGatewayJoinOnline) GetExp() int32
func (*SCGatewayJoinOnline) GetFrame ¶
func (x *SCGatewayJoinOnline) GetFrame() uint32
func (*SCGatewayJoinOnline) GetGold ¶
func (x *SCGatewayJoinOnline) GetGold() uint32
func (*SCGatewayJoinOnline) GetHead ¶
func (x *SCGatewayJoinOnline) GetHead() uint32
func (*SCGatewayJoinOnline) GetIsNew ¶
func (x *SCGatewayJoinOnline) GetIsNew() bool
func (*SCGatewayJoinOnline) GetLevel ¶
func (x *SCGatewayJoinOnline) GetLevel() int32
func (*SCGatewayJoinOnline) GetModel ¶
func (x *SCGatewayJoinOnline) GetModel() uint32
func (*SCGatewayJoinOnline) GetNick ¶
func (x *SCGatewayJoinOnline) GetNick() string
func (*SCGatewayJoinOnline) GetProcIndex ¶
func (x *SCGatewayJoinOnline) GetProcIndex() uint32
func (*SCGatewayJoinOnline) GetRegTime ¶
func (x *SCGatewayJoinOnline) GetRegTime() int64
func (*SCGatewayJoinOnline) GetSceneId ¶
func (x *SCGatewayJoinOnline) GetSceneId() int32
func (*SCGatewayJoinOnline) GetServerTime ¶
func (x *SCGatewayJoinOnline) GetServerTime() int64
func (*SCGatewayJoinOnline) GetSex ¶
func (x *SCGatewayJoinOnline) GetSex() uint32
func (*SCGatewayJoinOnline) GetTodayFirstLogin ¶
func (x *SCGatewayJoinOnline) GetTodayFirstLogin() bool
func (*SCGatewayJoinOnline) GetUserid ¶
func (x *SCGatewayJoinOnline) GetUserid() uint64
func (*SCGatewayJoinOnline) ProtoMessage ¶
func (*SCGatewayJoinOnline) ProtoMessage()
func (*SCGatewayJoinOnline) ProtoReflect ¶
func (x *SCGatewayJoinOnline) ProtoReflect() protoreflect.Message
func (*SCGatewayJoinOnline) Reset ¶
func (x *SCGatewayJoinOnline) Reset()
func (*SCGatewayJoinOnline) String ¶
func (x *SCGatewayJoinOnline) String() string
func (*SCGatewayJoinOnline) Validate ¶
func (m *SCGatewayJoinOnline) Validate() error
Validate checks the field values on SCGatewayJoinOnline with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCGatewayJoinOnlineValidationError ¶
type SCGatewayJoinOnlineValidationError struct {
// contains filtered or unexported fields
}
SCGatewayJoinOnlineValidationError is the validation error returned by SCGatewayJoinOnline.Validate if the designated constraints aren't met.
func (SCGatewayJoinOnlineValidationError) Cause ¶
func (e SCGatewayJoinOnlineValidationError) Cause() error
Cause function returns cause value.
func (SCGatewayJoinOnlineValidationError) Error ¶
func (e SCGatewayJoinOnlineValidationError) Error() string
Error satisfies the builtin error interface
func (SCGatewayJoinOnlineValidationError) ErrorName ¶
func (e SCGatewayJoinOnlineValidationError) ErrorName() string
ErrorName returns error name.
func (SCGatewayJoinOnlineValidationError) Field ¶
func (e SCGatewayJoinOnlineValidationError) Field() string
Field function returns field value.
func (SCGatewayJoinOnlineValidationError) Key ¶
func (e SCGatewayJoinOnlineValidationError) Key() bool
Key function returns key value.
func (SCGatewayJoinOnlineValidationError) Reason ¶
func (e SCGatewayJoinOnlineValidationError) Reason() string
Reason function returns reason value.
type SCGatewayLogin ¶
type SCGatewayLogin struct { ErrCode uint32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` // 1,成功,2,登录验证失败, 3, 重复验证, 4,系统关门维护中; Userid uint64 `protobuf:"varint,2,opt,name=userid,proto3" json:"userid,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` SceneId int32 `protobuf:"varint,4,opt,name=sceneId,proto3" json:"sceneId,omitempty"` ZoneId int32 `protobuf:"varint,5,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录时,区分玩家要登录的时哪个区,DB数据、online系统互通 // contains filtered or unexported fields }
func (*SCGatewayLogin) Descriptor
deprecated
func (*SCGatewayLogin) Descriptor() ([]byte, []int)
Deprecated: Use SCGatewayLogin.ProtoReflect.Descriptor instead.
func (*SCGatewayLogin) GetErrCode ¶
func (x *SCGatewayLogin) GetErrCode() uint32
func (*SCGatewayLogin) GetName ¶
func (x *SCGatewayLogin) GetName() string
func (*SCGatewayLogin) GetSceneId ¶
func (x *SCGatewayLogin) GetSceneId() int32
func (*SCGatewayLogin) GetUserid ¶
func (x *SCGatewayLogin) GetUserid() uint64
func (*SCGatewayLogin) GetZoneId ¶
func (x *SCGatewayLogin) GetZoneId() int32
func (*SCGatewayLogin) ProtoMessage ¶
func (*SCGatewayLogin) ProtoMessage()
func (*SCGatewayLogin) ProtoReflect ¶
func (x *SCGatewayLogin) ProtoReflect() protoreflect.Message
func (*SCGatewayLogin) Reset ¶
func (x *SCGatewayLogin) Reset()
func (*SCGatewayLogin) String ¶
func (x *SCGatewayLogin) String() string
func (*SCGatewayLogin) Validate ¶
func (m *SCGatewayLogin) Validate() error
Validate checks the field values on SCGatewayLogin with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCGatewayLoginValidationError ¶
type SCGatewayLoginValidationError struct {
// contains filtered or unexported fields
}
SCGatewayLoginValidationError is the validation error returned by SCGatewayLogin.Validate if the designated constraints aren't met.
func (SCGatewayLoginValidationError) Cause ¶
func (e SCGatewayLoginValidationError) Cause() error
Cause function returns cause value.
func (SCGatewayLoginValidationError) Error ¶
func (e SCGatewayLoginValidationError) Error() string
Error satisfies the builtin error interface
func (SCGatewayLoginValidationError) ErrorName ¶
func (e SCGatewayLoginValidationError) ErrorName() string
ErrorName returns error name.
func (SCGatewayLoginValidationError) Field ¶
func (e SCGatewayLoginValidationError) Field() string
Field function returns field value.
func (SCGatewayLoginValidationError) Key ¶
func (e SCGatewayLoginValidationError) Key() bool
Key function returns key value.
func (SCGatewayLoginValidationError) Reason ¶
func (e SCGatewayLoginValidationError) Reason() string
Reason function returns reason value.
type SCGatewayLogout ¶
type SCGatewayLogout struct {
// contains filtered or unexported fields
}
func (*SCGatewayLogout) Descriptor
deprecated
func (*SCGatewayLogout) Descriptor() ([]byte, []int)
Deprecated: Use SCGatewayLogout.ProtoReflect.Descriptor instead.
func (*SCGatewayLogout) ProtoMessage ¶
func (*SCGatewayLogout) ProtoMessage()
func (*SCGatewayLogout) ProtoReflect ¶
func (x *SCGatewayLogout) ProtoReflect() protoreflect.Message
func (*SCGatewayLogout) Reset ¶
func (x *SCGatewayLogout) Reset()
func (*SCGatewayLogout) String ¶
func (x *SCGatewayLogout) String() string
func (*SCGatewayLogout) Validate ¶
func (m *SCGatewayLogout) Validate() error
Validate checks the field values on SCGatewayLogout with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCGatewayLogoutValidationError ¶
type SCGatewayLogoutValidationError struct {
// contains filtered or unexported fields
}
SCGatewayLogoutValidationError is the validation error returned by SCGatewayLogout.Validate if the designated constraints aren't met.
func (SCGatewayLogoutValidationError) Cause ¶
func (e SCGatewayLogoutValidationError) Cause() error
Cause function returns cause value.
func (SCGatewayLogoutValidationError) Error ¶
func (e SCGatewayLogoutValidationError) Error() string
Error satisfies the builtin error interface
func (SCGatewayLogoutValidationError) ErrorName ¶
func (e SCGatewayLogoutValidationError) ErrorName() string
ErrorName returns error name.
func (SCGatewayLogoutValidationError) Field ¶
func (e SCGatewayLogoutValidationError) Field() string
Field function returns field value.
func (SCGatewayLogoutValidationError) Key ¶
func (e SCGatewayLogoutValidationError) Key() bool
Key function returns key value.
func (SCGatewayLogoutValidationError) Reason ¶
func (e SCGatewayLogoutValidationError) Reason() string
Reason function returns reason value.
type SCGatewayOnlineList ¶
type SCGatewayOnlineList struct { List []*OnlineList `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*SCGatewayOnlineList) Descriptor
deprecated
func (*SCGatewayOnlineList) Descriptor() ([]byte, []int)
Deprecated: Use SCGatewayOnlineList.ProtoReflect.Descriptor instead.
func (*SCGatewayOnlineList) GetList ¶
func (x *SCGatewayOnlineList) GetList() []*OnlineList
func (*SCGatewayOnlineList) ProtoMessage ¶
func (*SCGatewayOnlineList) ProtoMessage()
func (*SCGatewayOnlineList) ProtoReflect ¶
func (x *SCGatewayOnlineList) ProtoReflect() protoreflect.Message
func (*SCGatewayOnlineList) Reset ¶
func (x *SCGatewayOnlineList) Reset()
func (*SCGatewayOnlineList) String ¶
func (x *SCGatewayOnlineList) String() string
func (*SCGatewayOnlineList) Validate ¶
func (m *SCGatewayOnlineList) Validate() error
Validate checks the field values on SCGatewayOnlineList with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCGatewayOnlineListValidationError ¶
type SCGatewayOnlineListValidationError struct {
// contains filtered or unexported fields
}
SCGatewayOnlineListValidationError is the validation error returned by SCGatewayOnlineList.Validate if the designated constraints aren't met.
func (SCGatewayOnlineListValidationError) Cause ¶
func (e SCGatewayOnlineListValidationError) Cause() error
Cause function returns cause value.
func (SCGatewayOnlineListValidationError) Error ¶
func (e SCGatewayOnlineListValidationError) Error() string
Error satisfies the builtin error interface
func (SCGatewayOnlineListValidationError) ErrorName ¶
func (e SCGatewayOnlineListValidationError) ErrorName() string
ErrorName returns error name.
func (SCGatewayOnlineListValidationError) Field ¶
func (e SCGatewayOnlineListValidationError) Field() string
Field function returns field value.
func (SCGatewayOnlineListValidationError) Key ¶
func (e SCGatewayOnlineListValidationError) Key() bool
Key function returns key value.
func (SCGatewayOnlineListValidationError) Reason ¶
func (e SCGatewayOnlineListValidationError) Reason() string
Reason function returns reason value.
type SCReconnection ¶
type SCReconnection struct { Ret uint32 `protobuf:"varint,1,opt,name=ret,proto3" json:"ret,omitempty"` // 0-失败(失败返回正常登录流程) 1-成功 // contains filtered or unexported fields }
func (*SCReconnection) Descriptor
deprecated
func (*SCReconnection) Descriptor() ([]byte, []int)
Deprecated: Use SCReconnection.ProtoReflect.Descriptor instead.
func (*SCReconnection) GetRet ¶
func (x *SCReconnection) GetRet() uint32
func (*SCReconnection) ProtoMessage ¶
func (*SCReconnection) ProtoMessage()
func (*SCReconnection) ProtoReflect ¶
func (x *SCReconnection) ProtoReflect() protoreflect.Message
func (*SCReconnection) Reset ¶
func (x *SCReconnection) Reset()
func (*SCReconnection) String ¶
func (x *SCReconnection) String() string
func (*SCReconnection) Validate ¶
func (m *SCReconnection) Validate() error
Validate checks the field values on SCReconnection with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCReconnectionValidationError ¶
type SCReconnectionValidationError struct {
// contains filtered or unexported fields
}
SCReconnectionValidationError is the validation error returned by SCReconnection.Validate if the designated constraints aren't met.
func (SCReconnectionValidationError) Cause ¶
func (e SCReconnectionValidationError) Cause() error
Cause function returns cause value.
func (SCReconnectionValidationError) Error ¶
func (e SCReconnectionValidationError) Error() string
Error satisfies the builtin error interface
func (SCReconnectionValidationError) ErrorName ¶
func (e SCReconnectionValidationError) ErrorName() string
ErrorName returns error name.
func (SCReconnectionValidationError) Field ¶
func (e SCReconnectionValidationError) Field() string
Field function returns field value.
func (SCReconnectionValidationError) Key ¶
func (e SCReconnectionValidationError) Key() bool
Key function returns key value.
func (SCReconnectionValidationError) Reason ¶
func (e SCReconnectionValidationError) Reason() string
Reason function returns reason value.
type SCRewardBoxNotify ¶
type SCRewardBoxNotify struct { RewardType uint32 `protobuf:"varint,1,opt,name=rewardType,proto3" json:"rewardType,omitempty"` // 弹框类型 0:弹窗 1:飘字 2:动画 RewardList map[uint32]int32 `` // 任务奖励 /* 163-byte string literal not displayed */ Source int32 `protobuf:"varint,3,opt,name=source,proto3" json:"source,omitempty"` // 来源 // contains filtered or unexported fields }
func (*SCRewardBoxNotify) Descriptor
deprecated
func (*SCRewardBoxNotify) Descriptor() ([]byte, []int)
Deprecated: Use SCRewardBoxNotify.ProtoReflect.Descriptor instead.
func (*SCRewardBoxNotify) GetRewardList ¶
func (x *SCRewardBoxNotify) GetRewardList() map[uint32]int32
func (*SCRewardBoxNotify) GetRewardType ¶
func (x *SCRewardBoxNotify) GetRewardType() uint32
func (*SCRewardBoxNotify) GetSource ¶
func (x *SCRewardBoxNotify) GetSource() int32
func (*SCRewardBoxNotify) ProtoMessage ¶
func (*SCRewardBoxNotify) ProtoMessage()
func (*SCRewardBoxNotify) ProtoReflect ¶
func (x *SCRewardBoxNotify) ProtoReflect() protoreflect.Message
func (*SCRewardBoxNotify) Reset ¶
func (x *SCRewardBoxNotify) Reset()
func (*SCRewardBoxNotify) String ¶
func (x *SCRewardBoxNotify) String() string
func (*SCRewardBoxNotify) Validate ¶
func (m *SCRewardBoxNotify) Validate() error
Validate checks the field values on SCRewardBoxNotify with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCRewardBoxNotifyValidationError ¶
type SCRewardBoxNotifyValidationError struct {
// contains filtered or unexported fields
}
SCRewardBoxNotifyValidationError is the validation error returned by SCRewardBoxNotify.Validate if the designated constraints aren't met.
func (SCRewardBoxNotifyValidationError) Cause ¶
func (e SCRewardBoxNotifyValidationError) Cause() error
Cause function returns cause value.
func (SCRewardBoxNotifyValidationError) Error ¶
func (e SCRewardBoxNotifyValidationError) Error() string
Error satisfies the builtin error interface
func (SCRewardBoxNotifyValidationError) ErrorName ¶
func (e SCRewardBoxNotifyValidationError) ErrorName() string
ErrorName returns error name.
func (SCRewardBoxNotifyValidationError) Field ¶
func (e SCRewardBoxNotifyValidationError) Field() string
Field function returns field value.
func (SCRewardBoxNotifyValidationError) Key ¶
func (e SCRewardBoxNotifyValidationError) Key() bool
Key function returns key value.
func (SCRewardBoxNotifyValidationError) Reason ¶
func (e SCRewardBoxNotifyValidationError) Reason() string
Reason function returns reason value.
type UpdateOnlineInfo ¶ added in v1.3.1
type UpdateOnlineInfo struct { ProcIndex uint32 `protobuf:"varint,1,opt,name=procIndex,proto3" json:"procIndex,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` MaxPlayer int32 `protobuf:"varint,3,opt,name=maxPlayer,proto3" json:"maxPlayer,omitempty"` // 最大人数 // contains filtered or unexported fields }
func (*UpdateOnlineInfo) Descriptor
deprecated
added in
v1.3.1
func (*UpdateOnlineInfo) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOnlineInfo.ProtoReflect.Descriptor instead.
func (*UpdateOnlineInfo) GetMaxPlayer ¶ added in v1.3.1
func (x *UpdateOnlineInfo) GetMaxPlayer() int32
func (*UpdateOnlineInfo) GetName ¶ added in v1.3.1
func (x *UpdateOnlineInfo) GetName() string
func (*UpdateOnlineInfo) GetProcIndex ¶ added in v1.3.1
func (x *UpdateOnlineInfo) GetProcIndex() uint32
func (*UpdateOnlineInfo) ProtoMessage ¶ added in v1.3.1
func (*UpdateOnlineInfo) ProtoMessage()
func (*UpdateOnlineInfo) ProtoReflect ¶ added in v1.3.1
func (x *UpdateOnlineInfo) ProtoReflect() protoreflect.Message
func (*UpdateOnlineInfo) Reset ¶ added in v1.3.1
func (x *UpdateOnlineInfo) Reset()
func (*UpdateOnlineInfo) String ¶ added in v1.3.1
func (x *UpdateOnlineInfo) String() string
func (*UpdateOnlineInfo) Validate ¶ added in v1.3.1
func (m *UpdateOnlineInfo) Validate() error
Validate checks the field values on UpdateOnlineInfo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateOnlineInfoRet ¶ added in v1.3.1
type UpdateOnlineInfoRet struct { Result uint32 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*UpdateOnlineInfoRet) Descriptor
deprecated
added in
v1.3.1
func (*UpdateOnlineInfoRet) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOnlineInfoRet.ProtoReflect.Descriptor instead.
func (*UpdateOnlineInfoRet) GetResult ¶ added in v1.3.1
func (x *UpdateOnlineInfoRet) GetResult() uint32
func (*UpdateOnlineInfoRet) ProtoMessage ¶ added in v1.3.1
func (*UpdateOnlineInfoRet) ProtoMessage()
func (*UpdateOnlineInfoRet) ProtoReflect ¶ added in v1.3.1
func (x *UpdateOnlineInfoRet) ProtoReflect() protoreflect.Message
func (*UpdateOnlineInfoRet) Reset ¶ added in v1.3.1
func (x *UpdateOnlineInfoRet) Reset()
func (*UpdateOnlineInfoRet) String ¶ added in v1.3.1
func (x *UpdateOnlineInfoRet) String() string
func (*UpdateOnlineInfoRet) Validate ¶ added in v1.3.1
func (m *UpdateOnlineInfoRet) Validate() error
Validate checks the field values on UpdateOnlineInfoRet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateOnlineInfoRetValidationError ¶ added in v1.3.1
type UpdateOnlineInfoRetValidationError struct {
// contains filtered or unexported fields
}
UpdateOnlineInfoRetValidationError is the validation error returned by UpdateOnlineInfoRet.Validate if the designated constraints aren't met.
func (UpdateOnlineInfoRetValidationError) Cause ¶ added in v1.3.1
func (e UpdateOnlineInfoRetValidationError) Cause() error
Cause function returns cause value.
func (UpdateOnlineInfoRetValidationError) Error ¶ added in v1.3.1
func (e UpdateOnlineInfoRetValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateOnlineInfoRetValidationError) ErrorName ¶ added in v1.3.1
func (e UpdateOnlineInfoRetValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateOnlineInfoRetValidationError) Field ¶ added in v1.3.1
func (e UpdateOnlineInfoRetValidationError) Field() string
Field function returns field value.
func (UpdateOnlineInfoRetValidationError) Key ¶ added in v1.3.1
func (e UpdateOnlineInfoRetValidationError) Key() bool
Key function returns key value.
func (UpdateOnlineInfoRetValidationError) Reason ¶ added in v1.3.1
func (e UpdateOnlineInfoRetValidationError) Reason() string
Reason function returns reason value.
type UpdateOnlineInfoValidationError ¶ added in v1.3.1
type UpdateOnlineInfoValidationError struct {
// contains filtered or unexported fields
}
UpdateOnlineInfoValidationError is the validation error returned by UpdateOnlineInfo.Validate if the designated constraints aren't met.
func (UpdateOnlineInfoValidationError) Cause ¶ added in v1.3.1
func (e UpdateOnlineInfoValidationError) Cause() error
Cause function returns cause value.
func (UpdateOnlineInfoValidationError) Error ¶ added in v1.3.1
func (e UpdateOnlineInfoValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateOnlineInfoValidationError) ErrorName ¶ added in v1.3.1
func (e UpdateOnlineInfoValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateOnlineInfoValidationError) Field ¶ added in v1.3.1
func (e UpdateOnlineInfoValidationError) Field() string
Field function returns field value.
func (UpdateOnlineInfoValidationError) Key ¶ added in v1.3.1
func (e UpdateOnlineInfoValidationError) Key() bool
Key function returns key value.
func (UpdateOnlineInfoValidationError) Reason ¶ added in v1.3.1
func (e UpdateOnlineInfoValidationError) Reason() string
Reason function returns reason value.