scene

package
v1.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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

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

Field function returns field value.

func (AoiMsgDataValidationError) Key added in v1.4.1

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

Cause function returns cause value.

func (CSCanJoinSceneValidationError) Error

Error satisfies the builtin error interface

func (CSCanJoinSceneValidationError) ErrorName

func (e CSCanJoinSceneValidationError) ErrorName() string

ErrorName returns error name.

func (CSCanJoinSceneValidationError) Field

Field function returns field value.

func (CSCanJoinSceneValidationError) Key

Key function returns key value.

func (CSCanJoinSceneValidationError) Reason

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

Cause function returns cause value.

func (CSJoinSceneValidationError) Error

Error satisfies the builtin error interface

func (CSJoinSceneValidationError) ErrorName

func (e CSJoinSceneValidationError) ErrorName() string

ErrorName returns error name.

func (CSJoinSceneValidationError) Field

Field function returns field value.

func (CSJoinSceneValidationError) Key

Key function returns key value.

func (CSJoinSceneValidationError) Reason

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

Cause function returns cause value.

func (CSLeaveSceneValidationError) Error

Error satisfies the builtin error interface

func (CSLeaveSceneValidationError) ErrorName

func (e CSLeaveSceneValidationError) ErrorName() string

ErrorName returns error name.

func (CSLeaveSceneValidationError) Field

Field function returns field value.

func (CSLeaveSceneValidationError) Key

Key function returns key value.

func (CSLeaveSceneValidationError) Reason

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

Cause function returns cause value.

func (JoinSceneDataValidationError) Error added in v1.4.1

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

Field function returns field value.

func (JoinSceneDataValidationError) Key added in v1.4.1

Key function returns key value.

func (JoinSceneDataValidationError) Reason added in v1.4.1

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) Enum

func (x JoinSceneError) Enum() *JoinSceneError

func (JoinSceneError) EnumDescriptor deprecated

func (JoinSceneError) EnumDescriptor() ([]byte, []int)

Deprecated: Use JoinSceneError.Descriptor instead.

func (JoinSceneError) Number

func (JoinSceneError) String

func (x JoinSceneError) String() string

func (JoinSceneError) Type

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

Cause function returns cause value.

func (SCCanJoinSceneValidationError) Error

Error satisfies the builtin error interface

func (SCCanJoinSceneValidationError) ErrorName

func (e SCCanJoinSceneValidationError) ErrorName() string

ErrorName returns error name.

func (SCCanJoinSceneValidationError) Field

Field function returns field value.

func (SCCanJoinSceneValidationError) Key

Key function returns key value.

func (SCCanJoinSceneValidationError) Reason

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

Cause function returns cause value.

func (SCJoinSceneErrorValidationError) Error

Error satisfies the builtin error interface

func (SCJoinSceneErrorValidationError) ErrorName

ErrorName returns error name.

func (SCJoinSceneErrorValidationError) Field

Field function returns field value.

func (SCJoinSceneErrorValidationError) Key

Key function returns key value.

func (SCJoinSceneErrorValidationError) Reason

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

Cause function returns cause value.

func (SCJoinSceneValidationError) Error

Error satisfies the builtin error interface

func (SCJoinSceneValidationError) ErrorName

func (e SCJoinSceneValidationError) ErrorName() string

ErrorName returns error name.

func (SCJoinSceneValidationError) Field

Field function returns field value.

func (SCJoinSceneValidationError) Key

Key function returns key value.

func (SCJoinSceneValidationError) Reason

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

Cause function returns cause value.

func (SCLeaveSceneValidationError) Error

Error satisfies the builtin error interface

func (SCLeaveSceneValidationError) ErrorName

func (e SCLeaveSceneValidationError) ErrorName() string

ErrorName returns error name.

func (SCLeaveSceneValidationError) Field

Field function returns field value.

func (SCLeaveSceneValidationError) Key

