Documentation ¶
Index ¶
- Variables
- type ActionData
- func (*ActionData) Descriptor() ([]byte, []int)deprecated
- func (x *ActionData) GetActionStartTime() int64
- func (x *ActionData) GetActionState() uint32
- func (x *ActionData) GetParam() string
- func (*ActionData) ProtoMessage()
- func (x *ActionData) ProtoReflect() protoreflect.Message
- func (x *ActionData) Reset()
- func (x *ActionData) String() string
- func (m *ActionData) Validate() error
- type ActionDataValidationError
- type ActionParseType
- func (ActionParseType) Descriptor() protoreflect.EnumDescriptor
- func (x ActionParseType) Enum() *ActionParseType
- func (ActionParseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ActionParseType) Number() protoreflect.EnumNumber
- func (x ActionParseType) String() string
- func (ActionParseType) Type() protoreflect.EnumType
- type BroadcastMsgData
- func (*BroadcastMsgData) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastMsgData) GetMessageId() uint64
- func (x *BroadcastMsgData) GetMsg() []byte
- func (*BroadcastMsgData) ProtoMessage()
- func (x *BroadcastMsgData) ProtoReflect() protoreflect.Message
- func (x *BroadcastMsgData) Reset()
- func (x *BroadcastMsgData) String() string
- func (m *BroadcastMsgData) Validate() error
- type BroadcastMsgDataValidationError
- func (e BroadcastMsgDataValidationError) Cause() error
- func (e BroadcastMsgDataValidationError) Error() string
- func (e BroadcastMsgDataValidationError) ErrorName() string
- func (e BroadcastMsgDataValidationError) Field() string
- func (e BroadcastMsgDataValidationError) Key() bool
- func (e BroadcastMsgDataValidationError) Reason() string
- type CreateGame
- func (*CreateGame) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGame) GetGameId() uint64
- func (x *CreateGame) GetGameType() GameType
- func (x *CreateGame) GetName() string
- func (x *CreateGame) GetNick() string
- func (x *CreateGame) GetPlayerId() uint64
- func (x *CreateGame) GetSceneId() int32
- func (x *CreateGame) GetWorldServerId() string
- func (*CreateGame) ProtoMessage()
- func (x *CreateGame) ProtoReflect() protoreflect.Message
- func (x *CreateGame) Reset()
- func (x *CreateGame) String() string
- func (m *CreateGame) Validate() error
- type CreateGameRet
- func (*CreateGameRet) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGameRet) GetPlayerId() uint64
- func (x *CreateGameRet) GetResult() uint32
- func (*CreateGameRet) ProtoMessage()
- func (x *CreateGameRet) ProtoReflect() protoreflect.Message
- func (x *CreateGameRet) Reset()
- func (x *CreateGameRet) String() string
- func (m *CreateGameRet) Validate() error
- type CreateGameRetValidationError
- func (e CreateGameRetValidationError) Cause() error
- func (e CreateGameRetValidationError) Error() string
- func (e CreateGameRetValidationError) ErrorName() string
- func (e CreateGameRetValidationError) Field() string
- func (e CreateGameRetValidationError) Key() bool
- func (e CreateGameRetValidationError) Reason() string
- type CreateGameValidationError
- type GameMsgData
- func (*GameMsgData) Descriptor() ([]byte, []int)deprecated
- func (x *GameMsgData) GetData() []byte
- func (x *GameMsgData) GetPlayerID() uint64
- func (x *GameMsgData) GetServerID() string
- func (*GameMsgData) ProtoMessage()
- func (x *GameMsgData) ProtoReflect() protoreflect.Message
- func (x *GameMsgData) Reset()
- func (x *GameMsgData) String() string
- func (m *GameMsgData) Validate() error
- type GameMsgDataValidationError
- func (e GameMsgDataValidationError) Cause() error
- func (e GameMsgDataValidationError) Error() string
- func (e GameMsgDataValidationError) ErrorName() string
- func (e GameMsgDataValidationError) Field() string
- func (e GameMsgDataValidationError) Key() bool
- func (e GameMsgDataValidationError) Reason() string
- type GameType
- 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 InterObjStatus
- func (InterObjStatus) Descriptor() protoreflect.EnumDescriptor
- func (x InterObjStatus) Enum() *InterObjStatus
- func (InterObjStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x InterObjStatus) Number() protoreflect.EnumNumber
- func (x InterObjStatus) String() string
- func (InterObjStatus) Type() protoreflect.EnumType
- type InteractiveObj
- func (*InteractiveObj) Descriptor() ([]byte, []int)deprecated
- func (x *InteractiveObj) GetAreaID() int32
- func (x *InteractiveObj) GetCount() uint32
- func (x *InteractiveObj) GetGroupID() int32
- func (x *InteractiveObj) GetId() uint64
- func (x *InteractiveObj) GetIndex() int32
- func (x *InteractiveObj) GetInterType() uint32
- func (x *InteractiveObj) GetIsRes() bool
- func (x *InteractiveObj) GetJumpBirth() int32
- func (x *InteractiveObj) GetJumpScene() uint32
- func (x *InteractiveObj) GetLastTime() int64
- func (x *InteractiveObj) GetLocalData() string
- func (x *InteractiveObj) GetOwner() uint64
- func (x *InteractiveObj) GetParams() string
- func (x *InteractiveObj) GetPlayers() []uint64
- func (x *InteractiveObj) GetPosX() float32
- func (x *InteractiveObj) GetPosY() float32
- func (x *InteractiveObj) GetPosZ() float32
- func (x *InteractiveObj) GetRotateX() float32
- func (x *InteractiveObj) GetRotateY() float32
- func (x *InteractiveObj) GetRotateZ() float32
- func (x *InteractiveObj) GetStatus() InterObjStatus
- func (x *InteractiveObj) GetSubPosX() float32
- func (x *InteractiveObj) GetSubPosY() float32
- func (x *InteractiveObj) GetSubPosZ() float32
- func (x *InteractiveObj) GetTagID() int32
- func (x *InteractiveObj) GetTypeId() uint32
- func (x *InteractiveObj) GetZoomX() float32
- func (x *InteractiveObj) GetZoomY() float32
- func (x *InteractiveObj) GetZoomZ() float32
- func (*InteractiveObj) ProtoMessage()
- func (x *InteractiveObj) ProtoReflect() protoreflect.Message
- func (x *InteractiveObj) Reset()
- func (x *InteractiveObj) String() string
- func (m *InteractiveObj) Validate() error
- type InteractiveObjValidationError
- func (e InteractiveObjValidationError) Cause() error
- func (e InteractiveObjValidationError) Error() string
- func (e InteractiveObjValidationError) ErrorName() string
- func (e InteractiveObjValidationError) Field() string
- func (e InteractiveObjValidationError) Key() bool
- func (e InteractiveObjValidationError) Reason() string
- type KickReason
- type LimitInfo
- func (*LimitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LimitInfo) GetCond() uint32
- func (x *LimitInfo) GetExpTime() int64
- func (x *LimitInfo) GetInReason() string
- func (x *LimitInfo) GetOutReason() string
- func (*LimitInfo) ProtoMessage()
- func (x *LimitInfo) ProtoReflect() protoreflect.Message
- func (x *LimitInfo) Reset()
- func (x *LimitInfo) String() string
- func (m *LimitInfo) Validate() error
- type LimitInfoValidationError
- type PlayerBaseInfo
- func (*PlayerBaseInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerBaseInfo) GetActData() *ActionData
- func (x *PlayerBaseInfo) GetBaseExp() int32
- func (x *PlayerBaseInfo) GetBaseLevel() int32
- func (x *PlayerBaseInfo) GetBubbleFrame() uint32
- func (x *PlayerBaseInfo) GetCharId() int32
- func (x *PlayerBaseInfo) GetCoin() int32
- func (x *PlayerBaseInfo) GetExp() int32
- func (x *PlayerBaseInfo) GetFrame() uint32
- func (x *PlayerBaseInfo) GetGold() int32
- func (x *PlayerBaseInfo) GetHead() uint32
- func (x *PlayerBaseInfo) GetHeadUrl() string
- func (x *PlayerBaseInfo) GetInteractObjID() uint64
- func (x *PlayerBaseInfo) GetInteractObjSeat() uint32
- func (x *PlayerBaseInfo) GetModel() uint32
- func (x *PlayerBaseInfo) GetName() string
- func (x *PlayerBaseInfo) GetNameColor() bool
- func (x *PlayerBaseInfo) GetOrientation() float32
- func (x *PlayerBaseInfo) GetPlayerId() uint64
- func (x *PlayerBaseInfo) GetPositionX() float32
- func (x *PlayerBaseInfo) GetPositionY() float32
- func (x *PlayerBaseInfo) GetPositionZ() float32
- func (x *PlayerBaseInfo) GetVehicleID() uint64
- func (x *PlayerBaseInfo) GetVipLevel() uint32
- func (*PlayerBaseInfo) ProtoMessage()
- func (x *PlayerBaseInfo) ProtoReflect() protoreflect.Message
- func (x *PlayerBaseInfo) Reset()
- func (x *PlayerBaseInfo) String() string
- func (m *PlayerBaseInfo) Validate() error
- type PlayerBaseInfoValidationError
- func (e PlayerBaseInfoValidationError) Cause() error
- func (e PlayerBaseInfoValidationError) Error() string
- func (e PlayerBaseInfoValidationError) ErrorName() string
- func (e PlayerBaseInfoValidationError) Field() string
- func (e PlayerBaseInfoValidationError) Key() bool
- func (e PlayerBaseInfoValidationError) Reason() string
- 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() ServerCategory
- 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 SCKick
- func (*SCKick) Descriptor() ([]byte, []int)deprecated
- func (x *SCKick) GetContend() string
- func (x *SCKick) GetKick() KickReason
- func (*SCKick) ProtoMessage()
- func (x *SCKick) ProtoReflect() protoreflect.Message
- func (x *SCKick) Reset()
- func (x *SCKick) String() string
- func (m *SCKick) Validate() error
- type SCKickValidationError
- type ServerCategory
- func (ServerCategory) Descriptor() protoreflect.EnumDescriptor
- func (x ServerCategory) Enum() *ServerCategory
- func (ServerCategory) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServerCategory) Number() protoreflect.EnumNumber
- func (x ServerCategory) String() string
- func (ServerCategory) Type() protoreflect.EnumType
- type ServerMsgData
- func (*ServerMsgData) Descriptor() ([]byte, []int)deprecated
- func (x *ServerMsgData) GetData() []byte
- func (x *ServerMsgData) GetPlayerID() uint64
- func (x *ServerMsgData) GetServerID() string
- func (*ServerMsgData) ProtoMessage()
- func (x *ServerMsgData) ProtoReflect() protoreflect.Message
- func (x *ServerMsgData) Reset()
- func (x *ServerMsgData) String() string
- func (m *ServerMsgData) Validate() error
- type ServerMsgDataValidationError
- func (e ServerMsgDataValidationError) Cause() error
- func (e ServerMsgDataValidationError) Error() string
- func (e ServerMsgDataValidationError) ErrorName() string
- func (e ServerMsgDataValidationError) Field() string
- func (e ServerMsgDataValidationError) Key() bool
- func (e ServerMsgDataValidationError) Reason() string
- type ServerRegisterStatus
- func (ServerRegisterStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ServerRegisterStatus) Enum() *ServerRegisterStatus
- func (ServerRegisterStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServerRegisterStatus) Number() protoreflect.EnumNumber
- func (x ServerRegisterStatus) String() string
- func (ServerRegisterStatus) Type() protoreflect.EnumType
- type SrvMsgToWorldPlayer
- func (*SrvMsgToWorldPlayer) Descriptor() ([]byte, []int)deprecated
- func (x *SrvMsgToWorldPlayer) GetData() []byte
- func (x *SrvMsgToWorldPlayer) GetPlayerId() uint64
- func (*SrvMsgToWorldPlayer) ProtoMessage()
- func (x *SrvMsgToWorldPlayer) ProtoReflect() protoreflect.Message
- func (x *SrvMsgToWorldPlayer) Reset()
- func (x *SrvMsgToWorldPlayer) String() string
- func (m *SrvMsgToWorldPlayer) Validate() error
- type SrvMsgToWorldPlayerValidationError
- func (e SrvMsgToWorldPlayerValidationError) Cause() error
- func (e SrvMsgToWorldPlayerValidationError) Error() string
- func (e SrvMsgToWorldPlayerValidationError) ErrorName() string
- func (e SrvMsgToWorldPlayerValidationError) Field() string
- func (e SrvMsgToWorldPlayerValidationError) Key() bool
- func (e SrvMsgToWorldPlayerValidationError) Reason() string
- type UnitActionData
- func (*UnitActionData) Descriptor() ([]byte, []int)deprecated
- func (x *UnitActionData) GetActName() string
- func (x *UnitActionData) GetActStartTime() int64
- func (x *UnitActionData) GetActType() uint32
- func (x *UnitActionData) GetEmojiID() uint32
- func (x *UnitActionData) GetParam() uint32
- func (x *UnitActionData) GetParseType() ActionParseType
- func (*UnitActionData) ProtoMessage()
- func (x *UnitActionData) ProtoReflect() protoreflect.Message
- func (x *UnitActionData) Reset()
- func (x *UnitActionData) String() string
- func (m *UnitActionData) Validate() error
- type UnitActionDataValidationError
- func (e UnitActionDataValidationError) Cause() error
- func (e UnitActionDataValidationError) Error() string
- func (e UnitActionDataValidationError) ErrorName() string
- func (e UnitActionDataValidationError) Field() string
- func (e UnitActionDataValidationError) Key() bool
- func (e UnitActionDataValidationError) Reason() string
- type UnitInfo
- func (*UnitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UnitInfo) GetActData() *UnitActionData
- func (x *UnitInfo) GetAdditionalList() []uint64
- func (x *UnitInfo) GetAttachID() uint64
- func (x *UnitInfo) GetAttacheBuildingID() uint64
- func (x *UnitInfo) GetAttires() []uint32
- func (x *UnitInfo) GetBuildingSeat() uint32
- func (x *UnitInfo) GetCanBeCarried() bool
- func (x *UnitInfo) GetIsWork() bool
- func (x *UnitInfo) GetName() string
- func (x *UnitInfo) GetPosX() float32
- func (x *UnitInfo) GetPosY() float32
- func (x *UnitInfo) GetPosZ() float32
- func (x *UnitInfo) GetRotateX() float32
- func (x *UnitInfo) GetRotateY() float32
- func (x *UnitInfo) GetRotateZ() float32
- func (x *UnitInfo) GetSkinColor() uint32
- func (x *UnitInfo) GetTypeId() uint32
- func (x *UnitInfo) GetUnitId() uint64
- func (*UnitInfo) ProtoMessage()
- func (x *UnitInfo) ProtoReflect() protoreflect.Message
- func (x *UnitInfo) Reset()
- func (x *UnitInfo) String() string
- func (m *UnitInfo) Validate() error
- type UnitInfoValidationError
- 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
- type Vec3
- func (*Vec3) Descriptor() ([]byte, []int)deprecated
- func (x *Vec3) GetX() float32
- func (x *Vec3) GetY() float32
- func (x *Vec3) GetZ() float32
- func (*Vec3) ProtoMessage()
- func (x *Vec3) ProtoReflect() protoreflect.Message
- func (x *Vec3) Reset()
- func (x *Vec3) String() string
- func (m *Vec3) Validate() error
- type Vec3ValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ActionParseType_name = map[int32]string{ 0: "Nothing", 1: "HoldDishes", 2: "EatDishes", } ActionParseType_value = map[string]int32{ "Nothing": 0, "HoldDishes": 1, "EatDishes": 2, } )
Enum value maps for ActionParseType.
var ( InterObjStatus_name = map[int32]string{ 0: "ObjectNormal", 1: "ObjectHarvest", } InterObjStatus_value = map[string]int32{ "ObjectNormal": 0, "ObjectHarvest": 1, } )
Enum value maps for InterObjStatus.
var ( KickReason_name = map[int32]string{ 0: "UNKNOWN", 1: "indulgeStop", 2: "RemoteLogin", 3: "ServerClose", 4: "GM", 5: "RefundPay", 6: "NoResponse", } KickReason_value = map[string]int32{ "UNKNOWN": 0, "indulgeStop": 1, "RemoteLogin": 2, "ServerClose": 3, "GM": 4, "RefundPay": 5, "NoResponse": 6, } )
Enum value maps for KickReason.
var ( ServerCategory_name = map[int32]string{ 0: "Undefined", 1: "Login", 2: "Gateway", 3: "World", 4: "DB", } ServerCategory_value = map[string]int32{ "Undefined": 0, "Login": 1, "Gateway": 2, "World": 3, "DB": 4, } )
Enum value maps for ServerCategory.
var ( ServerRegisterStatus_name = map[int32]string{ 0: "Fail", 1: "OK", 2: "Unknown", } ServerRegisterStatus_value = map[string]int32{ "Fail": 0, "OK": 1, "Unknown": 2, } )
Enum value maps for ServerRegisterStatus.
var ( GameType_name = map[int32]string{ 0: "GNone", } GameType_value = map[string]int32{ "GNone": 0, } )
Enum value maps for GameType.
var File_sever_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActionData ¶
type ActionData struct { ActionState uint32 `protobuf:"varint,1,opt,name=actionState,proto3" json:"actionState,omitempty"` // 动作枚举值 ActionStartTime int64 `protobuf:"varint,2,opt,name=actionStartTime,proto3" json:"actionStartTime,omitempty"` // 动作开始时间 Param string `protobuf:"bytes,3,opt,name=param,proto3" json:"param,omitempty"` // 参数 // contains filtered or unexported fields }
func (*ActionData) Descriptor
deprecated
func (*ActionData) Descriptor() ([]byte, []int)
Deprecated: Use ActionData.ProtoReflect.Descriptor instead.
func (*ActionData) GetActionStartTime ¶
func (x *ActionData) GetActionStartTime() int64
func (*ActionData) GetActionState ¶
func (x *ActionData) GetActionState() uint32
func (*ActionData) GetParam ¶
func (x *ActionData) GetParam() string
func (*ActionData) ProtoMessage ¶
func (*ActionData) ProtoMessage()
func (*ActionData) ProtoReflect ¶
func (x *ActionData) ProtoReflect() protoreflect.Message
func (*ActionData) Reset ¶
func (x *ActionData) Reset()
func (*ActionData) String ¶
func (x *ActionData) String() string
func (*ActionData) Validate ¶
func (m *ActionData) Validate() error
Validate checks the field values on ActionData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ActionDataValidationError ¶
type ActionDataValidationError struct {
// contains filtered or unexported fields
}
ActionDataValidationError is the validation error returned by ActionData.Validate if the designated constraints aren't met.
func (ActionDataValidationError) Cause ¶
func (e ActionDataValidationError) Cause() error
Cause function returns cause value.
func (ActionDataValidationError) Error ¶
func (e ActionDataValidationError) Error() string
Error satisfies the builtin error interface
func (ActionDataValidationError) ErrorName ¶
func (e ActionDataValidationError) ErrorName() string
ErrorName returns error name.
func (ActionDataValidationError) Field ¶
func (e ActionDataValidationError) Field() string
Field function returns field value.
func (ActionDataValidationError) Key ¶
func (e ActionDataValidationError) Key() bool
Key function returns key value.
func (ActionDataValidationError) Reason ¶
func (e ActionDataValidationError) Reason() string
Reason function returns reason value.
type ActionParseType ¶
type ActionParseType int32
const ( ActionParseType_Nothing ActionParseType = 0 ActionParseType_HoldDishes ActionParseType = 1 // 举菜 ActionParseType_EatDishes ActionParseType = 2 // 吃菜 )
func (ActionParseType) Descriptor ¶
func (ActionParseType) Descriptor() protoreflect.EnumDescriptor
func (ActionParseType) Enum ¶
func (x ActionParseType) Enum() *ActionParseType
func (ActionParseType) EnumDescriptor
deprecated
func (ActionParseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActionParseType.Descriptor instead.
func (ActionParseType) Number ¶
func (x ActionParseType) Number() protoreflect.EnumNumber
func (ActionParseType) String ¶
func (x ActionParseType) String() string
func (ActionParseType) Type ¶
func (ActionParseType) Type() protoreflect.EnumType
type BroadcastMsgData ¶ added in v1.4.1
type BroadcastMsgData struct { MessageId uint64 `protobuf:"varint,1,opt,name=MessageId,proto3" json:"MessageId,omitempty"` Msg []byte `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` // contains filtered or unexported fields }
func (*BroadcastMsgData) Descriptor
deprecated
added in
v1.4.1
func (*BroadcastMsgData) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastMsgData.ProtoReflect.Descriptor instead.
func (*BroadcastMsgData) GetMessageId ¶ added in v1.4.1
func (x *BroadcastMsgData) GetMessageId() uint64
func (*BroadcastMsgData) GetMsg ¶ added in v1.4.1
func (x *BroadcastMsgData) GetMsg() []byte
func (*BroadcastMsgData) ProtoMessage ¶ added in v1.4.1
func (*BroadcastMsgData) ProtoMessage()
func (*BroadcastMsgData) ProtoReflect ¶ added in v1.4.1
func (x *BroadcastMsgData) ProtoReflect() protoreflect.Message
func (*BroadcastMsgData) Reset ¶ added in v1.4.1
func (x *BroadcastMsgData) Reset()
func (*BroadcastMsgData) String ¶ added in v1.4.1
func (x *BroadcastMsgData) String() string
func (*BroadcastMsgData) Validate ¶ added in v1.4.1
func (m *BroadcastMsgData) Validate() error
Validate checks the field values on BroadcastMsgData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type BroadcastMsgDataValidationError ¶ added in v1.4.1
type BroadcastMsgDataValidationError struct {
// contains filtered or unexported fields
}
BroadcastMsgDataValidationError is the validation error returned by BroadcastMsgData.Validate if the designated constraints aren't met.
func (BroadcastMsgDataValidationError) Cause ¶ added in v1.4.1
func (e BroadcastMsgDataValidationError) Cause() error
Cause function returns cause value.
func (BroadcastMsgDataValidationError) Error ¶ added in v1.4.1
func (e BroadcastMsgDataValidationError) Error() string
Error satisfies the builtin error interface
func (BroadcastMsgDataValidationError) ErrorName ¶ added in v1.4.1
func (e BroadcastMsgDataValidationError) ErrorName() string
ErrorName returns error name.
func (BroadcastMsgDataValidationError) Field ¶ added in v1.4.1
func (e BroadcastMsgDataValidationError) Field() string
Field function returns field value.
func (BroadcastMsgDataValidationError) Key ¶ added in v1.4.1
func (e BroadcastMsgDataValidationError) Key() bool
Key function returns key value.
func (BroadcastMsgDataValidationError) Reason ¶ added in v1.4.1
func (e BroadcastMsgDataValidationError) Reason() string
Reason function returns reason value.
type CreateGame ¶ added in v1.4.3
type CreateGame struct { SceneId int32 `protobuf:"varint,1,opt,name=sceneId,proto3" json:"sceneId,omitempty"` PlayerId uint64 `protobuf:"varint,2,opt,name=playerId,proto3" json:"playerId,omitempty"` WorldServerId string `protobuf:"bytes,3,opt,name=worldServerId,proto3" json:"worldServerId,omitempty"` GameType GameType `protobuf:"varint,4,opt,name=gameType,proto3,enum=ServerCommon.GameType" json:"gameType,omitempty"` GameId uint64 `protobuf:"varint,5,opt,name=gameId,proto3" json:"gameId,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` Nick string `protobuf:"bytes,8,opt,name=nick,proto3" json:"nick,omitempty"` // contains filtered or unexported fields }
func (*CreateGame) Descriptor
deprecated
added in
v1.4.3
func (*CreateGame) Descriptor() ([]byte, []int)
Deprecated: Use CreateGame.ProtoReflect.Descriptor instead.
func (*CreateGame) GetGameId ¶ added in v1.4.3
func (x *CreateGame) GetGameId() uint64
func (*CreateGame) GetGameType ¶ added in v1.4.3
func (x *CreateGame) GetGameType() GameType
func (*CreateGame) GetName ¶ added in v1.4.3
func (x *CreateGame) GetName() string
func (*CreateGame) GetNick ¶ added in v1.4.3
func (x *CreateGame) GetNick() string
func (*CreateGame) GetPlayerId ¶ added in v1.4.3
func (x *CreateGame) GetPlayerId() uint64
func (*CreateGame) GetSceneId ¶ added in v1.4.3
func (x *CreateGame) GetSceneId() int32
func (*CreateGame) GetWorldServerId ¶ added in v1.4.3
func (x *CreateGame) GetWorldServerId() string
func (*CreateGame) ProtoMessage ¶ added in v1.4.3
func (*CreateGame) ProtoMessage()
func (*CreateGame) ProtoReflect ¶ added in v1.4.3
func (x *CreateGame) ProtoReflect() protoreflect.Message
func (*CreateGame) Reset ¶ added in v1.4.3
func (x *CreateGame) Reset()
func (*CreateGame) String ¶ added in v1.4.3
func (x *CreateGame) String() string
func (*CreateGame) Validate ¶ added in v1.4.3
func (m *CreateGame) Validate() error
Validate checks the field values on CreateGame with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateGameRet ¶ added in v1.4.3
type CreateGameRet struct { Result uint32 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` PlayerId uint64 `protobuf:"varint,2,opt,name=playerId,proto3" json:"playerId,omitempty"` // contains filtered or unexported fields }
func (*CreateGameRet) Descriptor
deprecated
added in
v1.4.3
func (*CreateGameRet) Descriptor() ([]byte, []int)
Deprecated: Use CreateGameRet.ProtoReflect.Descriptor instead.
func (*CreateGameRet) GetPlayerId ¶ added in v1.4.3
func (x *CreateGameRet) GetPlayerId() uint64
func (*CreateGameRet) GetResult ¶ added in v1.4.3
func (x *CreateGameRet) GetResult() uint32
func (*CreateGameRet) ProtoMessage ¶ added in v1.4.3
func (*CreateGameRet) ProtoMessage()
func (*CreateGameRet) ProtoReflect ¶ added in v1.4.3
func (x *CreateGameRet) ProtoReflect() protoreflect.Message
func (*CreateGameRet) Reset ¶ added in v1.4.3
func (x *CreateGameRet) Reset()
func (*CreateGameRet) String ¶ added in v1.4.3
func (x *CreateGameRet) String() string
func (*CreateGameRet) Validate ¶ added in v1.4.3
func (m *CreateGameRet) Validate() error
Validate checks the field values on CreateGameRet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateGameRetValidationError ¶ added in v1.4.3
type CreateGameRetValidationError struct {
// contains filtered or unexported fields
}
CreateGameRetValidationError is the validation error returned by CreateGameRet.Validate if the designated constraints aren't met.
func (CreateGameRetValidationError) Cause ¶ added in v1.4.3
func (e CreateGameRetValidationError) Cause() error
Cause function returns cause value.
func (CreateGameRetValidationError) Error ¶ added in v1.4.3
func (e CreateGameRetValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGameRetValidationError) ErrorName ¶ added in v1.4.3
func (e CreateGameRetValidationError) ErrorName() string
ErrorName returns error name.
func (CreateGameRetValidationError) Field ¶ added in v1.4.3
func (e CreateGameRetValidationError) Field() string
Field function returns field value.
func (CreateGameRetValidationError) Key ¶ added in v1.4.3
func (e CreateGameRetValidationError) Key() bool
Key function returns key value.
func (CreateGameRetValidationError) Reason ¶ added in v1.4.3
func (e CreateGameRetValidationError) Reason() string
Reason function returns reason value.
type CreateGameValidationError ¶ added in v1.4.3
type CreateGameValidationError struct {
// contains filtered or unexported fields
}
CreateGameValidationError is the validation error returned by CreateGame.Validate if the designated constraints aren't met.
func (CreateGameValidationError) Cause ¶ added in v1.4.3
func (e CreateGameValidationError) Cause() error
Cause function returns cause value.
func (CreateGameValidationError) Error ¶ added in v1.4.3
func (e CreateGameValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGameValidationError) ErrorName ¶ added in v1.4.3
func (e CreateGameValidationError) ErrorName() string
ErrorName returns error name.
func (CreateGameValidationError) Field ¶ added in v1.4.3
func (e CreateGameValidationError) Field() string
Field function returns field value.
func (CreateGameValidationError) Key ¶ added in v1.4.3
func (e CreateGameValidationError) Key() bool
Key function returns key value.
func (CreateGameValidationError) Reason ¶ added in v1.4.3
func (e CreateGameValidationError) Reason() string
Reason function returns reason value.
type GameMsgData ¶ added in v1.4.1
type GameMsgData struct { PlayerID uint64 `protobuf:"varint,1,opt,name=PlayerID,proto3" json:"PlayerID,omitempty"` ServerID string `protobuf:"bytes,2,opt,name=ServerID,proto3" json:"ServerID,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"` // contains filtered or unexported fields }
func (*GameMsgData) Descriptor
deprecated
added in
v1.4.1
func (*GameMsgData) Descriptor() ([]byte, []int)
Deprecated: Use GameMsgData.ProtoReflect.Descriptor instead.
func (*GameMsgData) GetData ¶ added in v1.4.1
func (x *GameMsgData) GetData() []byte
func (*GameMsgData) GetPlayerID ¶ added in v1.4.1
func (x *GameMsgData) GetPlayerID() uint64
func (*GameMsgData) GetServerID ¶ added in v1.4.1
func (x *GameMsgData) GetServerID() string
func (*GameMsgData) ProtoMessage ¶ added in v1.4.1
func (*GameMsgData) ProtoMessage()
func (*GameMsgData) ProtoReflect ¶ added in v1.4.1
func (x *GameMsgData) ProtoReflect() protoreflect.Message
func (*GameMsgData) Reset ¶ added in v1.4.1
func (x *GameMsgData) Reset()
func (*GameMsgData) String ¶ added in v1.4.1
func (x *GameMsgData) String() string
func (*GameMsgData) Validate ¶ added in v1.4.1
func (m *GameMsgData) Validate() error
Validate checks the field values on GameMsgData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GameMsgDataValidationError ¶ added in v1.4.1
type GameMsgDataValidationError struct {
// contains filtered or unexported fields
}
GameMsgDataValidationError is the validation error returned by GameMsgData.Validate if the designated constraints aren't met.
func (GameMsgDataValidationError) Cause ¶ added in v1.4.1
func (e GameMsgDataValidationError) Cause() error
Cause function returns cause value.
func (GameMsgDataValidationError) Error ¶ added in v1.4.1
func (e GameMsgDataValidationError) Error() string
Error satisfies the builtin error interface
func (GameMsgDataValidationError) ErrorName ¶ added in v1.4.1
func (e GameMsgDataValidationError) ErrorName() string
ErrorName returns error name.
func (GameMsgDataValidationError) Field ¶ added in v1.4.1
func (e GameMsgDataValidationError) Field() string
Field function returns field value.
func (GameMsgDataValidationError) Key ¶ added in v1.4.1
func (e GameMsgDataValidationError) Key() bool
Key function returns key value.
func (GameMsgDataValidationError) Reason ¶ added in v1.4.1
func (e GameMsgDataValidationError) Reason() string
Reason function returns reason value.
type GameType ¶ added in v1.4.3
type GameType int32
const (
GameType_GNone GameType = 0
)
func (GameType) Descriptor ¶ added in v1.4.3
func (GameType) Descriptor() protoreflect.EnumDescriptor
func (GameType) EnumDescriptor
deprecated
added in
v1.4.3
func (GameType) Number ¶ added in v1.4.3
func (x GameType) Number() protoreflect.EnumNumber
func (GameType) Type ¶ added in v1.4.3
func (GameType) 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"` 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 InterObjStatus ¶
type InterObjStatus int32
const ( InterObjStatus_ObjectNormal InterObjStatus = 0 // 正常 InterObjStatus_ObjectHarvest InterObjStatus = 1 // 成熟 )
func (InterObjStatus) Descriptor ¶
func (InterObjStatus) Descriptor() protoreflect.EnumDescriptor
func (InterObjStatus) Enum ¶
func (x InterObjStatus) Enum() *InterObjStatus
func (InterObjStatus) EnumDescriptor
deprecated
func (InterObjStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use InterObjStatus.Descriptor instead.
func (InterObjStatus) Number ¶
func (x InterObjStatus) Number() protoreflect.EnumNumber
func (InterObjStatus) String ¶
func (x InterObjStatus) String() string
func (InterObjStatus) Type ¶
func (InterObjStatus) Type() protoreflect.EnumType
type InteractiveObj ¶
type InteractiveObj struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 唯一id TypeId uint32 `protobuf:"varint,2,opt,name=typeId,proto3" json:"typeId,omitempty"` // 配表id PosX float32 `protobuf:"fixed32,3,opt,name=posX,proto3" json:"posX,omitempty"` // x坐标 PosY float32 `protobuf:"fixed32,4,opt,name=posY,proto3" json:"posY,omitempty"` // y坐标 PosZ float32 `protobuf:"fixed32,5,opt,name=posZ,proto3" json:"posZ,omitempty"` // z坐标 RotateX float32 `protobuf:"fixed32,6,opt,name=rotateX,proto3" json:"rotateX,omitempty"` // 旋转x RotateY float32 `protobuf:"fixed32,7,opt,name=rotateY,proto3" json:"rotateY,omitempty"` // 旋转y RotateZ float32 `protobuf:"fixed32,8,opt,name=rotateZ,proto3" json:"rotateZ,omitempty"` // 旋转z JumpScene uint32 `protobuf:"varint,9,opt,name=jumpScene,proto3" json:"jumpScene,omitempty"` // 跳转场景id(传送门数据) JumpBirth int32 `protobuf:"varint,10,opt,name=jumpBirth,proto3" json:"jumpBirth,omitempty"` // 跳转场景的出生点ID Players []uint64 `protobuf:"varint,11,rep,packed,name=players,proto3" json:"players,omitempty"` // 正在交互的玩家 LocalData string `protobuf:"bytes,12,opt,name=localData,proto3" json:"localData,omitempty"` // 编辑器自定义数据 IsRes bool `protobuf:"varint,13,opt,name=isRes,proto3" json:"isRes,omitempty"` // 是否是资源类型 InterType uint32 `protobuf:"varint,14,opt,name=interType,proto3" json:"interType,omitempty"` // 交互类型 SubPosX float32 `protobuf:"fixed32,15,opt,name=subPosX,proto3" json:"subPosX,omitempty"` // x坐标 SubPosY float32 `protobuf:"fixed32,16,opt,name=subPosY,proto3" json:"subPosY,omitempty"` // y坐标 SubPosZ float32 `protobuf:"fixed32,17,opt,name=subPosZ,proto3" json:"subPosZ,omitempty"` // z坐标 Count uint32 `protobuf:"varint,18,opt,name=count,proto3" json:"count,omitempty"` // 交互次数 LastTime int64 `protobuf:"varint,19,opt,name=lastTime,proto3" json:"lastTime,omitempty"` // 上一次交互的时间戳 Status InterObjStatus `protobuf:"varint,20,opt,name=status,proto3,enum=ServerCommon.InterObjStatus" json:"status,omitempty"` // 状态 AreaID int32 `protobuf:"varint,21,opt,name=areaID,proto3" json:"areaID,omitempty"` // 区域ID ZoomX float32 `protobuf:"fixed32,22,opt,name=zoomX,proto3" json:"zoomX,omitempty"` // 缩放x ZoomY float32 `protobuf:"fixed32,23,opt,name=zoomY,proto3" json:"zoomY,omitempty"` // 缩放y ZoomZ float32 `protobuf:"fixed32,24,opt,name=zoomZ,proto3" json:"zoomZ,omitempty"` // 缩放z TagID int32 `protobuf:"varint,25,opt,name=tagID,proto3" json:"tagID,omitempty"` // 标记ID Index int32 `protobuf:"varint,26,opt,name=index,proto3" json:"index,omitempty"` // 序号 GroupID int32 `protobuf:"varint,27,opt,name=groupID,proto3" json:"groupID,omitempty"` // 组号 Params string `protobuf:"bytes,28,opt,name=params,proto3" json:"params,omitempty"` // 自定义数据 Owner uint64 `protobuf:"varint,29,opt,name=owner,proto3" json:"owner,omitempty"` // 拥有者id // contains filtered or unexported fields }
func (*InteractiveObj) Descriptor
deprecated
func (*InteractiveObj) Descriptor() ([]byte, []int)
Deprecated: Use InteractiveObj.ProtoReflect.Descriptor instead.
func (*InteractiveObj) GetAreaID ¶
func (x *InteractiveObj) GetAreaID() int32
func (*InteractiveObj) GetCount ¶
func (x *InteractiveObj) GetCount() uint32
func (*InteractiveObj) GetGroupID ¶
func (x *InteractiveObj) GetGroupID() int32
func (*InteractiveObj) GetId ¶
func (x *InteractiveObj) GetId() uint64
func (*InteractiveObj) GetIndex ¶
func (x *InteractiveObj) GetIndex() int32
func (*InteractiveObj) GetInterType ¶
func (x *InteractiveObj) GetInterType() uint32
func (*InteractiveObj) GetIsRes ¶
func (x *InteractiveObj) GetIsRes() bool
func (*InteractiveObj) GetJumpBirth ¶
func (x *InteractiveObj) GetJumpBirth() int32
func (*InteractiveObj) GetJumpScene ¶
func (x *InteractiveObj) GetJumpScene() uint32
func (*InteractiveObj) GetLastTime ¶
func (x *InteractiveObj) GetLastTime() int64
func (*InteractiveObj) GetLocalData ¶
func (x *InteractiveObj) GetLocalData() string
func (*InteractiveObj) GetOwner ¶
func (x *InteractiveObj) GetOwner() uint64
func (*InteractiveObj) GetParams ¶
func (x *InteractiveObj) GetParams() string
func (*InteractiveObj) GetPlayers ¶
func (x *InteractiveObj) GetPlayers() []uint64
func (*InteractiveObj) GetPosX ¶
func (x *InteractiveObj) GetPosX() float32
func (*InteractiveObj) GetPosY ¶
func (x *InteractiveObj) GetPosY() float32
func (*InteractiveObj) GetPosZ ¶
func (x *InteractiveObj) GetPosZ() float32
func (*InteractiveObj) GetRotateX ¶
func (x *InteractiveObj) GetRotateX() float32
func (*InteractiveObj) GetRotateY ¶
func (x *InteractiveObj) GetRotateY() float32
func (*InteractiveObj) GetRotateZ ¶
func (x *InteractiveObj) GetRotateZ() float32
func (*InteractiveObj) GetStatus ¶
func (x *InteractiveObj) GetStatus() InterObjStatus
func (*InteractiveObj) GetSubPosX ¶
func (x *InteractiveObj) GetSubPosX() float32
func (*InteractiveObj) GetSubPosY ¶
func (x *InteractiveObj) GetSubPosY() float32
func (*InteractiveObj) GetSubPosZ ¶
func (x *InteractiveObj) GetSubPosZ() float32
func (*InteractiveObj) GetTagID ¶
func (x *InteractiveObj) GetTagID() int32
func (*InteractiveObj) GetTypeId ¶
func (x *InteractiveObj) GetTypeId() uint32
func (*InteractiveObj) GetZoomX ¶
func (x *InteractiveObj) GetZoomX() float32
func (*InteractiveObj) GetZoomY ¶
func (x *InteractiveObj) GetZoomY() float32
func (*InteractiveObj) GetZoomZ ¶
func (x *InteractiveObj) GetZoomZ() float32
func (*InteractiveObj) ProtoMessage ¶
func (*InteractiveObj) ProtoMessage()
func (*InteractiveObj) ProtoReflect ¶
func (x *InteractiveObj) ProtoReflect() protoreflect.Message
func (*InteractiveObj) Reset ¶
func (x *InteractiveObj) Reset()
func (*InteractiveObj) String ¶
func (x *InteractiveObj) String() string
func (*InteractiveObj) Validate ¶
func (m *InteractiveObj) Validate() error
Validate checks the field values on InteractiveObj with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type InteractiveObjValidationError ¶
type InteractiveObjValidationError struct {
// contains filtered or unexported fields
}
InteractiveObjValidationError is the validation error returned by InteractiveObj.Validate if the designated constraints aren't met.
func (InteractiveObjValidationError) Cause ¶
func (e InteractiveObjValidationError) Cause() error
Cause function returns cause value.
func (InteractiveObjValidationError) Error ¶
func (e InteractiveObjValidationError) Error() string
Error satisfies the builtin error interface
func (InteractiveObjValidationError) ErrorName ¶
func (e InteractiveObjValidationError) ErrorName() string
ErrorName returns error name.
func (InteractiveObjValidationError) Field ¶
func (e InteractiveObjValidationError) Field() string
Field function returns field value.
func (InteractiveObjValidationError) Key ¶
func (e InteractiveObjValidationError) Key() bool
Key function returns key value.
func (InteractiveObjValidationError) Reason ¶
func (e InteractiveObjValidationError) Reason() string
Reason function returns reason value.
type KickReason ¶
type KickReason int32
const ( KickReason_UNKNOWN KickReason = 0 // 未知原因 KickReason_indulgeStop KickReason = 1 // 防沉迷 KickReason_RemoteLogin KickReason = 2 // 异地登录 KickReason_ServerClose KickReason = 3 // 服务器关闭 KickReason_GM KickReason = 4 // GM KickReason_RefundPay KickReason = 5 // 退款 KickReason_NoResponse KickReason = 6 // 未响应 )
func (KickReason) Descriptor ¶
func (KickReason) Descriptor() protoreflect.EnumDescriptor
func (KickReason) Enum ¶
func (x KickReason) Enum() *KickReason
func (KickReason) EnumDescriptor
deprecated
func (KickReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use KickReason.Descriptor instead.
func (KickReason) Number ¶
func (x KickReason) Number() protoreflect.EnumNumber
func (KickReason) String ¶
func (x KickReason) String() string
func (KickReason) Type ¶
func (KickReason) Type() protoreflect.EnumType
type LimitInfo ¶
type LimitInfo struct { Cond uint32 `protobuf:"varint,1,opt,name=Cond,proto3" json:"Cond,omitempty"` // 原因 InReason string `protobuf:"bytes,2,opt,name=InReason,proto3" json:"InReason,omitempty"` // 内部原因 OutReason string `protobuf:"bytes,3,opt,name=OutReason,proto3" json:"OutReason,omitempty"` // 内部原因 ExpTime int64 `protobuf:"varint,4,opt,name=ExpTime,proto3" json:"ExpTime,omitempty"` // 过期时间 // contains filtered or unexported fields }
func (*LimitInfo) Descriptor
deprecated
func (*LimitInfo) GetExpTime ¶
func (*LimitInfo) GetInReason ¶
func (*LimitInfo) GetOutReason ¶
func (*LimitInfo) ProtoMessage ¶
func (*LimitInfo) ProtoMessage()
func (*LimitInfo) ProtoReflect ¶
func (x *LimitInfo) ProtoReflect() protoreflect.Message
type LimitInfoValidationError ¶
type LimitInfoValidationError struct {
// contains filtered or unexported fields
}
LimitInfoValidationError is the validation error returned by LimitInfo.Validate if the designated constraints aren't met.
func (LimitInfoValidationError) Cause ¶
func (e LimitInfoValidationError) Cause() error
Cause function returns cause value.
func (LimitInfoValidationError) Error ¶
func (e LimitInfoValidationError) Error() string
Error satisfies the builtin error interface
func (LimitInfoValidationError) ErrorName ¶
func (e LimitInfoValidationError) ErrorName() string
ErrorName returns error name.
func (LimitInfoValidationError) Field ¶
func (e LimitInfoValidationError) Field() string
Field function returns field value.
func (LimitInfoValidationError) Key ¶
func (e LimitInfoValidationError) Key() bool
Key function returns key value.
func (LimitInfoValidationError) Reason ¶
func (e LimitInfoValidationError) Reason() string
Reason function returns reason value.
type PlayerBaseInfo ¶
type PlayerBaseInfo struct { PlayerId uint64 `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"` CharId int32 `protobuf:"varint,2,opt,name=charId,proto3" json:"charId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Gold int32 `protobuf:"varint,4,opt,name=gold,proto3" json:"gold,omitempty"` PositionX float32 `protobuf:"fixed32,5,opt,name=positionX,proto3" json:"positionX,omitempty"` PositionY float32 `protobuf:"fixed32,6,opt,name=positionY,proto3" json:"positionY,omitempty"` PositionZ float32 `protobuf:"fixed32,7,opt,name=positionZ,proto3" json:"positionZ,omitempty"` Orientation float32 `protobuf:"fixed32,8,opt,name=orientation,proto3" json:"orientation,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"` // 头像 HeadUrl string `protobuf:"bytes,11,opt,name=HeadUrl,proto3" json:"HeadUrl,omitempty"` // 自定义头像url Model uint32 `protobuf:"varint,12,opt,name=model,proto3" json:"model,omitempty"` // 模型 BubbleFrame uint32 `protobuf:"varint,13,opt,name=bubbleFrame,proto3" json:"bubbleFrame,omitempty"` // 气泡框 Coin int32 `protobuf:"varint,14,opt,name=coin,proto3" json:"coin,omitempty"` // VehicleID uint64 `protobuf:"varint,15,opt,name=vehicleID,proto3" json:"vehicleID,omitempty"` // 当前乘坐的载具ID ActData *ActionData `protobuf:"bytes,16,opt,name=actData,proto3" json:"actData,omitempty"` // 动作 VipLevel uint32 `protobuf:"varint,17,opt,name=vipLevel,proto3" json:"vipLevel,omitempty"` // vip lv Exp int32 `protobuf:"varint,18,opt,name=exp,proto3" json:"exp,omitempty"` InteractObjID uint64 `protobuf:"varint,19,opt,name=interactObjID,proto3" json:"interactObjID,omitempty"` // 交互物件ID InteractObjSeat uint32 `protobuf:"varint,20,opt,name=interactObjSeat,proto3" json:"interactObjSeat,omitempty"` // 交互物件座位号 NameColor bool `protobuf:"varint,21,opt,name=nameColor,proto3" json:"nameColor,omitempty"` // 昵称变颜色 BaseLevel int32 `protobuf:"varint,22,opt,name=baseLevel,proto3" json:"baseLevel,omitempty"` //人物等级 BaseExp int32 `protobuf:"varint,23,opt,name=baseExp,proto3" json:"baseExp,omitempty"` //人物经验 // contains filtered or unexported fields }
func (*PlayerBaseInfo) Descriptor
deprecated
func (*PlayerBaseInfo) Descriptor() ([]byte, []int)
Deprecated: Use PlayerBaseInfo.ProtoReflect.Descriptor instead.
func (*PlayerBaseInfo) GetActData ¶
func (x *PlayerBaseInfo) GetActData() *ActionData
func (*PlayerBaseInfo) GetBaseExp ¶
func (x *PlayerBaseInfo) GetBaseExp() int32
func (*PlayerBaseInfo) GetBaseLevel ¶
func (x *PlayerBaseInfo) GetBaseLevel() int32
func (*PlayerBaseInfo) GetBubbleFrame ¶
func (x *PlayerBaseInfo) GetBubbleFrame() uint32
func (*PlayerBaseInfo) GetCharId ¶
func (x *PlayerBaseInfo) GetCharId() int32
func (*PlayerBaseInfo) GetCoin ¶
func (x *PlayerBaseInfo) GetCoin() int32
func (*PlayerBaseInfo) GetExp ¶
func (x *PlayerBaseInfo) GetExp() int32
func (*PlayerBaseInfo) GetFrame ¶
func (x *PlayerBaseInfo) GetFrame() uint32
func (*PlayerBaseInfo) GetGold ¶
func (x *PlayerBaseInfo) GetGold() int32
func (*PlayerBaseInfo) GetHead ¶
func (x *PlayerBaseInfo) GetHead() uint32
func (*PlayerBaseInfo) GetHeadUrl ¶
func (x *PlayerBaseInfo) GetHeadUrl() string
func (*PlayerBaseInfo) GetInteractObjID ¶
func (x *PlayerBaseInfo) GetInteractObjID() uint64
func (*PlayerBaseInfo) GetInteractObjSeat ¶
func (x *PlayerBaseInfo) GetInteractObjSeat() uint32
func (*PlayerBaseInfo) GetModel ¶
func (x *PlayerBaseInfo) GetModel() uint32
func (*PlayerBaseInfo) GetName ¶
func (x *PlayerBaseInfo) GetName() string
func (*PlayerBaseInfo) GetNameColor ¶
func (x *PlayerBaseInfo) GetNameColor() bool
func (*PlayerBaseInfo) GetOrientation ¶
func (x *PlayerBaseInfo) GetOrientation() float32
func (*PlayerBaseInfo) GetPlayerId ¶
func (x *PlayerBaseInfo) GetPlayerId() uint64
func (*PlayerBaseInfo) GetPositionX ¶
func (x *PlayerBaseInfo) GetPositionX() float32
func (*PlayerBaseInfo) GetPositionY ¶
func (x *PlayerBaseInfo) GetPositionY() float32
func (*PlayerBaseInfo) GetPositionZ ¶
func (x *PlayerBaseInfo) GetPositionZ() float32
func (*PlayerBaseInfo) GetVehicleID ¶
func (x *PlayerBaseInfo) GetVehicleID() uint64
func (*PlayerBaseInfo) GetVipLevel ¶
func (x *PlayerBaseInfo) GetVipLevel() uint32
func (*PlayerBaseInfo) ProtoMessage ¶
func (*PlayerBaseInfo) ProtoMessage()
func (*PlayerBaseInfo) ProtoReflect ¶
func (x *PlayerBaseInfo) ProtoReflect() protoreflect.Message
func (*PlayerBaseInfo) Reset ¶
func (x *PlayerBaseInfo) Reset()
func (*PlayerBaseInfo) String ¶
func (x *PlayerBaseInfo) String() string
func (*PlayerBaseInfo) Validate ¶
func (m *PlayerBaseInfo) Validate() error
Validate checks the field values on PlayerBaseInfo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PlayerBaseInfoValidationError ¶
type PlayerBaseInfoValidationError struct {
// contains filtered or unexported fields
}
PlayerBaseInfoValidationError is the validation error returned by PlayerBaseInfo.Validate if the designated constraints aren't met.
func (PlayerBaseInfoValidationError) Cause ¶
func (e PlayerBaseInfoValidationError) Cause() error
Cause function returns cause value.
func (PlayerBaseInfoValidationError) Error ¶
func (e PlayerBaseInfoValidationError) Error() string
Error satisfies the builtin error interface
func (PlayerBaseInfoValidationError) ErrorName ¶
func (e PlayerBaseInfoValidationError) ErrorName() string
ErrorName returns error name.
func (PlayerBaseInfoValidationError) Field ¶
func (e PlayerBaseInfoValidationError) Field() string
Field function returns field value.
func (PlayerBaseInfoValidationError) Key ¶
func (e PlayerBaseInfoValidationError) Key() bool
Key function returns key value.
func (PlayerBaseInfoValidationError) Reason ¶
func (e PlayerBaseInfoValidationError) Reason() string
Reason function returns reason value.
type RegisterToGame ¶ added in v1.4.3
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.4.3
func (*RegisterToGame) Descriptor() ([]byte, []int)
Deprecated: Use RegisterToGame.ProtoReflect.Descriptor instead.
func (*RegisterToGame) GetScrSerType ¶ added in v1.4.3
func (x *RegisterToGame) GetScrSerType() uint32
func (*RegisterToGame) GetSerRpcAddr ¶ added in v1.4.3
func (x *RegisterToGame) GetSerRpcAddr() string
func (*RegisterToGame) GetServerAddr ¶ added in v1.4.3
func (x *RegisterToGame) GetServerAddr() string
func (*RegisterToGame) GetServerID ¶ added in v1.4.3
func (x *RegisterToGame) GetServerID() string
func (*RegisterToGame) GetServerType ¶ added in v1.4.3
func (x *RegisterToGame) GetServerType() uint32
func (*RegisterToGame) GetToken ¶ added in v1.4.3
func (x *RegisterToGame) GetToken() string
func (*RegisterToGame) ProtoMessage ¶ added in v1.4.3
func (*RegisterToGame) ProtoMessage()
func (*RegisterToGame) ProtoReflect ¶ added in v1.4.3
func (x *RegisterToGame) ProtoReflect() protoreflect.Message
func (*RegisterToGame) Reset ¶ added in v1.4.3
func (x *RegisterToGame) Reset()
func (*RegisterToGame) String ¶ added in v1.4.3
func (x *RegisterToGame) String() string
func (*RegisterToGame) Validate ¶ added in v1.4.3
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.4.3
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.4.3
func (*RegisterToGameRet) Descriptor() ([]byte, []int)
Deprecated: Use RegisterToGameRet.ProtoReflect.Descriptor instead.
func (*RegisterToGameRet) GetMsgIds ¶ added in v1.4.3
func (x *RegisterToGameRet) GetMsgIds() []uint32
func (*RegisterToGameRet) GetResult ¶ added in v1.4.3
func (x *RegisterToGameRet) GetResult() uint32
func (*RegisterToGameRet) ProtoMessage ¶ added in v1.4.3
func (*RegisterToGameRet) ProtoMessage()
func (*RegisterToGameRet) ProtoReflect ¶ added in v1.4.3
func (x *RegisterToGameRet) ProtoReflect() protoreflect.Message
func (*RegisterToGameRet) Reset ¶ added in v1.4.3
func (x *RegisterToGameRet) Reset()
func (*RegisterToGameRet) String ¶ added in v1.4.3
func (x *RegisterToGameRet) String() string
func (*RegisterToGameRet) Validate ¶ added in v1.4.3
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.4.3
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.4.3
func (e RegisterToGameRetValidationError) Cause() error
Cause function returns cause value.
func (RegisterToGameRetValidationError) Error ¶ added in v1.4.3
func (e RegisterToGameRetValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterToGameRetValidationError) ErrorName ¶ added in v1.4.3
func (e RegisterToGameRetValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterToGameRetValidationError) Field ¶ added in v1.4.3
func (e RegisterToGameRetValidationError) Field() string
Field function returns field value.
func (RegisterToGameRetValidationError) Key ¶ added in v1.4.3
func (e RegisterToGameRetValidationError) Key() bool
Key function returns key value.
func (RegisterToGameRetValidationError) Reason ¶ added in v1.4.3
func (e RegisterToGameRetValidationError) Reason() string
Reason function returns reason value.
type RegisterToGameValidationError ¶ added in v1.4.3
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.4.3
func (e RegisterToGameValidationError) Cause() error
Cause function returns cause value.
func (RegisterToGameValidationError) Error ¶ added in v1.4.3
func (e RegisterToGameValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterToGameValidationError) ErrorName ¶ added in v1.4.3
func (e RegisterToGameValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterToGameValidationError) Field ¶ added in v1.4.3
func (e RegisterToGameValidationError) Field() string
Field function returns field value.
func (RegisterToGameValidationError) Key ¶ added in v1.4.3
func (e RegisterToGameValidationError) Key() bool
Key function returns key value.
func (RegisterToGameValidationError) Reason ¶ added in v1.4.3
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 ServerCategory `protobuf:"varint,3,opt,name=serverType,proto3,enum=ServerCommon.ServerCategory" 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"` // 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() ServerCategory
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"` // 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 SCKick ¶ added in v1.3.5
type SCKick struct { Kick KickReason `protobuf:"varint,1,opt,name=kick,proto3,enum=ServerCommon.KickReason" json:"kick,omitempty"` Contend string `protobuf:"bytes,2,opt,name=contend,proto3" json:"contend,omitempty"` // contains filtered or unexported fields }
func (*SCKick) Descriptor
deprecated
added in
v1.3.5
func (*SCKick) GetContend ¶ added in v1.3.5
func (*SCKick) GetKick ¶ added in v1.3.5
func (x *SCKick) GetKick() KickReason
func (*SCKick) ProtoMessage ¶ added in v1.3.5
func (*SCKick) ProtoMessage()
func (*SCKick) ProtoReflect ¶ added in v1.3.5
func (x *SCKick) ProtoReflect() protoreflect.Message
type SCKickValidationError ¶ added in v1.3.5
type SCKickValidationError struct {
// contains filtered or unexported fields
}
SCKickValidationError is the validation error returned by SCKick.Validate if the designated constraints aren't met.
func (SCKickValidationError) Cause ¶ added in v1.3.5
func (e SCKickValidationError) Cause() error
Cause function returns cause value.
func (SCKickValidationError) Error ¶ added in v1.3.5
func (e SCKickValidationError) Error() string
Error satisfies the builtin error interface
func (SCKickValidationError) ErrorName ¶ added in v1.3.5
func (e SCKickValidationError) ErrorName() string
ErrorName returns error name.
func (SCKickValidationError) Field ¶ added in v1.3.5
func (e SCKickValidationError) Field() string
Field function returns field value.
func (SCKickValidationError) Key ¶ added in v1.3.5
func (e SCKickValidationError) Key() bool
Key function returns key value.
func (SCKickValidationError) Reason ¶ added in v1.3.5
func (e SCKickValidationError) Reason() string
Reason function returns reason value.
type ServerCategory ¶ added in v1.3.0
type ServerCategory int32
const ( ServerCategory_Undefined ServerCategory = 0 //没定义 ServerCategory_Login ServerCategory = 1 //登录服 ServerCategory_Gateway ServerCategory = 2 //网关 ServerCategory_World ServerCategory = 3 //世界服,大厅 ServerCategory_DB ServerCategory = 4 // )
func (ServerCategory) Descriptor ¶ added in v1.3.0
func (ServerCategory) Descriptor() protoreflect.EnumDescriptor
func (ServerCategory) Enum ¶ added in v1.3.0
func (x ServerCategory) Enum() *ServerCategory
func (ServerCategory) EnumDescriptor
deprecated
added in
v1.3.0
func (ServerCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServerCategory.Descriptor instead.
func (ServerCategory) Number ¶ added in v1.3.0
func (x ServerCategory) Number() protoreflect.EnumNumber
func (ServerCategory) String ¶ added in v1.3.0
func (x ServerCategory) String() string
func (ServerCategory) Type ¶ added in v1.3.0
func (ServerCategory) Type() protoreflect.EnumType
type ServerMsgData ¶ added in v1.4.1
type ServerMsgData struct { PlayerID uint64 `protobuf:"varint,1,opt,name=PlayerID,proto3" json:"PlayerID,omitempty"` ServerID string `protobuf:"bytes,2,opt,name=ServerID,proto3" json:"ServerID,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"` // contains filtered or unexported fields }
func (*ServerMsgData) Descriptor
deprecated
added in
v1.4.1
func (*ServerMsgData) Descriptor() ([]byte, []int)
Deprecated: Use ServerMsgData.ProtoReflect.Descriptor instead.
func (*ServerMsgData) GetData ¶ added in v1.4.1
func (x *ServerMsgData) GetData() []byte
func (*ServerMsgData) GetPlayerID ¶ added in v1.4.1
func (x *ServerMsgData) GetPlayerID() uint64
func (*ServerMsgData) GetServerID ¶ added in v1.4.1
func (x *ServerMsgData) GetServerID() string
func (*ServerMsgData) ProtoMessage ¶ added in v1.4.1
func (*ServerMsgData) ProtoMessage()
func (*ServerMsgData) ProtoReflect ¶ added in v1.4.1
func (x *ServerMsgData) ProtoReflect() protoreflect.Message
func (*ServerMsgData) Reset ¶ added in v1.4.1
func (x *ServerMsgData) Reset()
func (*ServerMsgData) String ¶ added in v1.4.1
func (x *ServerMsgData) String() string
func (*ServerMsgData) Validate ¶ added in v1.4.1
func (m *ServerMsgData) Validate() error
Validate checks the field values on ServerMsgData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ServerMsgDataValidationError ¶ added in v1.4.1
type ServerMsgDataValidationError struct {
// contains filtered or unexported fields
}
ServerMsgDataValidationError is the validation error returned by ServerMsgData.Validate if the designated constraints aren't met.
func (ServerMsgDataValidationError) Cause ¶ added in v1.4.1
func (e ServerMsgDataValidationError) Cause() error
Cause function returns cause value.
func (ServerMsgDataValidationError) Error ¶ added in v1.4.1
func (e ServerMsgDataValidationError) Error() string
Error satisfies the builtin error interface
func (ServerMsgDataValidationError) ErrorName ¶ added in v1.4.1
func (e ServerMsgDataValidationError) ErrorName() string
ErrorName returns error name.
func (ServerMsgDataValidationError) Field ¶ added in v1.4.1
func (e ServerMsgDataValidationError) Field() string
Field function returns field value.
func (ServerMsgDataValidationError) Key ¶ added in v1.4.1
func (e ServerMsgDataValidationError) Key() bool
Key function returns key value.
func (ServerMsgDataValidationError) Reason ¶ added in v1.4.1
func (e ServerMsgDataValidationError) Reason() string
Reason function returns reason value.
type ServerRegisterStatus ¶ added in v1.3.9
type ServerRegisterStatus int32
服务注册状态
const ( ServerRegisterStatus_Fail ServerRegisterStatus = 0 ServerRegisterStatus_OK ServerRegisterStatus = 1 ServerRegisterStatus_Unknown ServerRegisterStatus = 2 )
func (ServerRegisterStatus) Descriptor ¶ added in v1.3.9
func (ServerRegisterStatus) Descriptor() protoreflect.EnumDescriptor
func (ServerRegisterStatus) Enum ¶ added in v1.3.9
func (x ServerRegisterStatus) Enum() *ServerRegisterStatus
func (ServerRegisterStatus) EnumDescriptor
deprecated
added in
v1.3.9
func (ServerRegisterStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServerRegisterStatus.Descriptor instead.
func (ServerRegisterStatus) Number ¶ added in v1.3.9
func (x ServerRegisterStatus) Number() protoreflect.EnumNumber
func (ServerRegisterStatus) String ¶ added in v1.3.9
func (x ServerRegisterStatus) String() string
func (ServerRegisterStatus) Type ¶ added in v1.3.9
func (ServerRegisterStatus) Type() protoreflect.EnumType
type SrvMsgToWorldPlayer ¶ added in v1.4.4
type SrvMsgToWorldPlayer struct { PlayerId uint64 `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SrvMsgToWorldPlayer) Descriptor
deprecated
added in
v1.4.4
func (*SrvMsgToWorldPlayer) Descriptor() ([]byte, []int)
Deprecated: Use SrvMsgToWorldPlayer.ProtoReflect.Descriptor instead.
func (*SrvMsgToWorldPlayer) GetData ¶ added in v1.4.4
func (x *SrvMsgToWorldPlayer) GetData() []byte
func (*SrvMsgToWorldPlayer) GetPlayerId ¶ added in v1.4.4
func (x *SrvMsgToWorldPlayer) GetPlayerId() uint64
func (*SrvMsgToWorldPlayer) ProtoMessage ¶ added in v1.4.4
func (*SrvMsgToWorldPlayer) ProtoMessage()
func (*SrvMsgToWorldPlayer) ProtoReflect ¶ added in v1.4.4
func (x *SrvMsgToWorldPlayer) ProtoReflect() protoreflect.Message
func (*SrvMsgToWorldPlayer) Reset ¶ added in v1.4.4
func (x *SrvMsgToWorldPlayer) Reset()
func (*SrvMsgToWorldPlayer) String ¶ added in v1.4.4
func (x *SrvMsgToWorldPlayer) String() string
func (*SrvMsgToWorldPlayer) Validate ¶ added in v1.4.4
func (m *SrvMsgToWorldPlayer) Validate() error
Validate checks the field values on SrvMsgToWorldPlayer with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SrvMsgToWorldPlayerValidationError ¶ added in v1.4.4
type SrvMsgToWorldPlayerValidationError struct {
// contains filtered or unexported fields
}
SrvMsgToWorldPlayerValidationError is the validation error returned by SrvMsgToWorldPlayer.Validate if the designated constraints aren't met.
func (SrvMsgToWorldPlayerValidationError) Cause ¶ added in v1.4.4
func (e SrvMsgToWorldPlayerValidationError) Cause() error
Cause function returns cause value.
func (SrvMsgToWorldPlayerValidationError) Error ¶ added in v1.4.4
func (e SrvMsgToWorldPlayerValidationError) Error() string
Error satisfies the builtin error interface
func (SrvMsgToWorldPlayerValidationError) ErrorName ¶ added in v1.4.4
func (e SrvMsgToWorldPlayerValidationError) ErrorName() string
ErrorName returns error name.
func (SrvMsgToWorldPlayerValidationError) Field ¶ added in v1.4.4
func (e SrvMsgToWorldPlayerValidationError) Field() string
Field function returns field value.
func (SrvMsgToWorldPlayerValidationError) Key ¶ added in v1.4.4
func (e SrvMsgToWorldPlayerValidationError) Key() bool
Key function returns key value.
func (SrvMsgToWorldPlayerValidationError) Reason ¶ added in v1.4.4
func (e SrvMsgToWorldPlayerValidationError) Reason() string
Reason function returns reason value.
type UnitActionData ¶
type UnitActionData struct { ActType uint32 `protobuf:"varint,1,opt,name=actType,proto3" json:"actType,omitempty"` // 0-清除当前状态 1-巡逻状态 2-一次性动作 3-持续性动作 ActName string `protobuf:"bytes,2,opt,name=actName,proto3" json:"actName,omitempty"` // 动作名称 ActStartTime int64 `protobuf:"varint,3,opt,name=actStartTime,proto3" json:"actStartTime,omitempty"` // 动作开始时间 ParseType ActionParseType `protobuf:"varint,4,opt,name=ParseType,proto3,enum=ServerCommon.ActionParseType" json:"ParseType,omitempty"` // 参数解析类型 Param uint32 `protobuf:"varint,5,opt,name=param,proto3" json:"param,omitempty"` // 额外参数 EmojiID uint32 `protobuf:"varint,6,opt,name=EmojiID,proto3" json:"EmojiID,omitempty"` // 气泡框表情或者 // contains filtered or unexported fields }
func (*UnitActionData) Descriptor
deprecated
func (*UnitActionData) Descriptor() ([]byte, []int)
Deprecated: Use UnitActionData.ProtoReflect.Descriptor instead.
func (*UnitActionData) GetActName ¶
func (x *UnitActionData) GetActName() string
func (*UnitActionData) GetActStartTime ¶
func (x *UnitActionData) GetActStartTime() int64
func (*UnitActionData) GetActType ¶
func (x *UnitActionData) GetActType() uint32
func (*UnitActionData) GetEmojiID ¶
func (x *UnitActionData) GetEmojiID() uint32
func (*UnitActionData) GetParam ¶
func (x *UnitActionData) GetParam() uint32
func (*UnitActionData) GetParseType ¶
func (x *UnitActionData) GetParseType() ActionParseType
func (*UnitActionData) ProtoMessage ¶
func (*UnitActionData) ProtoMessage()
func (*UnitActionData) ProtoReflect ¶
func (x *UnitActionData) ProtoReflect() protoreflect.Message
func (*UnitActionData) Reset ¶
func (x *UnitActionData) Reset()
func (*UnitActionData) String ¶
func (x *UnitActionData) String() string
func (*UnitActionData) Validate ¶
func (m *UnitActionData) Validate() error
Validate checks the field values on UnitActionData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UnitActionDataValidationError ¶
type UnitActionDataValidationError struct {
// contains filtered or unexported fields
}
UnitActionDataValidationError is the validation error returned by UnitActionData.Validate if the designated constraints aren't met.
func (UnitActionDataValidationError) Cause ¶
func (e UnitActionDataValidationError) Cause() error
Cause function returns cause value.
func (UnitActionDataValidationError) Error ¶
func (e UnitActionDataValidationError) Error() string
Error satisfies the builtin error interface
func (UnitActionDataValidationError) ErrorName ¶
func (e UnitActionDataValidationError) ErrorName() string
ErrorName returns error name.
func (UnitActionDataValidationError) Field ¶
func (e UnitActionDataValidationError) Field() string
Field function returns field value.
func (UnitActionDataValidationError) Key ¶
func (e UnitActionDataValidationError) Key() bool
Key function returns key value.
func (UnitActionDataValidationError) Reason ¶
func (e UnitActionDataValidationError) Reason() string
Reason function returns reason value.
type UnitInfo ¶
type UnitInfo struct { UnitId uint64 `protobuf:"varint,1,opt,name=unitId,proto3" json:"unitId,omitempty"` // 唯一id TypeId uint32 `protobuf:"varint,2,opt,name=typeId,proto3" json:"typeId,omitempty"` // UnitTable表id PosX float32 `protobuf:"fixed32,3,opt,name=posX,proto3" json:"posX,omitempty"` // x坐标 PosY float32 `protobuf:"fixed32,4,opt,name=posY,proto3" json:"posY,omitempty"` // y坐标 PosZ float32 `protobuf:"fixed32,5,opt,name=posZ,proto3" json:"posZ,omitempty"` // z坐标 RotateX float32 `protobuf:"fixed32,6,opt,name=rotateX,proto3" json:"rotateX,omitempty"` // 旋转x RotateY float32 `protobuf:"fixed32,7,opt,name=rotateY,proto3" json:"rotateY,omitempty"` // 旋转y RotateZ float32 `protobuf:"fixed32,8,opt,name=rotateZ,proto3" json:"rotateZ,omitempty"` // 旋转z CanBeCarried bool `protobuf:"varint,9,opt,name=canBeCarried,proto3" json:"canBeCarried,omitempty"` // 是否可以乘载 AdditionalList []uint64 `protobuf:"varint,10,rep,packed,name=additionalList,proto3" json:"additionalList,omitempty"` // 附加列表 ActData *UnitActionData `protobuf:"bytes,12,opt,name=actData,proto3" json:"actData,omitempty"` // 动作数据 AttachID uint64 `protobuf:"varint,13,opt,name=AttachID,proto3" json:"AttachID,omitempty"` // 绑定的单位ID Attires []uint32 `protobuf:"varint,14,rep,packed,name=Attires,proto3" json:"Attires,omitempty"` // 装扮数据 AttacheBuildingID uint64 `protobuf:"varint,15,opt,name=attacheBuildingID,proto3" json:"attacheBuildingID,omitempty"` // 正在交互的建筑,椅子 BuildingSeat uint32 `protobuf:"varint,16,opt,name=buildingSeat,proto3" json:"buildingSeat,omitempty"` // 交互建筑的位置 SkinColor uint32 `protobuf:"varint,17,opt,name=skinColor,proto3" json:"skinColor,omitempty"` // 皮肤颜色 Name string `protobuf:"bytes,18,opt,name=name,proto3" json:"name,omitempty"` // 名字 IsWork bool `protobuf:"varint,19,opt,name=isWork,proto3" json:"isWork,omitempty"` // 是否在工作中 // contains filtered or unexported fields }
func (*UnitInfo) Descriptor
deprecated
func (*UnitInfo) GetActData ¶
func (x *UnitInfo) GetActData() *UnitActionData
func (*UnitInfo) GetAdditionalList ¶
func (*UnitInfo) GetAttachID ¶
func (*UnitInfo) GetAttacheBuildingID ¶
func (*UnitInfo) GetAttires ¶
func (*UnitInfo) GetBuildingSeat ¶
func (*UnitInfo) GetCanBeCarried ¶
func (*UnitInfo) GetRotateX ¶
func (*UnitInfo) GetRotateY ¶
func (*UnitInfo) GetRotateZ ¶
func (*UnitInfo) GetSkinColor ¶
func (*UnitInfo) ProtoMessage ¶
func (*UnitInfo) ProtoMessage()
func (*UnitInfo) ProtoReflect ¶
func (x *UnitInfo) ProtoReflect() protoreflect.Message
type UnitInfoValidationError ¶
type UnitInfoValidationError struct {
// contains filtered or unexported fields
}
UnitInfoValidationError is the validation error returned by UnitInfo.Validate if the designated constraints aren't met.
func (UnitInfoValidationError) Cause ¶
func (e UnitInfoValidationError) Cause() error
Cause function returns cause value.
func (UnitInfoValidationError) Error ¶
func (e UnitInfoValidationError) Error() string
Error satisfies the builtin error interface
func (UnitInfoValidationError) ErrorName ¶
func (e UnitInfoValidationError) ErrorName() string
ErrorName returns error name.
func (UnitInfoValidationError) Field ¶
func (e UnitInfoValidationError) Field() string
Field function returns field value.
func (UnitInfoValidationError) Key ¶
func (e UnitInfoValidationError) Key() bool
Key function returns key value.
func (UnitInfoValidationError) Reason ¶
func (e UnitInfoValidationError) 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.
type Vec3 ¶
type Vec3 struct { X float32 `protobuf:"fixed32,1,opt,name=X,proto3" json:"X,omitempty"` Y float32 `protobuf:"fixed32,2,opt,name=Y,proto3" json:"Y,omitempty"` Z float32 `protobuf:"fixed32,3,opt,name=Z,proto3" json:"Z,omitempty"` // contains filtered or unexported fields }
func (*Vec3) Descriptor
deprecated
func (*Vec3) ProtoMessage ¶
func (*Vec3) ProtoMessage()
func (*Vec3) ProtoReflect ¶
func (x *Vec3) ProtoReflect() protoreflect.Message
type Vec3ValidationError ¶
type Vec3ValidationError struct {
// contains filtered or unexported fields
}
Vec3ValidationError is the validation error returned by Vec3.Validate if the designated constraints aren't met.
func (Vec3ValidationError) Cause ¶
func (e Vec3ValidationError) Cause() error
Cause function returns cause value.
func (Vec3ValidationError) Error ¶
func (e Vec3ValidationError) Error() string
Error satisfies the builtin error interface
func (Vec3ValidationError) ErrorName ¶
func (e Vec3ValidationError) ErrorName() string
ErrorName returns error name.
func (Vec3ValidationError) Field ¶
func (e Vec3ValidationError) Field() string
Field function returns field value.
func (Vec3ValidationError) Key ¶
func (e Vec3ValidationError) Key() bool
Key function returns key value.
func (Vec3ValidationError) Reason ¶
func (e Vec3ValidationError) Reason() string
Reason function returns reason value.