Documentation ¶
Index ¶
- Variables
- type AoiMsgData
- func (*AoiMsgData) Descriptor() ([]byte, []int)deprecated
- func (x *AoiMsgData) GetIncludeSelf() bool
- func (x *AoiMsgData) GetMessageId() uint64
- func (x *AoiMsgData) GetMsg() []byte
- func (x *AoiMsgData) GetPlayerID() uint64
- func (*AoiMsgData) ProtoMessage()
- func (x *AoiMsgData) ProtoReflect() protoreflect.Message
- func (x *AoiMsgData) Reset()
- func (x *AoiMsgData) String() string
- func (m *AoiMsgData) Validate() error
- type AoiMsgDataValidationError
- type CSCanJoinScene
- func (*CSCanJoinScene) Descriptor() ([]byte, []int)deprecated
- func (x *CSCanJoinScene) GetPlayerId() uint64
- func (x *CSCanJoinScene) GetSceneId() int32
- func (*CSCanJoinScene) ProtoMessage()
- func (x *CSCanJoinScene) ProtoReflect() protoreflect.Message
- func (x *CSCanJoinScene) Reset()
- func (x *CSCanJoinScene) String() string
- func (m *CSCanJoinScene) Validate() error
- type CSCanJoinSceneValidationError
- func (e CSCanJoinSceneValidationError) Cause() error
- func (e CSCanJoinSceneValidationError) Error() string
- func (e CSCanJoinSceneValidationError) ErrorName() string
- func (e CSCanJoinSceneValidationError) Field() string
- func (e CSCanJoinSceneValidationError) Key() bool
- func (e CSCanJoinSceneValidationError) Reason() string
- type CSJoinScene
- func (*CSJoinScene) Descriptor() ([]byte, []int)deprecated
- func (x *CSJoinScene) GetBirthId() uint32
- func (x *CSJoinScene) GetGift() []uint32
- func (x *CSJoinScene) GetIsView() bool
- func (x *CSJoinScene) GetJumpType() uint32
- func (x *CSJoinScene) GetParam() uint32
- func (x *CSJoinScene) GetPasswd() string
- func (x *CSJoinScene) GetPlayerId() uint64
- func (x *CSJoinScene) GetPortal() string
- func (x *CSJoinScene) GetSceneId() int32
- func (*CSJoinScene) ProtoMessage()
- func (x *CSJoinScene) ProtoReflect() protoreflect.Message
- func (x *CSJoinScene) Reset()
- func (x *CSJoinScene) String() string
- func (m *CSJoinScene) Validate() error
- type CSJoinSceneValidationError
- func (e CSJoinSceneValidationError) Cause() error
- func (e CSJoinSceneValidationError) Error() string
- func (e CSJoinSceneValidationError) ErrorName() string
- func (e CSJoinSceneValidationError) Field() string
- func (e CSJoinSceneValidationError) Key() bool
- func (e CSJoinSceneValidationError) Reason() string
- type CSLeaveScene
- type CSLeaveSceneValidationError
- func (e CSLeaveSceneValidationError) Cause() error
- func (e CSLeaveSceneValidationError) Error() string
- func (e CSLeaveSceneValidationError) ErrorName() string
- func (e CSLeaveSceneValidationError) Field() string
- func (e CSLeaveSceneValidationError) Key() bool
- func (e CSLeaveSceneValidationError) Reason() string
- type JoinSceneData
- func (*JoinSceneData) Descriptor() ([]byte, []int)deprecated
- func (x *JoinSceneData) GetBirthIdx() uint32
- func (x *JoinSceneData) GetJumpParam() uint32
- func (x *JoinSceneData) GetJumpType() uint32
- func (x *JoinSceneData) GetModel() uint32
- func (x *JoinSceneData) GetNickName() string
- func (x *JoinSceneData) GetOrientation() float32
- func (x *JoinSceneData) GetPosX() float32
- func (x *JoinSceneData) GetPosY() float32
- func (x *JoinSceneData) GetPosZ() float32
- func (x *JoinSceneData) GetPreSceneID() uint32
- func (x *JoinSceneData) GetVipLv() uint32
- func (*JoinSceneData) ProtoMessage()
- func (x *JoinSceneData) ProtoReflect() protoreflect.Message
- func (x *JoinSceneData) Reset()
- func (x *JoinSceneData) String() string
- func (m *JoinSceneData) Validate() error
- type JoinSceneDataValidationError
- func (e JoinSceneDataValidationError) Cause() error
- func (e JoinSceneDataValidationError) Error() string
- func (e JoinSceneDataValidationError) ErrorName() string
- func (e JoinSceneDataValidationError) Field() string
- func (e JoinSceneDataValidationError) Key() bool
- func (e JoinSceneDataValidationError) Reason() string
- type JoinSceneError
- func (JoinSceneError) Descriptor() protoreflect.EnumDescriptor
- func (x JoinSceneError) Enum() *JoinSceneError
- func (JoinSceneError) EnumDescriptor() ([]byte, []int)deprecated
- func (x JoinSceneError) Number() protoreflect.EnumNumber
- func (x JoinSceneError) String() string
- func (JoinSceneError) Type() protoreflect.EnumType
- type SCCanJoinScene
- func (*SCCanJoinScene) Descriptor() ([]byte, []int)deprecated
- func (x *SCCanJoinScene) GetIsOk() bool
- func (x *SCCanJoinScene) GetPlayerId() uint64
- func (x *SCCanJoinScene) GetSceneId() int32
- func (*SCCanJoinScene) ProtoMessage()
- func (x *SCCanJoinScene) ProtoReflect() protoreflect.Message
- func (x *SCCanJoinScene) Reset()
- func (x *SCCanJoinScene) String() string
- func (m *SCCanJoinScene) Validate() error
- type SCCanJoinSceneValidationError
- func (e SCCanJoinSceneValidationError) Cause() error
- func (e SCCanJoinSceneValidationError) Error() string
- func (e SCCanJoinSceneValidationError) ErrorName() string
- func (e SCCanJoinSceneValidationError) Field() string
- func (e SCCanJoinSceneValidationError) Key() bool
- func (e SCCanJoinSceneValidationError) Reason() string
- type SCJoinScene
- func (*SCJoinScene) Descriptor() ([]byte, []int)deprecated
- func (x *SCJoinScene) GetPlayerInfo() *server_common.PlayerBaseInfo
- func (x *SCJoinScene) GetPlayers() []*server_common.PlayerBaseInfo
- func (x *SCJoinScene) GetSceneId() int32
- func (*SCJoinScene) ProtoMessage()
- func (x *SCJoinScene) ProtoReflect() protoreflect.Message
- func (x *SCJoinScene) Reset()
- func (x *SCJoinScene) String() string
- func (m *SCJoinScene) Validate() error
- type SCJoinSceneError
- func (*SCJoinSceneError) Descriptor() ([]byte, []int)deprecated
- func (x *SCJoinSceneError) GetErrCode() JoinSceneError
- func (*SCJoinSceneError) ProtoMessage()
- func (x *SCJoinSceneError) ProtoReflect() protoreflect.Message
- func (x *SCJoinSceneError) Reset()
- func (x *SCJoinSceneError) String() string
- func (m *SCJoinSceneError) Validate() error
- type SCJoinSceneErrorValidationError
- func (e SCJoinSceneErrorValidationError) Cause() error
- func (e SCJoinSceneErrorValidationError) Error() string
- func (e SCJoinSceneErrorValidationError) ErrorName() string
- func (e SCJoinSceneErrorValidationError) Field() string
- func (e SCJoinSceneErrorValidationError) Key() bool
- func (e SCJoinSceneErrorValidationError) Reason() string
- type SCJoinSceneValidationError
- func (e SCJoinSceneValidationError) Cause() error
- func (e SCJoinSceneValidationError) Error() string
- func (e SCJoinSceneValidationError) ErrorName() string
- func (e SCJoinSceneValidationError) Field() string
- func (e SCJoinSceneValidationError) Key() bool
- func (e SCJoinSceneValidationError) Reason() string
- type SCLeaveScene
- func (*SCLeaveScene) Descriptor() ([]byte, []int)deprecated
- func (x *SCLeaveScene) GetPlayerid() uint64
- func (*SCLeaveScene) ProtoMessage()
- func (x *SCLeaveScene) ProtoReflect() protoreflect.Message
- func (x *SCLeaveScene) Reset()
- func (x *SCLeaveScene) String() string
- func (m *SCLeaveScene) Validate() error
- type SCLeaveSceneValidationError
- func (e SCLeaveSceneValidationError) Cause() error
- func (e SCLeaveSceneValidationError) Error() string
- func (e SCLeaveSceneValidationError) ErrorName() string
- func (e SCLeaveSceneValidationError) Field() string
- func (e SCLeaveSceneValidationError) Key() bool
- func (e SCLeaveSceneValidationError) Reason() string
- type SCPlayerEnterScreen
- func (*SCPlayerEnterScreen) Descriptor() ([]byte, []int)deprecated
- func (x *SCPlayerEnterScreen) GetPlayerInfo() *server_common.PlayerBaseInfo
- func (*SCPlayerEnterScreen) ProtoMessage()
- func (x *SCPlayerEnterScreen) ProtoReflect() protoreflect.Message
- func (x *SCPlayerEnterScreen) Reset()
- func (x *SCPlayerEnterScreen) String() string
- func (m *SCPlayerEnterScreen) Validate() error
- type SCPlayerEnterScreenValidationError
- func (e SCPlayerEnterScreenValidationError) Cause() error
- func (e SCPlayerEnterScreenValidationError) Error() string
- func (e SCPlayerEnterScreenValidationError) ErrorName() string
- func (e SCPlayerEnterScreenValidationError) Field() string
- func (e SCPlayerEnterScreenValidationError) Key() bool
- func (e SCPlayerEnterScreenValidationError) Reason() string
- type SCPlayerJoinScene
- func (*SCPlayerJoinScene) Descriptor() ([]byte, []int)deprecated
- func (x *SCPlayerJoinScene) GetPlayerInfo() *server_common.PlayerBaseInfo
- func (*SCPlayerJoinScene) ProtoMessage()
- func (x *SCPlayerJoinScene) ProtoReflect() protoreflect.Message
- func (x *SCPlayerJoinScene) Reset()
- func (x *SCPlayerJoinScene) String() string
- func (m *SCPlayerJoinScene) Validate() error
- type SCPlayerJoinSceneValidationError
- func (e SCPlayerJoinSceneValidationError) Cause() error
- func (e SCPlayerJoinSceneValidationError) Error() string
- func (e SCPlayerJoinSceneValidationError) ErrorName() string
- func (e SCPlayerJoinSceneValidationError) Field() string
- func (e SCPlayerJoinSceneValidationError) Key() bool
- func (e SCPlayerJoinSceneValidationError) Reason() string
- type SCPlayerLeaveScreen
- func (*SCPlayerLeaveScreen) Descriptor() ([]byte, []int)deprecated
- func (x *SCPlayerLeaveScreen) GetPlayerId() uint64
- func (*SCPlayerLeaveScreen) ProtoMessage()
- func (x *SCPlayerLeaveScreen) ProtoReflect() protoreflect.Message
- func (x *SCPlayerLeaveScreen) Reset()
- func (x *SCPlayerLeaveScreen) String() string
- func (m *SCPlayerLeaveScreen) Validate() error
- type SCPlayerLeaveScreenValidationError
- func (e SCPlayerLeaveScreenValidationError) Cause() error
- func (e SCPlayerLeaveScreenValidationError) Error() string
- func (e SCPlayerLeaveScreenValidationError) ErrorName() string
- func (e SCPlayerLeaveScreenValidationError) Field() string
- func (e SCPlayerLeaveScreenValidationError) Key() bool
- func (e SCPlayerLeaveScreenValidationError) Reason() string
- type SCSyncUnitsInfo
- func (*SCSyncUnitsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SCSyncUnitsInfo) GetUnits() []*server_common.UnitInfo
- func (*SCSyncUnitsInfo) ProtoMessage()
- func (x *SCSyncUnitsInfo) ProtoReflect() protoreflect.Message
- func (x *SCSyncUnitsInfo) Reset()
- func (x *SCSyncUnitsInfo) String() string
- func (m *SCSyncUnitsInfo) Validate() error
- type SCSyncUnitsInfoValidationError
- func (e SCSyncUnitsInfoValidationError) Cause() error
- func (e SCSyncUnitsInfoValidationError) Error() string
- func (e SCSyncUnitsInfoValidationError) ErrorName() string
- func (e SCSyncUnitsInfoValidationError) Field() string
- func (e SCSyncUnitsInfoValidationError) Key() bool
- func (e SCSyncUnitsInfoValidationError) Reason() string
- type SCUnitEnterScreen
- func (*SCUnitEnterScreen) Descriptor() ([]byte, []int)deprecated
- func (x *SCUnitEnterScreen) GetUnit() *server_common.UnitInfo
- func (*SCUnitEnterScreen) ProtoMessage()
- func (x *SCUnitEnterScreen) ProtoReflect() protoreflect.Message
- func (x *SCUnitEnterScreen) Reset()
- func (x *SCUnitEnterScreen) String() string
- func (m *SCUnitEnterScreen) Validate() error
- type SCUnitEnterScreenValidationError
- func (e SCUnitEnterScreenValidationError) Cause() error
- func (e SCUnitEnterScreenValidationError) Error() string
- func (e SCUnitEnterScreenValidationError) ErrorName() string
- func (e SCUnitEnterScreenValidationError) Field() string
- func (e SCUnitEnterScreenValidationError) Key() bool
- func (e SCUnitEnterScreenValidationError) Reason() string
- type SCUnitInfoUpdate
- func (*SCUnitInfoUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *SCUnitInfoUpdate) GetUnit() *server_common.UnitInfo
- func (*SCUnitInfoUpdate) ProtoMessage()
- func (x *SCUnitInfoUpdate) ProtoReflect() protoreflect.Message
- func (x *SCUnitInfoUpdate) Reset()
- func (x *SCUnitInfoUpdate) String() string
- func (m *SCUnitInfoUpdate) Validate() error
- type SCUnitInfoUpdateValidationError
- func (e SCUnitInfoUpdateValidationError) Cause() error
- func (e SCUnitInfoUpdateValidationError) Error() string
- func (e SCUnitInfoUpdateValidationError) ErrorName() string
- func (e SCUnitInfoUpdateValidationError) Field() string
- func (e SCUnitInfoUpdateValidationError) Key() bool
- func (e SCUnitInfoUpdateValidationError) Reason() string
- type SCUnitLeaveScreen
- func (*SCUnitLeaveScreen) Descriptor() ([]byte, []int)deprecated
- func (x *SCUnitLeaveScreen) GetUnitId() uint64
- func (*SCUnitLeaveScreen) ProtoMessage()
- func (x *SCUnitLeaveScreen) ProtoReflect() protoreflect.Message
- func (x *SCUnitLeaveScreen) Reset()
- func (x *SCUnitLeaveScreen) String() string
- func (m *SCUnitLeaveScreen) Validate() error
- type SCUnitLeaveScreenValidationError
- func (e SCUnitLeaveScreenValidationError) Cause() error
- func (e SCUnitLeaveScreenValidationError) Error() string
- func (e SCUnitLeaveScreenValidationError) ErrorName() string
- func (e SCUnitLeaveScreenValidationError) Field() string
- func (e SCUnitLeaveScreenValidationError) Key() bool
- func (e SCUnitLeaveScreenValidationError) Reason() string
- type SceneHeartbeat
- func (*SceneHeartbeat) Descriptor() ([]byte, []int)deprecated
- func (x *SceneHeartbeat) GetTime() int64
- func (*SceneHeartbeat) ProtoMessage()
- func (x *SceneHeartbeat) ProtoReflect() protoreflect.Message
- func (x *SceneHeartbeat) Reset()
- func (x *SceneHeartbeat) String() string
- func (m *SceneHeartbeat) Validate() error
- type SceneHeartbeatValidationError
- func (e SceneHeartbeatValidationError) Cause() error
- func (e SceneHeartbeatValidationError) Error() string
- func (e SceneHeartbeatValidationError) ErrorName() string
- func (e SceneHeartbeatValidationError) Field() string
- func (e SceneHeartbeatValidationError) Key() bool
- func (e SceneHeartbeatValidationError) Reason() string
- type SceneMsgData
- func (*SceneMsgData) Descriptor() ([]byte, []int)deprecated
- func (x *SceneMsgData) GetData() []byte
- func (x *SceneMsgData) GetSceneID() uint32
- func (*SceneMsgData) ProtoMessage()
- func (x *SceneMsgData) ProtoReflect() protoreflect.Message
- func (x *SceneMsgData) Reset()
- func (x *SceneMsgData) String() string
- func (m *SceneMsgData) Validate() error
- type SceneMsgDataValidationError
- func (e SceneMsgDataValidationError) Cause() error
- func (e SceneMsgDataValidationError) Error() string
- func (e SceneMsgDataValidationError) ErrorName() string
- func (e SceneMsgDataValidationError) Field() string
- func (e SceneMsgDataValidationError) Key() bool
- func (e SceneMsgDataValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( JoinSceneError_name = map[int32]string{ 0: "VisitSceneError", 1: "VisitSceneUnlocked", 2: "VisitSceneCrowded", } JoinSceneError_value = map[string]int32{ "VisitSceneError": 0, "VisitSceneUnlocked": 1, "VisitSceneCrowded": 2, } )
Enum value maps for JoinSceneError.
var File_scene_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AoiMsgData ¶ added in v1.4.1
type AoiMsgData 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"` IncludeSelf bool `protobuf:"varint,3,opt,name=IncludeSelf,proto3" json:"IncludeSelf,omitempty"` PlayerID uint64 `protobuf:"varint,4,opt,name=PlayerID,proto3" json:"PlayerID,omitempty"` // contains filtered or unexported fields }
func (*AoiMsgData) Descriptor
deprecated
added in
v1.4.1
func (*AoiMsgData) Descriptor() ([]byte, []int)
Deprecated: Use AoiMsgData.ProtoReflect.Descriptor instead.
func (*AoiMsgData) GetIncludeSelf ¶ added in v1.4.1
func (x *AoiMsgData) GetIncludeSelf() bool
func (*AoiMsgData) GetMessageId ¶ added in v1.4.1
func (x *AoiMsgData) GetMessageId() uint64
func (*AoiMsgData) GetMsg ¶ added in v1.4.1
func (x *AoiMsgData) GetMsg() []byte
func (*AoiMsgData) GetPlayerID ¶ added in v1.4.1
func (x *AoiMsgData) GetPlayerID() uint64
func (*AoiMsgData) ProtoMessage ¶ added in v1.4.1
func (*AoiMsgData) ProtoMessage()
func (*AoiMsgData) ProtoReflect ¶ added in v1.4.1
func (x *AoiMsgData) ProtoReflect() protoreflect.Message
func (*AoiMsgData) Reset ¶ added in v1.4.1
func (x *AoiMsgData) Reset()
func (*AoiMsgData) String ¶ added in v1.4.1
func (x *AoiMsgData) String() string
func (*AoiMsgData) Validate ¶ added in v1.4.1
func (m *AoiMsgData) Validate() error
Validate checks the field values on AoiMsgData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AoiMsgDataValidationError ¶ added in v1.4.1
type AoiMsgDataValidationError struct {
// contains filtered or unexported fields
}
AoiMsgDataValidationError is the validation error returned by AoiMsgData.Validate if the designated constraints aren't met.
func (AoiMsgDataValidationError) Cause ¶ added in v1.4.1
func (e AoiMsgDataValidationError) Cause() error
Cause function returns cause value.
func (AoiMsgDataValidationError) Error ¶ added in v1.4.1
func (e AoiMsgDataValidationError) Error() string
Error satisfies the builtin error interface
func (AoiMsgDataValidationError) ErrorName ¶ added in v1.4.1
func (e AoiMsgDataValidationError) ErrorName() string
ErrorName returns error name.
func (AoiMsgDataValidationError) Field ¶ added in v1.4.1
func (e AoiMsgDataValidationError) Field() string
Field function returns field value.
func (AoiMsgDataValidationError) Key ¶ added in v1.4.1
func (e AoiMsgDataValidationError) Key() bool
Key function returns key value.
func (AoiMsgDataValidationError) Reason ¶ added in v1.4.1
func (e AoiMsgDataValidationError) Reason() string
Reason function returns reason value.
type CSCanJoinScene ¶
type CSCanJoinScene 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"` // contains filtered or unexported fields }
func (*CSCanJoinScene) Descriptor
deprecated
func (*CSCanJoinScene) Descriptor() ([]byte, []int)
Deprecated: Use CSCanJoinScene.ProtoReflect.Descriptor instead.
func (*CSCanJoinScene) GetPlayerId ¶
func (x *CSCanJoinScene) GetPlayerId() uint64
func (*CSCanJoinScene) GetSceneId ¶
func (x *CSCanJoinScene) GetSceneId() int32
func (*CSCanJoinScene) ProtoMessage ¶
func (*CSCanJoinScene) ProtoMessage()
func (*CSCanJoinScene) ProtoReflect ¶
func (x *CSCanJoinScene) ProtoReflect() protoreflect.Message
func (*CSCanJoinScene) Reset ¶
func (x *CSCanJoinScene) Reset()
func (*CSCanJoinScene) String ¶
func (x *CSCanJoinScene) String() string
func (*CSCanJoinScene) Validate ¶
func (m *CSCanJoinScene) Validate() error
Validate checks the field values on CSCanJoinScene with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSCanJoinSceneValidationError ¶
type CSCanJoinSceneValidationError struct {
// contains filtered or unexported fields
}
CSCanJoinSceneValidationError is the validation error returned by CSCanJoinScene.Validate if the designated constraints aren't met.
func (CSCanJoinSceneValidationError) Cause ¶
func (e CSCanJoinSceneValidationError) Cause() error
Cause function returns cause value.
func (CSCanJoinSceneValidationError) Error ¶
func (e CSCanJoinSceneValidationError) Error() string
Error satisfies the builtin error interface
func (CSCanJoinSceneValidationError) ErrorName ¶
func (e CSCanJoinSceneValidationError) ErrorName() string
ErrorName returns error name.
func (CSCanJoinSceneValidationError) Field ¶
func (e CSCanJoinSceneValidationError) Field() string
Field function returns field value.
func (CSCanJoinSceneValidationError) Key ¶
func (e CSCanJoinSceneValidationError) Key() bool
Key function returns key value.
func (CSCanJoinSceneValidationError) Reason ¶
func (e CSCanJoinSceneValidationError) Reason() string
Reason function returns reason value.
type CSJoinScene ¶
type CSJoinScene struct { SceneId int32 `protobuf:"varint,1,opt,name=sceneId,proto3" json:"sceneId,omitempty"` // 跳转的场景ID BirthId uint32 `protobuf:"varint,2,opt,name=birthId,proto3" json:"birthId,omitempty"` // 传送点ID PlayerId uint64 `protobuf:"varint,3,opt,name=playerId,proto3" json:"playerId,omitempty"` // 如果playerId != 0 表示进入玩家家园场景 Passwd string `protobuf:"bytes,4,opt,name=passwd,proto3" json:"passwd,omitempty"` // Gift []uint32 `protobuf:"varint,5,rep,packed,name=gift,proto3" json:"gift,omitempty"` // 伴手礼 IsView bool `protobuf:"varint,6,opt,name=isView,proto3" json:"isView,omitempty"` // 是否观众 JumpType uint32 `protobuf:"varint,7,opt,name=jumpType,proto3" json:"jumpType,omitempty"` // 切场景原因类型(0:传送阵 1:任务切场景 2:区块出生点) Param uint32 `protobuf:"varint,8,opt,name=param,proto3" json:"param,omitempty"` // jumpType=1 param=task step id Portal string `protobuf:"bytes,9,opt,name=portal,proto3" json:"portal,omitempty"` // 传送门数据 // contains filtered or unexported fields }
func (*CSJoinScene) Descriptor
deprecated
func (*CSJoinScene) Descriptor() ([]byte, []int)
Deprecated: Use CSJoinScene.ProtoReflect.Descriptor instead.
func (*CSJoinScene) GetBirthId ¶ added in v1.3.7
func (x *CSJoinScene) GetBirthId() uint32
func (*CSJoinScene) GetGift ¶
func (x *CSJoinScene) GetGift() []uint32
func (*CSJoinScene) GetIsView ¶ added in v1.3.7
func (x *CSJoinScene) GetIsView() bool
func (*CSJoinScene) GetJumpType ¶
func (x *CSJoinScene) GetJumpType() uint32
func (*CSJoinScene) GetParam ¶
func (x *CSJoinScene) GetParam() uint32
func (*CSJoinScene) GetPasswd ¶
func (x *CSJoinScene) GetPasswd() string
func (*CSJoinScene) GetPlayerId ¶ added in v1.3.7
func (x *CSJoinScene) GetPlayerId() uint64
func (*CSJoinScene) GetPortal ¶
func (x *CSJoinScene) GetPortal() string
func (*CSJoinScene) GetSceneId ¶ added in v1.3.7
func (x *CSJoinScene) GetSceneId() int32
func (*CSJoinScene) ProtoMessage ¶
func (*CSJoinScene) ProtoMessage()
func (*CSJoinScene) ProtoReflect ¶
func (x *CSJoinScene) ProtoReflect() protoreflect.Message
func (*CSJoinScene) Reset ¶
func (x *CSJoinScene) Reset()
func (*CSJoinScene) String ¶
func (x *CSJoinScene) String() string
func (*CSJoinScene) Validate ¶
func (m *CSJoinScene) Validate() error
Validate checks the field values on CSJoinScene with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSJoinSceneValidationError ¶
type CSJoinSceneValidationError struct {
// contains filtered or unexported fields
}
CSJoinSceneValidationError is the validation error returned by CSJoinScene.Validate if the designated constraints aren't met.
func (CSJoinSceneValidationError) Cause ¶
func (e CSJoinSceneValidationError) Cause() error
Cause function returns cause value.
func (CSJoinSceneValidationError) Error ¶
func (e CSJoinSceneValidationError) Error() string
Error satisfies the builtin error interface
func (CSJoinSceneValidationError) ErrorName ¶
func (e CSJoinSceneValidationError) ErrorName() string
ErrorName returns error name.
func (CSJoinSceneValidationError) Field ¶
func (e CSJoinSceneValidationError) Field() string
Field function returns field value.
func (CSJoinSceneValidationError) Key ¶
func (e CSJoinSceneValidationError) Key() bool
Key function returns key value.
func (CSJoinSceneValidationError) Reason ¶
func (e CSJoinSceneValidationError) Reason() string
Reason function returns reason value.
type CSLeaveScene ¶
type CSLeaveScene struct {
// contains filtered or unexported fields
}
func (*CSLeaveScene) Descriptor
deprecated
func (*CSLeaveScene) Descriptor() ([]byte, []int)
Deprecated: Use CSLeaveScene.ProtoReflect.Descriptor instead.
func (*CSLeaveScene) ProtoMessage ¶
func (*CSLeaveScene) ProtoMessage()
func (*CSLeaveScene) ProtoReflect ¶
func (x *CSLeaveScene) ProtoReflect() protoreflect.Message
func (*CSLeaveScene) Reset ¶
func (x *CSLeaveScene) Reset()
func (*CSLeaveScene) String ¶
func (x *CSLeaveScene) String() string
func (*CSLeaveScene) Validate ¶
func (m *CSLeaveScene) Validate() error
Validate checks the field values on CSLeaveScene with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSLeaveSceneValidationError ¶
type CSLeaveSceneValidationError struct {
// contains filtered or unexported fields
}
CSLeaveSceneValidationError is the validation error returned by CSLeaveScene.Validate if the designated constraints aren't met.
func (CSLeaveSceneValidationError) Cause ¶
func (e CSLeaveSceneValidationError) Cause() error
Cause function returns cause value.
func (CSLeaveSceneValidationError) Error ¶
func (e CSLeaveSceneValidationError) Error() string
Error satisfies the builtin error interface
func (CSLeaveSceneValidationError) ErrorName ¶
func (e CSLeaveSceneValidationError) ErrorName() string
ErrorName returns error name.
func (CSLeaveSceneValidationError) Field ¶
func (e CSLeaveSceneValidationError) Field() string
Field function returns field value.
func (CSLeaveSceneValidationError) Key ¶
func (e CSLeaveSceneValidationError) Key() bool
Key function returns key value.
func (CSLeaveSceneValidationError) Reason ¶
func (e CSLeaveSceneValidationError) Reason() string
Reason function returns reason value.
type JoinSceneData ¶ added in v1.4.1
type JoinSceneData struct { PreSceneID uint32 `protobuf:"varint,1,opt,name=PreSceneID,proto3" json:"PreSceneID,omitempty"` // 前一个场景ID JumpType uint32 `protobuf:"varint,2,opt,name=JumpType,proto3" json:"JumpType,omitempty"` // 跳转类型 JumpParam uint32 `protobuf:"varint,3,opt,name=JumpParam,proto3" json:"JumpParam,omitempty"` // 跳转参数 BirthIdx uint32 `protobuf:"varint,4,opt,name=BirthIdx,proto3" json:"BirthIdx,omitempty"` // 出生点 NickName string `protobuf:"bytes,5,opt,name=NickName,proto3" json:"NickName,omitempty"` // 昵称 Model uint32 `protobuf:"varint,6,opt,name=Model,proto3" json:"Model,omitempty"` // 颜色 PosX float32 `protobuf:"fixed32,7,opt,name=PosX,proto3" json:"PosX,omitempty"` // X坐标(上次的坐标) PosY float32 `protobuf:"fixed32,8,opt,name=PosY,proto3" json:"PosY,omitempty"` // Y坐标 PosZ float32 `protobuf:"fixed32,9,opt,name=PosZ,proto3" json:"PosZ,omitempty"` // Z坐标 Orientation float32 `protobuf:"fixed32,10,opt,name=Orientation,proto3" json:"Orientation,omitempty"` // 面向 VipLv uint32 `protobuf:"varint,11,opt,name=VipLv,proto3" json:"VipLv,omitempty"` // vip lv // contains filtered or unexported fields }
func (*JoinSceneData) Descriptor
deprecated
added in
v1.4.1
func (*JoinSceneData) Descriptor() ([]byte, []int)
Deprecated: Use JoinSceneData.ProtoReflect.Descriptor instead.
func (*JoinSceneData) GetBirthIdx ¶ added in v1.4.1
func (x *JoinSceneData) GetBirthIdx() uint32
func (*JoinSceneData) GetJumpParam ¶ added in v1.4.1
func (x *JoinSceneData) GetJumpParam() uint32
func (*JoinSceneData) GetJumpType ¶ added in v1.4.1
func (x *JoinSceneData) GetJumpType() uint32
func (*JoinSceneData) GetModel ¶ added in v1.4.1
func (x *JoinSceneData) GetModel() uint32
func (*JoinSceneData) GetNickName ¶ added in v1.4.1
func (x *JoinSceneData) GetNickName() string
func (*JoinSceneData) GetOrientation ¶ added in v1.4.1
func (x *JoinSceneData) GetOrientation() float32
func (*JoinSceneData) GetPosX ¶ added in v1.4.1
func (x *JoinSceneData) GetPosX() float32
func (*JoinSceneData) GetPosY ¶ added in v1.4.1
func (x *JoinSceneData) GetPosY() float32
func (*JoinSceneData) GetPosZ ¶ added in v1.4.1
func (x *JoinSceneData) GetPosZ() float32
func (*JoinSceneData) GetPreSceneID ¶ added in v1.4.1
func (x *JoinSceneData) GetPreSceneID() uint32
func (*JoinSceneData) GetVipLv ¶ added in v1.4.1
func (x *JoinSceneData) GetVipLv() uint32
func (*JoinSceneData) ProtoMessage ¶ added in v1.4.1
func (*JoinSceneData) ProtoMessage()
func (*JoinSceneData) ProtoReflect ¶ added in v1.4.1
func (x *JoinSceneData) ProtoReflect() protoreflect.Message
func (*JoinSceneData) Reset ¶ added in v1.4.1
func (x *JoinSceneData) Reset()
func (*JoinSceneData) String ¶ added in v1.4.1
func (x *JoinSceneData) String() string
func (*JoinSceneData) Validate ¶ added in v1.4.1
func (m *JoinSceneData) Validate() error
Validate checks the field values on JoinSceneData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type JoinSceneDataValidationError ¶ added in v1.4.1
type JoinSceneDataValidationError struct {
// contains filtered or unexported fields
}
JoinSceneDataValidationError is the validation error returned by JoinSceneData.Validate if the designated constraints aren't met.
func (JoinSceneDataValidationError) Cause ¶ added in v1.4.1
func (e JoinSceneDataValidationError) Cause() error
Cause function returns cause value.
func (JoinSceneDataValidationError) Error ¶ added in v1.4.1
func (e JoinSceneDataValidationError) Error() string
Error satisfies the builtin error interface
func (JoinSceneDataValidationError) ErrorName ¶ added in v1.4.1
func (e JoinSceneDataValidationError) ErrorName() string
ErrorName returns error name.
func (JoinSceneDataValidationError) Field ¶ added in v1.4.1
func (e JoinSceneDataValidationError) Field() string
Field function returns field value.
func (JoinSceneDataValidationError) Key ¶ added in v1.4.1
func (e JoinSceneDataValidationError) Key() bool
Key function returns key value.
func (JoinSceneDataValidationError) Reason ¶ added in v1.4.1
func (e JoinSceneDataValidationError) Reason() string
Reason function returns reason value.
type JoinSceneError ¶
type JoinSceneError int32
const ( JoinSceneError_VisitSceneError JoinSceneError = 0 // 位置错误(可能是配表错了) JoinSceneError_VisitSceneUnlocked JoinSceneError = 1 // 新手农庄未解锁 JoinSceneError_VisitSceneCrowded JoinSceneError = 2 // 访问的场景人太多了 )
func (JoinSceneError) Descriptor ¶
func (JoinSceneError) Descriptor() protoreflect.EnumDescriptor
func (JoinSceneError) Enum ¶
func (x JoinSceneError) Enum() *JoinSceneError
func (JoinSceneError) EnumDescriptor
deprecated
func (JoinSceneError) EnumDescriptor() ([]byte, []int)
Deprecated: Use JoinSceneError.Descriptor instead.
func (JoinSceneError) Number ¶
func (x JoinSceneError) Number() protoreflect.EnumNumber
func (JoinSceneError) String ¶
func (x JoinSceneError) String() string
func (JoinSceneError) Type ¶
func (JoinSceneError) Type() protoreflect.EnumType
type SCCanJoinScene ¶
type SCCanJoinScene struct { IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"` // SceneId int32 `protobuf:"varint,2,opt,name=sceneId,proto3" json:"sceneId,omitempty"` // 跳转的场景ID PlayerId uint64 `protobuf:"varint,3,opt,name=playerId,proto3" json:"playerId,omitempty"` // // contains filtered or unexported fields }
func (*SCCanJoinScene) Descriptor
deprecated
func (*SCCanJoinScene) Descriptor() ([]byte, []int)
Deprecated: Use SCCanJoinScene.ProtoReflect.Descriptor instead.
func (*SCCanJoinScene) GetIsOk ¶
func (x *SCCanJoinScene) GetIsOk() bool
func (*SCCanJoinScene) GetPlayerId ¶
func (x *SCCanJoinScene) GetPlayerId() uint64
func (*SCCanJoinScene) GetSceneId ¶
func (x *SCCanJoinScene) GetSceneId() int32
func (*SCCanJoinScene) ProtoMessage ¶
func (*SCCanJoinScene) ProtoMessage()
func (*SCCanJoinScene) ProtoReflect ¶
func (x *SCCanJoinScene) ProtoReflect() protoreflect.Message
func (*SCCanJoinScene) Reset ¶
func (x *SCCanJoinScene) Reset()
func (*SCCanJoinScene) String ¶
func (x *SCCanJoinScene) String() string
func (*SCCanJoinScene) Validate ¶
func (m *SCCanJoinScene) Validate() error
Validate checks the field values on SCCanJoinScene with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCCanJoinSceneValidationError ¶
type SCCanJoinSceneValidationError struct {
// contains filtered or unexported fields
}
SCCanJoinSceneValidationError is the validation error returned by SCCanJoinScene.Validate if the designated constraints aren't met.
func (SCCanJoinSceneValidationError) Cause ¶
func (e SCCanJoinSceneValidationError) Cause() error
Cause function returns cause value.
func (SCCanJoinSceneValidationError) Error ¶
func (e SCCanJoinSceneValidationError) Error() string
Error satisfies the builtin error interface
func (SCCanJoinSceneValidationError) ErrorName ¶
func (e SCCanJoinSceneValidationError) ErrorName() string
ErrorName returns error name.
func (SCCanJoinSceneValidationError) Field ¶
func (e SCCanJoinSceneValidationError) Field() string
Field function returns field value.
func (SCCanJoinSceneValidationError) Key ¶
func (e SCCanJoinSceneValidationError) Key() bool
Key function returns key value.
func (SCCanJoinSceneValidationError) Reason ¶
func (e SCCanJoinSceneValidationError) Reason() string
Reason function returns reason value.
type SCJoinScene ¶
type SCJoinScene struct { SceneId int32 `protobuf:"varint,1,opt,name=sceneId,proto3" json:"sceneId,omitempty"` // 跳转的场景ID PlayerInfo *server_common.PlayerBaseInfo `protobuf:"bytes,2,opt,name=playerInfo,proto3" json:"playerInfo,omitempty"` // 玩家数据 Players []*server_common.PlayerBaseInfo `protobuf:"bytes,3,rep,name=players,proto3" json:"players,omitempty"` //不包括自己 // contains filtered or unexported fields }
func (*SCJoinScene) Descriptor
deprecated
func (*SCJoinScene) Descriptor() ([]byte, []int)
Deprecated: Use SCJoinScene.ProtoReflect.Descriptor instead.
func (*SCJoinScene) GetPlayerInfo ¶
func (x *SCJoinScene) GetPlayerInfo() *server_common.PlayerBaseInfo
func (*SCJoinScene) GetPlayers ¶
func (x *SCJoinScene) GetPlayers() []*server_common.PlayerBaseInfo
func (*SCJoinScene) GetSceneId ¶
func (x *SCJoinScene) GetSceneId() int32
func (*SCJoinScene) ProtoMessage ¶
func (*SCJoinScene) ProtoMessage()
func (*SCJoinScene) ProtoReflect ¶
func (x *SCJoinScene) ProtoReflect() protoreflect.Message
func (*SCJoinScene) Reset ¶
func (x *SCJoinScene) Reset()
func (*SCJoinScene) String ¶
func (x *SCJoinScene) String() string
func (*SCJoinScene) Validate ¶
func (m *SCJoinScene) Validate() error
Validate checks the field values on SCJoinScene with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCJoinSceneError ¶
type SCJoinSceneError struct { ErrCode JoinSceneError `protobuf:"varint,1,opt,name=errCode,proto3,enum=scene.JoinSceneError" json:"errCode,omitempty"` // contains filtered or unexported fields }
func (*SCJoinSceneError) Descriptor
deprecated
func (*SCJoinSceneError) Descriptor() ([]byte, []int)
Deprecated: Use SCJoinSceneError.ProtoReflect.Descriptor instead.
func (*SCJoinSceneError) GetErrCode ¶
func (x *SCJoinSceneError) GetErrCode() JoinSceneError
func (*SCJoinSceneError) ProtoMessage ¶
func (*SCJoinSceneError) ProtoMessage()
func (*SCJoinSceneError) ProtoReflect ¶
func (x *SCJoinSceneError) ProtoReflect() protoreflect.Message
func (*SCJoinSceneError) Reset ¶
func (x *SCJoinSceneError) Reset()
func (*SCJoinSceneError) String ¶
func (x *SCJoinSceneError) String() string
func (*SCJoinSceneError) Validate ¶
func (m *SCJoinSceneError) Validate() error
Validate checks the field values on SCJoinSceneError with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCJoinSceneErrorValidationError ¶
type SCJoinSceneErrorValidationError struct {
// contains filtered or unexported fields
}
SCJoinSceneErrorValidationError is the validation error returned by SCJoinSceneError.Validate if the designated constraints aren't met.
func (SCJoinSceneErrorValidationError) Cause ¶
func (e SCJoinSceneErrorValidationError) Cause() error
Cause function returns cause value.
func (SCJoinSceneErrorValidationError) Error ¶
func (e SCJoinSceneErrorValidationError) Error() string
Error satisfies the builtin error interface
func (SCJoinSceneErrorValidationError) ErrorName ¶
func (e SCJoinSceneErrorValidationError) ErrorName() string
ErrorName returns error name.
func (SCJoinSceneErrorValidationError) Field ¶
func (e SCJoinSceneErrorValidationError) Field() string
Field function returns field value.
func (SCJoinSceneErrorValidationError) Key ¶
func (e SCJoinSceneErrorValidationError) Key() bool
Key function returns key value.
func (SCJoinSceneErrorValidationError) Reason ¶
func (e SCJoinSceneErrorValidationError) Reason() string
Reason function returns reason value.
type SCJoinSceneValidationError ¶
type SCJoinSceneValidationError struct {
// contains filtered or unexported fields
}
SCJoinSceneValidationError is the validation error returned by SCJoinScene.Validate if the designated constraints aren't met.
func (SCJoinSceneValidationError) Cause ¶
func (e SCJoinSceneValidationError) Cause() error
Cause function returns cause value.
func (SCJoinSceneValidationError) Error ¶
func (e SCJoinSceneValidationError) Error() string
Error satisfies the builtin error interface
func (SCJoinSceneValidationError) ErrorName ¶
func (e SCJoinSceneValidationError) ErrorName() string
ErrorName returns error name.
func (SCJoinSceneValidationError) Field ¶
func (e SCJoinSceneValidationError) Field() string
Field function returns field value.
func (SCJoinSceneValidationError) Key ¶
func (e SCJoinSceneValidationError) Key() bool
Key function returns key value.
func (SCJoinSceneValidationError) Reason ¶
func (e SCJoinSceneValidationError) Reason() string
Reason function returns reason value.
type SCLeaveScene ¶
type SCLeaveScene struct { Playerid uint64 `protobuf:"varint,1,opt,name=playerid,proto3" json:"playerid,omitempty"` // contains filtered or unexported fields }
func (*SCLeaveScene) Descriptor
deprecated
func (*SCLeaveScene) Descriptor() ([]byte, []int)
Deprecated: Use SCLeaveScene.ProtoReflect.Descriptor instead.
func (*SCLeaveScene) GetPlayerid ¶
func (x *SCLeaveScene) GetPlayerid() uint64
func (*SCLeaveScene) ProtoMessage ¶
func (*SCLeaveScene) ProtoMessage()
func (*SCLeaveScene) ProtoReflect ¶
func (x *SCLeaveScene) ProtoReflect() protoreflect.Message
func (*SCLeaveScene) Reset ¶
func (x *SCLeaveScene) Reset()
func (*SCLeaveScene) String ¶
func (x *SCLeaveScene) String() string
func (*SCLeaveScene) Validate ¶
func (m *SCLeaveScene) Validate() error
Validate checks the field values on SCLeaveScene with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCLeaveSceneValidationError ¶
type SCLeaveSceneValidationError struct {
// contains filtered or unexported fields
}
SCLeaveSceneValidationError is the validation error returned by SCLeaveScene.Validate if the designated constraints aren't met.
func (SCLeaveSceneValidationError) Cause ¶
func (e SCLeaveSceneValidationError) Cause() error
Cause function returns cause value.
func (SCLeaveSceneValidationError) Error ¶
func (e SCLeaveSceneValidationError) Error() string
Error satisfies the builtin error interface
func (SCLeaveSceneValidationError) ErrorName ¶
func (e SCLeaveSceneValidationError) ErrorName() string
ErrorName returns error name.
func (SCLeaveSceneValidationError) Field ¶
func (e SCLeaveSceneValidationError) Field() string
Field function returns field value.
func (SCLeaveSceneValidationError) Key ¶
func (e SCLeaveSceneValidationError) Key() bool
Key function returns key value.
func (SCLeaveSceneValidationError) Reason ¶
func (e SCLeaveSceneValidationError) Reason() string
Reason function returns reason value.
type SCPlayerEnterScreen ¶
type SCPlayerEnterScreen struct { PlayerInfo *server_common.PlayerBaseInfo `protobuf:"bytes,1,opt,name=playerInfo,proto3" json:"playerInfo,omitempty"` // contains filtered or unexported fields }
进入视野
func (*SCPlayerEnterScreen) Descriptor
deprecated
func (*SCPlayerEnterScreen) Descriptor() ([]byte, []int)
Deprecated: Use SCPlayerEnterScreen.ProtoReflect.Descriptor instead.
func (*SCPlayerEnterScreen) GetPlayerInfo ¶
func (x *SCPlayerEnterScreen) GetPlayerInfo() *server_common.PlayerBaseInfo
func (*SCPlayerEnterScreen) ProtoMessage ¶
func (*SCPlayerEnterScreen) ProtoMessage()
func (*SCPlayerEnterScreen) ProtoReflect ¶
func (x *SCPlayerEnterScreen) ProtoReflect() protoreflect.Message
func (*SCPlayerEnterScreen) Reset ¶
func (x *SCPlayerEnterScreen) Reset()
func (*SCPlayerEnterScreen) String ¶
func (x *SCPlayerEnterScreen) String() string
func (*SCPlayerEnterScreen) Validate ¶
func (m *SCPlayerEnterScreen) Validate() error
Validate checks the field values on SCPlayerEnterScreen with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCPlayerEnterScreenValidationError ¶
type SCPlayerEnterScreenValidationError struct {
// contains filtered or unexported fields
}
SCPlayerEnterScreenValidationError is the validation error returned by SCPlayerEnterScreen.Validate if the designated constraints aren't met.
func (SCPlayerEnterScreenValidationError) Cause ¶
func (e SCPlayerEnterScreenValidationError) Cause() error
Cause function returns cause value.
func (SCPlayerEnterScreenValidationError) Error ¶
func (e SCPlayerEnterScreenValidationError) Error() string
Error satisfies the builtin error interface
func (SCPlayerEnterScreenValidationError) ErrorName ¶
func (e SCPlayerEnterScreenValidationError) ErrorName() string
ErrorName returns error name.
func (SCPlayerEnterScreenValidationError) Field ¶
func (e SCPlayerEnterScreenValidationError) Field() string
Field function returns field value.
func (SCPlayerEnterScreenValidationError) Key ¶
func (e SCPlayerEnterScreenValidationError) Key() bool
Key function returns key value.
func (SCPlayerEnterScreenValidationError) Reason ¶
func (e SCPlayerEnterScreenValidationError) Reason() string
Reason function returns reason value.
type SCPlayerJoinScene ¶
type SCPlayerJoinScene struct { PlayerInfo *server_common.PlayerBaseInfo `protobuf:"bytes,1,opt,name=playerInfo,proto3" json:"playerInfo,omitempty"` // 拉姆数据 // contains filtered or unexported fields }
func (*SCPlayerJoinScene) Descriptor
deprecated
func (*SCPlayerJoinScene) Descriptor() ([]byte, []int)
Deprecated: Use SCPlayerJoinScene.ProtoReflect.Descriptor instead.
func (*SCPlayerJoinScene) GetPlayerInfo ¶
func (x *SCPlayerJoinScene) GetPlayerInfo() *server_common.PlayerBaseInfo
func (*SCPlayerJoinScene) ProtoMessage ¶
func (*SCPlayerJoinScene) ProtoMessage()
func (*SCPlayerJoinScene) ProtoReflect ¶
func (x *SCPlayerJoinScene) ProtoReflect() protoreflect.Message
func (*SCPlayerJoinScene) Reset ¶
func (x *SCPlayerJoinScene) Reset()
func (*SCPlayerJoinScene) String ¶
func (x *SCPlayerJoinScene) String() string
func (*SCPlayerJoinScene) Validate ¶
func (m *SCPlayerJoinScene) Validate() error
Validate checks the field values on SCPlayerJoinScene with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCPlayerJoinSceneValidationError ¶
type SCPlayerJoinSceneValidationError struct {
// contains filtered or unexported fields
}
SCPlayerJoinSceneValidationError is the validation error returned by SCPlayerJoinScene.Validate if the designated constraints aren't met.
func (SCPlayerJoinSceneValidationError) Cause ¶
func (e SCPlayerJoinSceneValidationError) Cause() error
Cause function returns cause value.
func (SCPlayerJoinSceneValidationError) Error ¶
func (e SCPlayerJoinSceneValidationError) Error() string
Error satisfies the builtin error interface
func (SCPlayerJoinSceneValidationError) ErrorName ¶
func (e SCPlayerJoinSceneValidationError) ErrorName() string
ErrorName returns error name.
func (SCPlayerJoinSceneValidationError) Field ¶
func (e SCPlayerJoinSceneValidationError) Field() string
Field function returns field value.
func (SCPlayerJoinSceneValidationError) Key ¶
func (e SCPlayerJoinSceneValidationError) Key() bool
Key function returns key value.
func (SCPlayerJoinSceneValidationError) Reason ¶
func (e SCPlayerJoinSceneValidationError) Reason() string
Reason function returns reason value.
type SCPlayerLeaveScreen ¶
type SCPlayerLeaveScreen struct { PlayerId uint64 `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"` // contains filtered or unexported fields }
离开视野
func (*SCPlayerLeaveScreen) Descriptor
deprecated
func (*SCPlayerLeaveScreen) Descriptor() ([]byte, []int)
Deprecated: Use SCPlayerLeaveScreen.ProtoReflect.Descriptor instead.
func (*SCPlayerLeaveScreen) GetPlayerId ¶ added in v1.3.7
func (x *SCPlayerLeaveScreen) GetPlayerId() uint64
func (*SCPlayerLeaveScreen) ProtoMessage ¶
func (*SCPlayerLeaveScreen) ProtoMessage()
func (*SCPlayerLeaveScreen) ProtoReflect ¶
func (x *SCPlayerLeaveScreen) ProtoReflect() protoreflect.Message
func (*SCPlayerLeaveScreen) Reset ¶
func (x *SCPlayerLeaveScreen) Reset()
func (*SCPlayerLeaveScreen) String ¶
func (x *SCPlayerLeaveScreen) String() string
func (*SCPlayerLeaveScreen) Validate ¶
func (m *SCPlayerLeaveScreen) Validate() error
Validate checks the field values on SCPlayerLeaveScreen with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCPlayerLeaveScreenValidationError ¶
type SCPlayerLeaveScreenValidationError struct {
// contains filtered or unexported fields
}
SCPlayerLeaveScreenValidationError is the validation error returned by SCPlayerLeaveScreen.Validate if the designated constraints aren't met.
func (SCPlayerLeaveScreenValidationError) Cause ¶
func (e SCPlayerLeaveScreenValidationError) Cause() error
Cause function returns cause value.
func (SCPlayerLeaveScreenValidationError) Error ¶
func (e SCPlayerLeaveScreenValidationError) Error() string
Error satisfies the builtin error interface
func (SCPlayerLeaveScreenValidationError) ErrorName ¶
func (e SCPlayerLeaveScreenValidationError) ErrorName() string
ErrorName returns error name.
func (SCPlayerLeaveScreenValidationError) Field ¶
func (e SCPlayerLeaveScreenValidationError) Field() string
Field function returns field value.
func (SCPlayerLeaveScreenValidationError) Key ¶
func (e SCPlayerLeaveScreenValidationError) Key() bool
Key function returns key value.
func (SCPlayerLeaveScreenValidationError) Reason ¶
func (e SCPlayerLeaveScreenValidationError) Reason() string
Reason function returns reason value.
type SCSyncUnitsInfo ¶
type SCSyncUnitsInfo struct { Units []*server_common.UnitInfo `protobuf:"bytes,1,rep,name=units,proto3" json:"units,omitempty"` // contains filtered or unexported fields }
同步场景内的单位信息(进场景同步-单位数据不包括玩家,玩家通过单独的协议同步)
func (*SCSyncUnitsInfo) Descriptor
deprecated
func (*SCSyncUnitsInfo) Descriptor() ([]byte, []int)
Deprecated: Use SCSyncUnitsInfo.ProtoReflect.Descriptor instead.
func (*SCSyncUnitsInfo) GetUnits ¶
func (x *SCSyncUnitsInfo) GetUnits() []*server_common.UnitInfo
func (*SCSyncUnitsInfo) ProtoMessage ¶
func (*SCSyncUnitsInfo) ProtoMessage()
func (*SCSyncUnitsInfo) ProtoReflect ¶
func (x *SCSyncUnitsInfo) ProtoReflect() protoreflect.Message
func (*SCSyncUnitsInfo) Reset ¶
func (x *SCSyncUnitsInfo) Reset()
func (*SCSyncUnitsInfo) String ¶
func (x *SCSyncUnitsInfo) String() string
func (*SCSyncUnitsInfo) Validate ¶
func (m *SCSyncUnitsInfo) Validate() error
Validate checks the field values on SCSyncUnitsInfo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCSyncUnitsInfoValidationError ¶
type SCSyncUnitsInfoValidationError struct {
// contains filtered or unexported fields
}
SCSyncUnitsInfoValidationError is the validation error returned by SCSyncUnitsInfo.Validate if the designated constraints aren't met.
func (SCSyncUnitsInfoValidationError) Cause ¶
func (e SCSyncUnitsInfoValidationError) Cause() error
Cause function returns cause value.
func (SCSyncUnitsInfoValidationError) Error ¶
func (e SCSyncUnitsInfoValidationError) Error() string
Error satisfies the builtin error interface
func (SCSyncUnitsInfoValidationError) ErrorName ¶
func (e SCSyncUnitsInfoValidationError) ErrorName() string
ErrorName returns error name.
func (SCSyncUnitsInfoValidationError) Field ¶
func (e SCSyncUnitsInfoValidationError) Field() string
Field function returns field value.
func (SCSyncUnitsInfoValidationError) Key ¶
func (e SCSyncUnitsInfoValidationError) Key() bool
Key function returns key value.
func (SCSyncUnitsInfoValidationError) Reason ¶
func (e SCSyncUnitsInfoValidationError) Reason() string
Reason function returns reason value.
type SCUnitEnterScreen ¶
type SCUnitEnterScreen struct { Unit *server_common.UnitInfo `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
单位进入视野范围
func (*SCUnitEnterScreen) Descriptor
deprecated
func (*SCUnitEnterScreen) Descriptor() ([]byte, []int)
Deprecated: Use SCUnitEnterScreen.ProtoReflect.Descriptor instead.
func (*SCUnitEnterScreen) GetUnit ¶
func (x *SCUnitEnterScreen) GetUnit() *server_common.UnitInfo
func (*SCUnitEnterScreen) ProtoMessage ¶
func (*SCUnitEnterScreen) ProtoMessage()
func (*SCUnitEnterScreen) ProtoReflect ¶
func (x *SCUnitEnterScreen) ProtoReflect() protoreflect.Message
func (*SCUnitEnterScreen) Reset ¶
func (x *SCUnitEnterScreen) Reset()
func (*SCUnitEnterScreen) String ¶
func (x *SCUnitEnterScreen) String() string
func (*SCUnitEnterScreen) Validate ¶
func (m *SCUnitEnterScreen) Validate() error
Validate checks the field values on SCUnitEnterScreen with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCUnitEnterScreenValidationError ¶
type SCUnitEnterScreenValidationError struct {
// contains filtered or unexported fields
}
SCUnitEnterScreenValidationError is the validation error returned by SCUnitEnterScreen.Validate if the designated constraints aren't met.
func (SCUnitEnterScreenValidationError) Cause ¶
func (e SCUnitEnterScreenValidationError) Cause() error
Cause function returns cause value.
func (SCUnitEnterScreenValidationError) Error ¶
func (e SCUnitEnterScreenValidationError) Error() string
Error satisfies the builtin error interface
func (SCUnitEnterScreenValidationError) ErrorName ¶
func (e SCUnitEnterScreenValidationError) ErrorName() string
ErrorName returns error name.
func (SCUnitEnterScreenValidationError) Field ¶
func (e SCUnitEnterScreenValidationError) Field() string
Field function returns field value.
func (SCUnitEnterScreenValidationError) Key ¶
func (e SCUnitEnterScreenValidationError) Key() bool
Key function returns key value.
func (SCUnitEnterScreenValidationError) Reason ¶
func (e SCUnitEnterScreenValidationError) Reason() string
Reason function returns reason value.
type SCUnitInfoUpdate ¶
type SCUnitInfoUpdate struct { Unit *server_common.UnitInfo `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
单位信息更新
func (*SCUnitInfoUpdate) Descriptor
deprecated
func (*SCUnitInfoUpdate) Descriptor() ([]byte, []int)
Deprecated: Use SCUnitInfoUpdate.ProtoReflect.Descriptor instead.
func (*SCUnitInfoUpdate) GetUnit ¶
func (x *SCUnitInfoUpdate) GetUnit() *server_common.UnitInfo
func (*SCUnitInfoUpdate) ProtoMessage ¶
func (*SCUnitInfoUpdate) ProtoMessage()
func (*SCUnitInfoUpdate) ProtoReflect ¶
func (x *SCUnitInfoUpdate) ProtoReflect() protoreflect.Message
func (*SCUnitInfoUpdate) Reset ¶
func (x *SCUnitInfoUpdate) Reset()
func (*SCUnitInfoUpdate) String ¶
func (x *SCUnitInfoUpdate) String() string
func (*SCUnitInfoUpdate) Validate ¶
func (m *SCUnitInfoUpdate) Validate() error
Validate checks the field values on SCUnitInfoUpdate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCUnitInfoUpdateValidationError ¶
type SCUnitInfoUpdateValidationError struct {
// contains filtered or unexported fields
}
SCUnitInfoUpdateValidationError is the validation error returned by SCUnitInfoUpdate.Validate if the designated constraints aren't met.
func (SCUnitInfoUpdateValidationError) Cause ¶
func (e SCUnitInfoUpdateValidationError) Cause() error
Cause function returns cause value.
func (SCUnitInfoUpdateValidationError) Error ¶
func (e SCUnitInfoUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (SCUnitInfoUpdateValidationError) ErrorName ¶
func (e SCUnitInfoUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (SCUnitInfoUpdateValidationError) Field ¶
func (e SCUnitInfoUpdateValidationError) Field() string
Field function returns field value.
func (SCUnitInfoUpdateValidationError) Key ¶
func (e SCUnitInfoUpdateValidationError) Key() bool
Key function returns key value.
func (SCUnitInfoUpdateValidationError) Reason ¶
func (e SCUnitInfoUpdateValidationError) Reason() string
Reason function returns reason value.
type SCUnitLeaveScreen ¶
type SCUnitLeaveScreen struct { UnitId uint64 `protobuf:"varint,1,opt,name=unitId,proto3" json:"unitId,omitempty"` // contains filtered or unexported fields }
单位离开视野范围
func (*SCUnitLeaveScreen) Descriptor
deprecated
func (*SCUnitLeaveScreen) Descriptor() ([]byte, []int)
Deprecated: Use SCUnitLeaveScreen.ProtoReflect.Descriptor instead.
func (*SCUnitLeaveScreen) GetUnitId ¶ added in v1.3.7
func (x *SCUnitLeaveScreen) GetUnitId() uint64
func (*SCUnitLeaveScreen) ProtoMessage ¶
func (*SCUnitLeaveScreen) ProtoMessage()
func (*SCUnitLeaveScreen) ProtoReflect ¶
func (x *SCUnitLeaveScreen) ProtoReflect() protoreflect.Message
func (*SCUnitLeaveScreen) Reset ¶
func (x *SCUnitLeaveScreen) Reset()
func (*SCUnitLeaveScreen) String ¶
func (x *SCUnitLeaveScreen) String() string
func (*SCUnitLeaveScreen) Validate ¶
func (m *SCUnitLeaveScreen) Validate() error
Validate checks the field values on SCUnitLeaveScreen with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SCUnitLeaveScreenValidationError ¶
type SCUnitLeaveScreenValidationError struct {
// contains filtered or unexported fields
}
SCUnitLeaveScreenValidationError is the validation error returned by SCUnitLeaveScreen.Validate if the designated constraints aren't met.
func (SCUnitLeaveScreenValidationError) Cause ¶
func (e SCUnitLeaveScreenValidationError) Cause() error
Cause function returns cause value.
func (SCUnitLeaveScreenValidationError) Error ¶
func (e SCUnitLeaveScreenValidationError) Error() string
Error satisfies the builtin error interface
func (SCUnitLeaveScreenValidationError) ErrorName ¶
func (e SCUnitLeaveScreenValidationError) ErrorName() string
ErrorName returns error name.
func (SCUnitLeaveScreenValidationError) Field ¶
func (e SCUnitLeaveScreenValidationError) Field() string
Field function returns field value.
func (SCUnitLeaveScreenValidationError) Key ¶
func (e SCUnitLeaveScreenValidationError) Key() bool
Key function returns key value.
func (SCUnitLeaveScreenValidationError) Reason ¶
func (e SCUnitLeaveScreenValidationError) Reason() string
Reason function returns reason value.
type SceneHeartbeat ¶
type SceneHeartbeat struct { Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*SceneHeartbeat) Descriptor
deprecated
func (*SceneHeartbeat) Descriptor() ([]byte, []int)
Deprecated: Use SceneHeartbeat.ProtoReflect.Descriptor instead.
func (*SceneHeartbeat) GetTime ¶
func (x *SceneHeartbeat) GetTime() int64
func (*SceneHeartbeat) ProtoMessage ¶
func (*SceneHeartbeat) ProtoMessage()
func (*SceneHeartbeat) ProtoReflect ¶
func (x *SceneHeartbeat) ProtoReflect() protoreflect.Message
func (*SceneHeartbeat) Reset ¶
func (x *SceneHeartbeat) Reset()
func (*SceneHeartbeat) String ¶
func (x *SceneHeartbeat) String() string
func (*SceneHeartbeat) Validate ¶
func (m *SceneHeartbeat) Validate() error
Validate checks the field values on SceneHeartbeat with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SceneHeartbeatValidationError ¶
type SceneHeartbeatValidationError struct {
// contains filtered or unexported fields
}
SceneHeartbeatValidationError is the validation error returned by SceneHeartbeat.Validate if the designated constraints aren't met.
func (SceneHeartbeatValidationError) Cause ¶
func (e SceneHeartbeatValidationError) Cause() error
Cause function returns cause value.
func (SceneHeartbeatValidationError) Error ¶
func (e SceneHeartbeatValidationError) Error() string
Error satisfies the builtin error interface
func (SceneHeartbeatValidationError) ErrorName ¶
func (e SceneHeartbeatValidationError) ErrorName() string
ErrorName returns error name.
func (SceneHeartbeatValidationError) Field ¶
func (e SceneHeartbeatValidationError) Field() string
Field function returns field value.
func (SceneHeartbeatValidationError) Key ¶
func (e SceneHeartbeatValidationError) Key() bool
Key function returns key value.
func (SceneHeartbeatValidationError) Reason ¶
func (e SceneHeartbeatValidationError) Reason() string
Reason function returns reason value.
type SceneMsgData ¶ added in v1.4.1
type SceneMsgData struct { SceneID uint32 `protobuf:"varint,1,opt,name=SceneID,proto3" json:"SceneID,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"` // contains filtered or unexported fields }
func (*SceneMsgData) Descriptor
deprecated
added in
v1.4.1
func (*SceneMsgData) Descriptor() ([]byte, []int)
Deprecated: Use SceneMsgData.ProtoReflect.Descriptor instead.
func (*SceneMsgData) GetData ¶ added in v1.4.1
func (x *SceneMsgData) GetData() []byte
func (*SceneMsgData) GetSceneID ¶ added in v1.4.1
func (x *SceneMsgData) GetSceneID() uint32
func (*SceneMsgData) ProtoMessage ¶ added in v1.4.1
func (*SceneMsgData) ProtoMessage()
func (*SceneMsgData) ProtoReflect ¶ added in v1.4.1
func (x *SceneMsgData) ProtoReflect() protoreflect.Message
func (*SceneMsgData) Reset ¶ added in v1.4.1
func (x *SceneMsgData) Reset()
func (*SceneMsgData) String ¶ added in v1.4.1
func (x *SceneMsgData) String() string
func (*SceneMsgData) Validate ¶ added in v1.4.1
func (m *SceneMsgData) Validate() error
Validate checks the field values on SceneMsgData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SceneMsgDataValidationError ¶ added in v1.4.1
type SceneMsgDataValidationError struct {
// contains filtered or unexported fields
}
SceneMsgDataValidationError is the validation error returned by SceneMsgData.Validate if the designated constraints aren't met.
func (SceneMsgDataValidationError) Cause ¶ added in v1.4.1
func (e SceneMsgDataValidationError) Cause() error
Cause function returns cause value.
func (SceneMsgDataValidationError) Error ¶ added in v1.4.1
func (e SceneMsgDataValidationError) Error() string
Error satisfies the builtin error interface
func (SceneMsgDataValidationError) ErrorName ¶ added in v1.4.1
func (e SceneMsgDataValidationError) ErrorName() string
ErrorName returns error name.
func (SceneMsgDataValidationError) Field ¶ added in v1.4.1
func (e SceneMsgDataValidationError) Field() string
Field function returns field value.
func (SceneMsgDataValidationError) Key ¶ added in v1.4.1
func (e SceneMsgDataValidationError) Key() bool
Key function returns key value.
func (SceneMsgDataValidationError) Reason ¶ added in v1.4.1
func (e SceneMsgDataValidationError) Reason() string
Reason function returns reason value.