Key function returns key value.

func (SCLeaveSceneValidationError) Reason

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

Cause function returns cause value.

func (SCPlayerEnterScreenValidationError) Error

Error satisfies the builtin error interface

func (SCPlayerEnterScreenValidationError) ErrorName

ErrorName returns error name.

func (SCPlayerEnterScreenValidationError) Field

Field function returns field value.

func (SCPlayerEnterScreenValidationError) Key

Key function returns key value.

func (SCPlayerEnterScreenValidationError) Reason

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

Cause function returns cause value.

func (SCPlayerJoinSceneValidationError) Error

Error satisfies the builtin error interface

func (SCPlayerJoinSceneValidationError) ErrorName

ErrorName returns error name.

func (SCPlayerJoinSceneValidationError) Field

Field function returns field value.

func (SCPlayerJoinSceneValidationError) Key

Key function returns key value.

func (SCPlayerJoinSceneValidationError) Reason

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

Cause function returns cause value.

func (SCPlayerLeaveScreenValidationError) Error

Error satisfies the builtin error interface

func (SCPlayerLeaveScreenValidationError) ErrorName

ErrorName returns error name.

func (SCPlayerLeaveScreenValidationError) Field

Field function returns field value.

func (SCPlayerLeaveScreenValidationError) Key

Key function returns key value.

func (SCPlayerLeaveScreenValidationError) Reason

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

Cause function returns cause value.

func (SCSyncUnitsInfoValidationError) Error

Error satisfies the builtin error interface

func (SCSyncUnitsInfoValidationError) ErrorName

func (e SCSyncUnitsInfoValidationError) ErrorName() string

ErrorName returns error name.

func (SCSyncUnitsInfoValidationError) Field

Field function returns field value.

func (SCSyncUnitsInfoValidationError) Key

Key function returns key value.

func (SCSyncUnitsInfoValidationError) Reason

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 (*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

Cause function returns cause value.

func (SCUnitEnterScreenValidationError) Error

Error satisfies the builtin error interface

func (SCUnitEnterScreenValidationError) ErrorName

ErrorName returns error name.

func (SCUnitEnterScreenValidationError) Field

Field function returns field value.

func (SCUnitEnterScreenValidationError) Key

Key function returns key value.

func (SCUnitEnterScreenValidationError) Reason

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

Cause function returns cause value.

func (SCUnitInfoUpdateValidationError) Error

Error satisfies the builtin error interface

func (SCUnitInfoUpdateValidationError) ErrorName

ErrorName returns error name.

func (SCUnitInfoUpdateValidationError) Field

Field function returns field value.

func (SCUnitInfoUpdateValidationError) Key

Key function returns key value.

func (SCUnitInfoUpdateValidationError) Reason

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

Cause function returns cause value.

func (SCUnitLeaveScreenValidationError) Error

Error satisfies the builtin error interface

func (SCUnitLeaveScreenValidationError) ErrorName

ErrorName returns error name.

func (SCUnitLeaveScreenValidationError) Field

Field function returns field value.

func (SCUnitLeaveScreenValidationError) Key

Key function returns key value.

func (SCUnitLeaveScreenValidationError) Reason

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

Cause function returns cause value.

func (SceneHeartbeatValidationError) Error

Error satisfies the builtin error interface

func (SceneHeartbeatValidationError) ErrorName

func (e SceneHeartbeatValidationError) ErrorName() string

ErrorName returns error name.

func (SceneHeartbeatValidationError) Field

Field function returns field value.

func (SceneHeartbeatValidationError) Key

Key function returns key value.

func (SceneHeartbeatValidationError) Reason

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

Cause function returns cause value.

func (SceneMsgDataValidationError) Error added in v1.4.1

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

Field function returns field value.

func (SceneMsgDataValidationError) Key added in v1.4.1

Key function returns key value.

func (SceneMsgDataValidationError) Reason added in v1.4.1

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL