server_common

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ActionParseType_name = map[int32]string{
		0: "Nothing",
		1: "HoldDishes",
		2: "EatDishes",
	}
	ActionParseType_value = map[string]int32{
		"Nothing":    0,
		"HoldDishes": 1,
		"EatDishes":  2,
	}
)

Enum value maps for ActionParseType.

View Source
var (
	InterObjStatus_name = map[int32]string{
		0: "ObjectNormal",
		1: "ObjectHarvest",
	}
	InterObjStatus_value = map[string]int32{
		"ObjectNormal":  0,
		"ObjectHarvest": 1,
	}
)

Enum value maps for InterObjStatus.

View Source
var (
	KickReason_name = map[int32]string{
		0: "UNKNOWN",
		1: "indulgeStop",
		2: "RemoteLogin",
		3: "ServerClose",
		4: "GM",
		5: "RefundPay",
		6: "NoResponse",
	}
	KickReason_value = map[string]int32{
		"UNKNOWN":     0,
		"indulgeStop": 1,
		"RemoteLogin": 2,
		"ServerClose": 3,
		"GM":          4,
		"RefundPay":   5,
		"NoResponse":  6,
	}
)

Enum value maps for KickReason.

View Source
var (
	ServerCategory_name = map[int32]string{
		0: "Undefined",
		1: "Login",
		2: "Gateway",
		3: "World",
		4: "DB",
	}
	ServerCategory_value = map[string]int32{
		"Undefined": 0,
		"Login":     1,
		"Gateway":   2,
		"World":     3,
		"DB":        4,
	}
)

Enum value maps for ServerCategory.

View Source
var (
	ServerRegisterStatus_name = map[int32]string{
		0: "Fail",
		1: "OK",
		2: "Unknown",
	}
	ServerRegisterStatus_value = map[string]int32{
		"Fail":    0,
		"OK":      1,
		"Unknown": 2,
	}
)

Enum value maps for ServerRegisterStatus.

View Source
var (
	GameType_name = map[int32]string{
		0: "GNone",
	}
	GameType_value = map[string]int32{
		"GNone": 0,
	}
)

Enum value maps for GameType.

View Source
var File_sever_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ActionData

type ActionData struct {
	ActionState     uint32 `protobuf:"varint,1,opt,name=actionState,proto3" json:"actionState,omitempty"`         // 动作枚举值
	ActionStartTime int64  `protobuf:"varint,2,opt,name=actionStartTime,proto3" json:"actionStartTime,omitempty"` // 动作开始时间
	Param           string `protobuf:"bytes,3,opt,name=param,proto3" json:"param,omitempty"`                      // 参数
	// contains filtered or unexported fields
}

func (*ActionData) Descriptor deprecated

func (*ActionData) Descriptor() ([]byte, []int)

Deprecated: Use ActionData.ProtoReflect.Descriptor instead.

func (*ActionData) GetActionStartTime

func (x *ActionData) GetActionStartTime() int64

func (*ActionData) GetActionState

func (x *ActionData) GetActionState() uint32

func (*ActionData) GetParam

func (x *ActionData) GetParam() string

func (*ActionData) ProtoMessage

func (*ActionData) ProtoMessage()

func (*ActionData) ProtoReflect

func (x *ActionData) ProtoReflect() protoreflect.Message

func (*ActionData) Reset

func (x *ActionData) Reset()

func (*ActionData) String

func (x *ActionData) String() string

func (*ActionData) Validate

func (m *ActionData) Validate() error

Validate checks the field values on ActionData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ActionDataValidationError

type ActionDataValidationError struct {
	// contains filtered or unexported fields
}

ActionDataValidationError is the validation error returned by ActionData.Validate if the designated constraints aren't met.

func (ActionDataValidationError) Cause

func (e ActionDataValidationError) Cause() error

Cause function returns cause value.

func (ActionDataValidationError) Error

Error satisfies the builtin error interface

func (ActionDataValidationError) ErrorName

func (e ActionDataValidationError) ErrorName() string

ErrorName returns error name.

func (ActionDataValidationError) Field

Field function returns field value.

func (ActionDataValidationError) Key

Key function returns key value.

func (ActionDataValidationError) Reason

func (e ActionDataValidationError) Reason() string

Reason function returns reason value.

type ActionParseType

type ActionParseType int32
const (
	ActionParseType_Nothing    ActionParseType = 0
	ActionParseType_HoldDishes ActionParseType = 1 // 举菜
	ActionParseType_EatDishes  ActionParseType = 2 // 吃菜
)

func (ActionParseType) Descriptor

func (ActionParseType) Enum

func (x ActionParseType) Enum() *ActionParseType

func (ActionParseType) EnumDescriptor deprecated

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

Deprecated: Use ActionParseType.Descriptor instead.

func (ActionParseType) Number

func (ActionParseType) String

func (x ActionParseType) String() string

func (ActionParseType) Type

type BroadcastMsgData added in v1.4.1

type BroadcastMsgData struct {
	MessageId uint64 `protobuf:"varint,1,opt,name=MessageId,proto3" json:"MessageId,omitempty"`
	Msg       []byte `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
	// contains filtered or unexported fields
}

func (*BroadcastMsgData) Descriptor deprecated added in v1.4.1

func (*BroadcastMsgData) Descriptor() ([]byte, []int)

Deprecated: Use BroadcastMsgData.ProtoReflect.Descriptor instead.

func (*BroadcastMsgData) GetMessageId added in v1.4.1

func (x *BroadcastMsgData) GetMessageId() uint64

func (*BroadcastMsgData) GetMsg added in v1.4.1

func (x *BroadcastMsgData) GetMsg() []byte

func (*BroadcastMsgData) ProtoMessage added in v1.4.1

func (*BroadcastMsgData) ProtoMessage()

func (*BroadcastMsgData) ProtoReflect added in v1.4.1

func (x *BroadcastMsgData) ProtoReflect() protoreflect.Message

func (*BroadcastMsgData) Reset added in v1.4.1

func (x *BroadcastMsgData) Reset()

func (*BroadcastMsgData) String added in v1.4.1

func (x *BroadcastMsgData) String() string

func (*BroadcastMsgData) Validate added in v1.4.1

func (m *BroadcastMsgData) Validate() error

Validate checks the field values on BroadcastMsgData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type BroadcastMsgDataValidationError added in v1.4.1

type BroadcastMsgDataValidationError struct {
	// contains filtered or unexported fields
}

BroadcastMsgDataValidationError is the validation error returned by BroadcastMsgData.Validate if the designated constraints aren't met.

func (BroadcastMsgDataValidationError) Cause added in v1.4.1

Cause function returns cause value.

func (BroadcastMsgDataValidationError) Error added in v1.4.1

Error satisfies the builtin error interface

func (BroadcastMsgDataValidationError) ErrorName added in v1.4.1

ErrorName returns error name.

func (BroadcastMsgDataValidationError) Field added in v1.4.1

Field function returns field value.

func (BroadcastMsgDataValidationError) Key added in v1.4.1

Key function returns key value.

func (BroadcastMsgDataValidationError) Reason added in v1.4.1

Reason function returns reason value.

type CreateGame added in v1.4.3

type CreateGame struct {
	SceneId       int32    `protobuf:"varint,1,opt,name=sceneId,proto3" json:"sceneId,omitempty"`
	PlayerId      uint64   `protobuf:"varint,2,opt,name=playerId,proto3" json:"playerId,omitempty"`
	WorldServerId string   `protobuf:"bytes,3,opt,name=worldServerId,proto3" json:"worldServerId,omitempty"`
	GameType      GameType `protobuf:"varint,4,opt,name=gameType,proto3,enum=ServerCommon.GameType" json:"gameType,omitempty"`
	GameId        uint64   `protobuf:"varint,5,opt,name=gameId,proto3" json:"gameId,omitempty"`
	Name          string   `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	Nick          string   `protobuf:"bytes,8,opt,name=nick,proto3" json:"nick,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGame) Descriptor deprecated added in v1.4.3

func (*CreateGame) Descriptor() ([]byte, []int)

Deprecated: Use CreateGame.ProtoReflect.Descriptor instead.

func (*CreateGame) GetGameId added in v1.4.3

func (x *CreateGame) GetGameId() uint64

func (*CreateGame) GetGameType added in v1.4.3

func (x *CreateGame) GetGameType() GameType

func (*CreateGame) GetName added in v1.4.3

func (x *CreateGame) GetName() string

func (*CreateGame) GetNick added in v1.4.3

func (x *CreateGame) GetNick() string

func (*CreateGame) GetPlayerId added in v1.4.3

func (x *CreateGame) GetPlayerId() uint64

func (*CreateGame) GetSceneId added in v1.4.3

func (x *CreateGame) GetSceneId() int32

func (*CreateGame) GetWorldServerId added in v1.4.3

func (x *CreateGame) GetWorldServerId() string

func (*CreateGame) ProtoMessage added in v1.4.3

func (*CreateGame) ProtoMessage()

func (*CreateGame) ProtoReflect added in v1.4.3

func (x *CreateGame) ProtoReflect() protoreflect.Message

func (*CreateGame) Reset added in v1.4.3

func (x *CreateGame) Reset()

func (*CreateGame) String added in v1.4.3

func (x *CreateGame) String() string

func (*CreateGame) Validate added in v1.4.3

func (m *CreateGame) Validate() error

Validate checks the field values on CreateGame with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateGameRet added in v1.4.3

type CreateGameRet struct {
	Result   uint32 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	PlayerId uint64 `protobuf:"varint,2,opt,name=playerId,proto3" json:"playerId,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGameRet) Descriptor deprecated added in v1.4.3

func (*CreateGameRet) Descriptor() ([]byte, []int)

Deprecated: Use CreateGameRet.ProtoReflect.Descriptor instead.

func (*CreateGameRet) GetPlayerId added in v1.4.3

func (x *CreateGameRet) GetPlayerId() uint64

func (*CreateGameRet) GetResult added in v1.4.3

func (x *CreateGameRet) GetResult() uint32

func (*CreateGameRet) ProtoMessage added in v1.4.3

func (*CreateGameRet) ProtoMessage()

func (*CreateGameRet) ProtoReflect added in v1.4.3

func (x *CreateGameRet) ProtoReflect() protoreflect.Message

func (*CreateGameRet) Reset added in v1.4.3

func (x *CreateGameRet) Reset()

func (*CreateGameRet) String added in v1.4.3

func (x *CreateGameRet) String() string

func (*CreateGameRet) Validate added in v1.4.3

func (m *CreateGameRet) Validate() error

Validate checks the field values on CreateGameRet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateGameRetValidationError added in v1.4.3

type CreateGameRetValidationError struct {
	// contains filtered or unexported fields
}

CreateGameRetValidationError is the validation error returned by CreateGameRet.Validate if the designated constraints aren't met.

func (CreateGameRetValidationError) Cause added in v1.4.3

Cause function returns cause value.

func (CreateGameRetValidationError) Error added in v1.4.3

Error satisfies the builtin error interface

func (CreateGameRetValidationError) ErrorName added in v1.4.3

func (e CreateGameRetValidationError) ErrorName() string

ErrorName returns error name.

func (CreateGameRetValidationError) Field added in v1.4.3

Field function returns field value.

func (CreateGameRetValidationError) Key added in v1.4.3

Key function returns key value.

func (CreateGameRetValidationError) Reason added in v1.4.3

Reason function returns reason value.

type CreateGameValidationError added in v1.4.3

type CreateGameValidationError struct {
	// contains filtered or unexported fields
}

CreateGameValidationError is the validation error returned by CreateGame.Validate if the designated constraints aren't met.

func (CreateGameValidationError) Cause added in v1.4.3

func (e CreateGameValidationError) Cause() error

Cause function returns cause value.

func (CreateGameValidationError) Error added in v1.4.3

Error satisfies the builtin error interface

func (CreateGameValidationError) ErrorName added in v1.4.3

func (e CreateGameValidationError) ErrorName() string

ErrorName returns error name.

func (CreateGameValidationError) Field added in v1.4.3

Field function returns field value.

func (CreateGameValidationError) Key added in v1.4.3

Key function returns key value.

func (CreateGameValidationError) Reason added in v1.4.3

func (e CreateGameValidationError) Reason() string

Reason function returns reason value.

type GameMsgData added in v1.4.1

type GameMsgData struct {
	PlayerID uint64 `protobuf:"varint,1,opt,name=PlayerID,proto3" json:"PlayerID,omitempty"`
	ServerID string `protobuf:"bytes,2,opt,name=ServerID,proto3" json:"ServerID,omitempty"`
	Data     []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*GameMsgData) Descriptor deprecated added in v1.4.1

func (*GameMsgData) Descriptor() ([]byte, []int)

Deprecated: Use GameMsgData.ProtoReflect.Descriptor instead.

func (*GameMsgData) GetData added in v1.4.1

func (x *GameMsgData) GetData() []byte

func (*GameMsgData) GetPlayerID added in v1.4.1

func (x *GameMsgData) GetPlayerID() uint64

func (*GameMsgData) GetServerID added in v1.4.1

func (x *GameMsgData) GetServerID() string

func (*GameMsgData) ProtoMessage added in v1.4.1

func (*GameMsgData) ProtoMessage()

func (*GameMsgData) ProtoReflect added in v1.4.1

func (x *GameMsgData) ProtoReflect() protoreflect.Message

func (*GameMsgData) Reset added in v1.4.1

func (x *GameMsgData) Reset()

func (*GameMsgData) String added in v1.4.1

func (x *GameMsgData) String() string

func (*GameMsgData) Validate added in v1.4.1

func (m *GameMsgData) Validate() error

Validate checks the field values on GameMsgData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GameMsgDataValidationError added in v1.4.1

type GameMsgDataValidationError struct {
	// contains filtered or unexported fields
}

GameMsgDataValidationError is the validation error returned by GameMsgData.Validate if the designated constraints aren't met.

func (GameMsgDataValidationError) Cause added in v1.4.1

Cause function returns cause value.

func (GameMsgDataValidationError) Error added in v1.4.1

Error satisfies the builtin error interface

func (GameMsgDataValidationError) ErrorName added in v1.4.1

func (e GameMsgDataValidationError) ErrorName() string

ErrorName returns error name.

func (GameMsgDataValidationError) Field added in v1.4.1

Field function returns field value.

func (GameMsgDataValidationError) Key added in v1.4.1

Key function returns key value.

func (GameMsgDataValidationError) Reason added in v1.4.1

Reason function returns reason value.

type GameType added in v1.4.3

type GameType int32
const (
	GameType_GNone GameType = 0
)

func (GameType) Descriptor added in v1.4.3

func (GameType) Descriptor() protoreflect.EnumDescriptor

func (GameType) Enum added in v1.4.3

func (x GameType) Enum() *GameType

func (GameType) EnumDescriptor deprecated added in v1.4.3

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

Deprecated: Use GameType.Descriptor instead.

func (GameType) Number added in v1.4.3

func (x GameType) Number() protoreflect.EnumNumber

func (GameType) String added in v1.4.3

func (x GameType) String() string

func (GameType) Type added in v1.4.3

type GatewayForwardPacket added in v1.3.1

type GatewayForwardPacket struct {
	Userid       uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"`
	PlayerNumber int32  `protobuf:"varint,2,opt,name=playerNumber,proto3" json:"playerNumber,omitempty"`
	Data         []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayForwardPacket) Descriptor deprecated added in v1.3.1

func (*GatewayForwardPacket) Descriptor() ([]byte, []int)

Deprecated: Use GatewayForwardPacket.ProtoReflect.Descriptor instead.

func (*GatewayForwardPacket) GetData added in v1.3.1

func (x *GatewayForwardPacket) GetData() []byte

func (*GatewayForwardPacket) GetPlayerNumber added in v1.3.1

func (x *GatewayForwardPacket) GetPlayerNumber() int32

func (*GatewayForwardPacket) GetUserid added in v1.3.1

func (x *GatewayForwardPacket) GetUserid() uint64

func (*GatewayForwardPacket) ProtoMessage added in v1.3.1

func (*GatewayForwardPacket) ProtoMessage()

func (*GatewayForwardPacket) ProtoReflect added in v1.3.1

func (x *GatewayForwardPacket) ProtoReflect() protoreflect.Message

func (*GatewayForwardPacket) Reset added in v1.3.1

func (x *GatewayForwardPacket) Reset()

func (*GatewayForwardPacket) String added in v1.3.1

func (x *GatewayForwardPacket) String() string

func (*GatewayForwardPacket) Validate added in v1.3.1

func (m *GatewayForwardPacket) Validate() error

Validate checks the field values on GatewayForwardPacket with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GatewayForwardPacketValidationError added in v1.3.1

type GatewayForwardPacketValidationError struct {
	// contains filtered or unexported fields
}

GatewayForwardPacketValidationError is the validation error returned by GatewayForwardPacket.Validate if the designated constraints aren't met.

func (GatewayForwardPacketValidationError) Cause added in v1.3.1

Cause function returns cause value.

func (GatewayForwardPacketValidationError) Error added in v1.3.1

Error satisfies the builtin error interface

func (GatewayForwardPacketValidationError) ErrorName added in v1.3.1

ErrorName returns error name.

func (GatewayForwardPacketValidationError) Field added in v1.3.1

Field function returns field value.

func (GatewayForwardPacketValidationError) Key added in v1.3.1

Key function returns key value.

func (GatewayForwardPacketValidationError) Reason added in v1.3.1

Reason function returns reason value.

type InterObjStatus

type InterObjStatus int32
const (
	InterObjStatus_ObjectNormal  InterObjStatus = 0 // 正常
	InterObjStatus_ObjectHarvest InterObjStatus = 1 // 成熟
)

func (InterObjStatus) Descriptor

func (InterObjStatus) Enum

func (x InterObjStatus) Enum() *InterObjStatus

func (InterObjStatus) EnumDescriptor deprecated

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

Deprecated: Use InterObjStatus.Descriptor instead.

func (InterObjStatus) Number

func (InterObjStatus) String

func (x InterObjStatus) String() string

func (InterObjStatus) Type

type InteractiveObj

type InteractiveObj struct {
	Id        uint64         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                           // 唯一id
	TypeId    uint32         `protobuf:"varint,2,opt,name=typeId,proto3" json:"typeId,omitempty"`                                   // 配表id
	PosX      float32        `protobuf:"fixed32,3,opt,name=posX,proto3" json:"posX,omitempty"`                                      // x坐标
	PosY      float32        `protobuf:"fixed32,4,opt,name=posY,proto3" json:"posY,omitempty"`                                      // y坐标
	PosZ      float32        `protobuf:"fixed32,5,opt,name=posZ,proto3" json:"posZ,omitempty"`                                      // z坐标
	RotateX   float32        `protobuf:"fixed32,6,opt,name=rotateX,proto3" json:"rotateX,omitempty"`                                // 旋转x
	RotateY   float32        `protobuf:"fixed32,7,opt,name=rotateY,proto3" json:"rotateY,omitempty"`                                // 旋转y
	RotateZ   float32        `protobuf:"fixed32,8,opt,name=rotateZ,proto3" json:"rotateZ,omitempty"`                                // 旋转z
	JumpScene uint32         `protobuf:"varint,9,opt,name=jumpScene,proto3" json:"jumpScene,omitempty"`                             // 跳转场景id(传送门数据)
	JumpBirth int32          `protobuf:"varint,10,opt,name=jumpBirth,proto3" json:"jumpBirth,omitempty"`                            // 跳转场景的出生点ID
	Players   []uint64       `protobuf:"varint,11,rep,packed,name=players,proto3" json:"players,omitempty"`                         // 正在交互的玩家
	LocalData string         `protobuf:"bytes,12,opt,name=localData,proto3" json:"localData,omitempty"`                             // 编辑器自定义数据
	IsRes     bool           `protobuf:"varint,13,opt,name=isRes,proto3" json:"isRes,omitempty"`                                    // 是否是资源类型
	InterType uint32         `protobuf:"varint,14,opt,name=interType,proto3" json:"interType,omitempty"`                            // 交互类型
	SubPosX   float32        `protobuf:"fixed32,15,opt,name=subPosX,proto3" json:"subPosX,omitempty"`                               // x坐标
	SubPosY   float32        `protobuf:"fixed32,16,opt,name=subPosY,proto3" json:"subPosY,omitempty"`                               // y坐标
	SubPosZ   float32        `protobuf:"fixed32,17,opt,name=subPosZ,proto3" json:"subPosZ,omitempty"`                               // z坐标
	Count     uint32         `protobuf:"varint,18,opt,name=count,proto3" json:"count,omitempty"`                                    // 交互次数
	LastTime  int64          `protobuf:"varint,19,opt,name=lastTime,proto3" json:"lastTime,omitempty"`                              // 上一次交互的时间戳
	Status    InterObjStatus `protobuf:"varint,20,opt,name=status,proto3,enum=ServerCommon.InterObjStatus" json:"status,omitempty"` // 状态
	AreaID    int32          `protobuf:"varint,21,opt,name=areaID,proto3" json:"areaID,omitempty"`                                  // 区域ID
	ZoomX     float32        `protobuf:"fixed32,22,opt,name=zoomX,proto3" json:"zoomX,omitempty"`                                   // 缩放x
	ZoomY     float32        `protobuf:"fixed32,23,opt,name=zoomY,proto3" json:"zoomY,omitempty"`                                   // 缩放y
	ZoomZ     float32        `protobuf:"fixed32,24,opt,name=zoomZ,proto3" json:"zoomZ,omitempty"`                                   // 缩放z
	TagID     int32          `protobuf:"varint,25,opt,name=tagID,proto3" json:"tagID,omitempty"`                                    // 标记ID
	Index     int32          `protobuf:"varint,26,opt,name=index,proto3" json:"index,omitempty"`                                    // 序号
	GroupID   int32          `protobuf:"varint,27,opt,name=groupID,proto3" json:"groupID,omitempty"`                                // 组号
	Params    string         `protobuf:"bytes,28,opt,name=params,proto3" json:"params,omitempty"`                                   // 自定义数据
	Owner     uint64         `protobuf:"varint,29,opt,name=owner,proto3" json:"owner,omitempty"`                                    // 拥有者id
	// contains filtered or unexported fields
}

func (*InteractiveObj) Descriptor deprecated

func (*InteractiveObj) Descriptor() ([]byte, []int)

Deprecated: Use InteractiveObj.ProtoReflect.Descriptor instead.

func (*InteractiveObj) GetAreaID

func (x *InteractiveObj) GetAreaID() int32

func (*InteractiveObj) GetCount

func (x *InteractiveObj) GetCount() uint32

func (*InteractiveObj) GetGroupID

func (x *InteractiveObj) GetGroupID() int32

func (*InteractiveObj) GetId

func (x *InteractiveObj) GetId() uint64

func (*InteractiveObj) GetIndex

func (x *InteractiveObj) GetIndex() int32

func (*InteractiveObj) GetInterType

func (x *InteractiveObj) GetInterType() uint32

func (*InteractiveObj) GetIsRes

func (x *InteractiveObj) GetIsRes() bool

func (*InteractiveObj) GetJumpBirth

func (x *InteractiveObj) GetJumpBirth() int32

func (*InteractiveObj) GetJumpScene

func (x *InteractiveObj) GetJumpScene() uint32

func (*InteractiveObj) GetLastTime

func (x *InteractiveObj) GetLastTime() int64

func (*InteractiveObj) GetLocalData

func (x *InteractiveObj) GetLocalData() string

func (*InteractiveObj) GetOwner

func (x *InteractiveObj) GetOwner() uint64

func (*InteractiveObj) GetParams

func (x *InteractiveObj) GetParams() string

func (*InteractiveObj) GetPlayers

func (x *InteractiveObj) GetPlayers() []uint64

func (*InteractiveObj) GetPosX

func (x *InteractiveObj) GetPosX() float32

func (*InteractiveObj) GetPosY

func (x *InteractiveObj) GetPosY() float32

func (*InteractiveObj) GetPosZ

func (x *InteractiveObj) GetPosZ() float32

func (*InteractiveObj) GetRotateX

func (x *InteractiveObj) GetRotateX() float32

func (*InteractiveObj) GetRotateY

func (x *InteractiveObj) GetRotateY() float32

func (*InteractiveObj) GetRotateZ

func (x *InteractiveObj) GetRotateZ() float32

func (*InteractiveObj) GetStatus

func (x *InteractiveObj) GetStatus() InterObjStatus

func (*InteractiveObj) GetSubPosX

func (x *InteractiveObj) GetSubPosX() float32

func (*InteractiveObj) GetSubPosY

func (x *InteractiveObj) GetSubPosY() float32

func (*InteractiveObj) GetSubPosZ

func (x *InteractiveObj) GetSubPosZ() float32

func (*InteractiveObj) GetTagID

func (x *InteractiveObj) GetTagID() int32

func (*InteractiveObj) GetTypeId

func (x *InteractiveObj) GetTypeId() uint32

func (*InteractiveObj) GetZoomX

func (x *InteractiveObj) GetZoomX() float32

func (*InteractiveObj) GetZoomY

func (x *InteractiveObj) GetZoomY() float32

func (*InteractiveObj) GetZoomZ

func (x *InteractiveObj) GetZoomZ() float32

func (*InteractiveObj) ProtoMessage

func (*InteractiveObj) ProtoMessage()

func (*InteractiveObj) ProtoReflect

func (x *InteractiveObj) ProtoReflect() protoreflect.Message

func (*InteractiveObj) Reset

func (x *InteractiveObj) Reset()

func (*InteractiveObj) String

func (x *InteractiveObj) String() string

func (*InteractiveObj) Validate

func (m *InteractiveObj) Validate() error

Validate checks the field values on InteractiveObj with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type InteractiveObjValidationError

type InteractiveObjValidationError struct {
	// contains filtered or unexported fields
}

InteractiveObjValidationError is the validation error returned by InteractiveObj.Validate if the designated constraints aren't met.

func (InteractiveObjValidationError) Cause

Cause function returns cause value.

func (InteractiveObjValidationError) Error

Error satisfies the builtin error interface

func (InteractiveObjValidationError) ErrorName

func (e InteractiveObjValidationError) ErrorName() string

ErrorName returns error name.

func (InteractiveObjValidationError) Field

Field function returns field value.

func (InteractiveObjValidationError) Key

Key function returns key value.

func (InteractiveObjValidationError) Reason

Reason function returns reason value.

type KickReason

type KickReason int32
const (
	KickReason_UNKNOWN     KickReason = 0 // 未知原因
	KickReason_indulgeStop KickReason = 1 // 防沉迷
	KickReason_RemoteLogin KickReason = 2 // 异地登录
	KickReason_ServerClose KickReason = 3 // 服务器关闭
	KickReason_GM          KickReason = 4 // GM
	KickReason_RefundPay   KickReason = 5 // 退款
	KickReason_NoResponse  KickReason = 6 // 未响应
)

func (KickReason) Descriptor

func (KickReason) Descriptor() protoreflect.EnumDescriptor

func (KickReason) Enum

func (x KickReason) Enum() *KickReason

func (KickReason) EnumDescriptor deprecated

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

Deprecated: Use KickReason.Descriptor instead.

func (KickReason) Number

func (x KickReason) Number() protoreflect.EnumNumber

func (KickReason) String

func (x KickReason) String() string

func (KickReason) Type

type LimitInfo

type LimitInfo struct {
	Cond      uint32 `protobuf:"varint,1,opt,name=Cond,proto3" json:"Cond,omitempty"`          // 原因
	InReason  string `protobuf:"bytes,2,opt,name=InReason,proto3" json:"InReason,omitempty"`   // 内部原因
	OutReason string `protobuf:"bytes,3,opt,name=OutReason,proto3" json:"OutReason,omitempty"` // 内部原因
	ExpTime   int64  `protobuf:"varint,4,opt,name=ExpTime,proto3" json:"ExpTime,omitempty"`    // 过期时间
	// contains filtered or unexported fields
}

func (*LimitInfo) Descriptor deprecated

func (*LimitInfo) Descriptor() ([]byte, []int)

Deprecated: Use LimitInfo.ProtoReflect.Descriptor instead.

func (*LimitInfo) GetCond

func (x *LimitInfo) GetCond() uint32

func (*LimitInfo) GetExpTime

func (x *LimitInfo) GetExpTime() int64

func (*LimitInfo) GetInReason

func (x *LimitInfo) GetInReason() string

func (*LimitInfo) GetOutReason

func (x *LimitInfo) GetOutReason() string

func (*LimitInfo) ProtoMessage

func (*LimitInfo) ProtoMessage()

func (*LimitInfo) ProtoReflect

func (x *LimitInfo) ProtoReflect() protoreflect.Message

func (*LimitInfo) Reset

func (x *LimitInfo) Reset()

func (*LimitInfo) String

func (x *LimitInfo) String() string

func (*LimitInfo) Validate

func (m *LimitInfo) Validate() error

Validate checks the field values on LimitInfo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LimitInfoValidationError

type LimitInfoValidationError struct {
	// contains filtered or unexported fields
}

LimitInfoValidationError is the validation error returned by LimitInfo.Validate if the designated constraints aren't met.

func (LimitInfoValidationError) Cause

func (e LimitInfoValidationError) Cause() error

Cause function returns cause value.

func (LimitInfoValidationError) Error

func (e LimitInfoValidationError) Error() string

Error satisfies the builtin error interface

func (LimitInfoValidationError) ErrorName

func (e LimitInfoValidationError) ErrorName() string

ErrorName returns error name.

func (LimitInfoValidationError) Field

func (e LimitInfoValidationError) Field() string

Field function returns field value.

func (LimitInfoValidationError) Key

Key function returns key value.

func (LimitInfoValidationError) Reason

func (e LimitInfoValidationError) Reason() string

Reason function returns reason value.

type PlayerBaseInfo

type PlayerBaseInfo struct {
	PlayerId        uint64      `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"`
	CharId          int32       `protobuf:"varint,2,opt,name=charId,proto3" json:"charId,omitempty"`
	Name            string      `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Gold            int32       `protobuf:"varint,4,opt,name=gold,proto3" json:"gold,omitempty"`
	PositionX       float32     `protobuf:"fixed32,5,opt,name=positionX,proto3" json:"positionX,omitempty"`
	PositionY       float32     `protobuf:"fixed32,6,opt,name=positionY,proto3" json:"positionY,omitempty"`
	PositionZ       float32     `protobuf:"fixed32,7,opt,name=positionZ,proto3" json:"positionZ,omitempty"`
	Orientation     float32     `protobuf:"fixed32,8,opt,name=orientation,proto3" json:"orientation,omitempty"`
	Frame           uint32      `protobuf:"varint,9,opt,name=frame,proto3" json:"frame,omitempty"`              // 相框
	Head            uint32      `protobuf:"varint,10,opt,name=head,proto3" json:"head,omitempty"`               // 头像
	HeadUrl         string      `protobuf:"bytes,11,opt,name=HeadUrl,proto3" json:"HeadUrl,omitempty"`          // 自定义头像url
	Model           uint32      `protobuf:"varint,12,opt,name=model,proto3" json:"model,omitempty"`             // 模型
	BubbleFrame     uint32      `protobuf:"varint,13,opt,name=bubbleFrame,proto3" json:"bubbleFrame,omitempty"` // 气泡框
	Coin            int32       `protobuf:"varint,14,opt,name=coin,proto3" json:"coin,omitempty"`               //
	VehicleID       uint64      `protobuf:"varint,15,opt,name=vehicleID,proto3" json:"vehicleID,omitempty"`     // 当前乘坐的载具ID
	ActData         *ActionData `protobuf:"bytes,16,opt,name=actData,proto3" json:"actData,omitempty"`          // 动作
	VipLevel        uint32      `protobuf:"varint,17,opt,name=vipLevel,proto3" json:"vipLevel,omitempty"`       // vip lv
	Exp             int32       `protobuf:"varint,18,opt,name=exp,proto3" json:"exp,omitempty"`
	InteractObjID   uint64      `protobuf:"varint,19,opt,name=interactObjID,proto3" json:"interactObjID,omitempty"`     // 交互物件ID
	InteractObjSeat uint32      `protobuf:"varint,20,opt,name=interactObjSeat,proto3" json:"interactObjSeat,omitempty"` // 交互物件座位号
	NameColor       bool        `protobuf:"varint,21,opt,name=nameColor,proto3" json:"nameColor,omitempty"`             // 昵称变颜色
	BaseLevel       int32       `protobuf:"varint,22,opt,name=baseLevel,proto3" json:"baseLevel,omitempty"`             //人物等级
	BaseExp         int32       `protobuf:"varint,23,opt,name=baseExp,proto3" json:"baseExp,omitempty"`                 //人物经验
	// contains filtered or unexported fields
}

func (*PlayerBaseInfo) Descriptor deprecated

func (*PlayerBaseInfo) Descriptor() ([]byte, []int)

Deprecated: Use PlayerBaseInfo.ProtoReflect.Descriptor instead.

func (*PlayerBaseInfo) GetActData

func (x *PlayerBaseInfo) GetActData() *ActionData

func (*PlayerBaseInfo) GetBaseExp

func (x *PlayerBaseInfo) GetBaseExp() int32

func (*PlayerBaseInfo) GetBaseLevel

func (x *PlayerBaseInfo) GetBaseLevel() int32

func (*PlayerBaseInfo) GetBubbleFrame

func (x *PlayerBaseInfo) GetBubbleFrame() uint32

func (*PlayerBaseInfo) GetCharId

func (x *PlayerBaseInfo) GetCharId() int32

func (*PlayerBaseInfo) GetCoin

func (x *PlayerBaseInfo) GetCoin() int32

func (*PlayerBaseInfo) GetExp

func (x *PlayerBaseInfo) GetExp() int32

func (*PlayerBaseInfo) GetFrame

func (x *PlayerBaseInfo) GetFrame() uint32

func (*PlayerBaseInfo) GetGold

func (x *PlayerBaseInfo) GetGold() int32

func (*PlayerBaseInfo) GetHead

func (x *PlayerBaseInfo) GetHead() uint32

func (*PlayerBaseInfo) GetHeadUrl

func (x *PlayerBaseInfo) GetHeadUrl() string

func (*PlayerBaseInfo) GetInteractObjID

func (x *PlayerBaseInfo) GetInteractObjID() uint64

func (*PlayerBaseInfo) GetInteractObjSeat

func (x *PlayerBaseInfo) GetInteractObjSeat() uint32

func (*PlayerBaseInfo) GetModel

func (x *PlayerBaseInfo) GetModel() uint32

func (*PlayerBaseInfo) GetName

func (x *PlayerBaseInfo) GetName() string

func (*PlayerBaseInfo) GetNameColor

func (x *PlayerBaseInfo) GetNameColor() bool

func (*PlayerBaseInfo) GetOrientation

func (x *PlayerBaseInfo) GetOrientation() float32

func (*PlayerBaseInfo) GetPlayerId

func (x *PlayerBaseInfo) GetPlayerId() uint64

func (*PlayerBaseInfo) GetPositionX

func (x *PlayerBaseInfo) GetPositionX() float32

func (*PlayerBaseInfo) GetPositionY

func (x *PlayerBaseInfo) GetPositionY() float32

func (*PlayerBaseInfo) GetPositionZ

func (x *PlayerBaseInfo) GetPositionZ() float32

func (*PlayerBaseInfo) GetVehicleID

func (x *PlayerBaseInfo) GetVehicleID() uint64

func (*PlayerBaseInfo) GetVipLevel

func (x *PlayerBaseInfo) GetVipLevel() uint32

func (*PlayerBaseInfo) ProtoMessage

func (*PlayerBaseInfo) ProtoMessage()

func (*PlayerBaseInfo) ProtoReflect

func (x *PlayerBaseInfo) ProtoReflect() protoreflect.Message

func (*PlayerBaseInfo) Reset

func (x *PlayerBaseInfo) Reset()

func (*PlayerBaseInfo) String

func (x *PlayerBaseInfo) String() string

func (*PlayerBaseInfo) Validate

func (m *PlayerBaseInfo) Validate() error

Validate checks the field values on PlayerBaseInfo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PlayerBaseInfoValidationError

type PlayerBaseInfoValidationError struct {
	// contains filtered or unexported fields
}

PlayerBaseInfoValidationError is the validation error returned by PlayerBaseInfo.Validate if the designated constraints aren't met.

func (PlayerBaseInfoValidationError) Cause

Cause function returns cause value.

func (PlayerBaseInfoValidationError) Error

Error satisfies the builtin error interface

func (PlayerBaseInfoValidationError) ErrorName

func (e PlayerBaseInfoValidationError) ErrorName() string

ErrorName returns error name.

func (PlayerBaseInfoValidationError) Field

Field function returns field value.

func (PlayerBaseInfoValidationError) Key

Key function returns key value.

func (PlayerBaseInfoValidationError) Reason

Reason function returns reason value.

type RegisterToGame added in v1.4.3

type RegisterToGame struct {
	Token      string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	ServerID   string `protobuf:"bytes,2,opt,name=serverID,proto3" json:"serverID,omitempty"`
	ServerType uint32 `protobuf:"varint,3,opt,name=serverType,proto3" json:"serverType,omitempty"`
	ServerAddr string `protobuf:"bytes,4,opt,name=serverAddr,proto3" json:"serverAddr,omitempty"`
	ScrSerType uint32 `protobuf:"varint,5,opt,name=scrSerType,proto3" json:"scrSerType,omitempty"`
	SerRpcAddr string `protobuf:"bytes,6,opt,name=serRpcAddr,proto3" json:"serRpcAddr,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterToGame) Descriptor deprecated added in v1.4.3

func (*RegisterToGame) Descriptor() ([]byte, []int)

Deprecated: Use RegisterToGame.ProtoReflect.Descriptor instead.

func (*RegisterToGame) GetScrSerType added in v1.4.3

func (x *RegisterToGame) GetScrSerType() uint32

func (*RegisterToGame) GetSerRpcAddr added in v1.4.3

func (x *RegisterToGame) GetSerRpcAddr() string

func (*RegisterToGame) GetServerAddr added in v1.4.3

func (x *RegisterToGame) GetServerAddr() string

func (*RegisterToGame) GetServerID added in v1.4.3

func (x *RegisterToGame) GetServerID() string

func (*RegisterToGame) GetServerType added in v1.4.3

func (x *RegisterToGame) GetServerType() uint32

func (*RegisterToGame) GetToken added in v1.4.3

func (x *RegisterToGame) GetToken() string

func (*RegisterToGame) ProtoMessage added in v1.4.3

func (*RegisterToGame) ProtoMessage()

func (*RegisterToGame) ProtoReflect added in v1.4.3

func (x *RegisterToGame) ProtoReflect() protoreflect.Message

func (*RegisterToGame) Reset added in v1.4.3

func (x *RegisterToGame) Reset()

func (*RegisterToGame) String added in v1.4.3

func (x *RegisterToGame) String() string

func (*RegisterToGame) Validate added in v1.4.3

func (m *RegisterToGame) Validate() error

Validate checks the field values on RegisterToGame with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RegisterToGameRet added in v1.4.3

type RegisterToGameRet struct {
	Result uint32   `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	MsgIds []uint32 `protobuf:"varint,2,rep,packed,name=msgIds,proto3" json:"msgIds,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterToGameRet) Descriptor deprecated added in v1.4.3

func (*RegisterToGameRet) Descriptor() ([]byte, []int)

Deprecated: Use RegisterToGameRet.ProtoReflect.Descriptor instead.

func (*RegisterToGameRet) GetMsgIds added in v1.4.3

func (x *RegisterToGameRet) GetMsgIds() []uint32

func (*RegisterToGameRet) GetResult added in v1.4.3

func (x *RegisterToGameRet) GetResult() uint32

func (*RegisterToGameRet) ProtoMessage added in v1.4.3

func (*RegisterToGameRet) ProtoMessage()

func (*RegisterToGameRet) ProtoReflect added in v1.4.3

func (x *RegisterToGameRet) ProtoReflect() protoreflect.Message

func (*RegisterToGameRet) Reset added in v1.4.3

func (x *RegisterToGameRet) Reset()

func (*RegisterToGameRet) String added in v1.4.3

func (x *RegisterToGameRet) String() string

func (*RegisterToGameRet) Validate added in v1.4.3

func (m *RegisterToGameRet) Validate() error

Validate checks the field values on RegisterToGameRet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RegisterToGameRetValidationError added in v1.4.3

type RegisterToGameRetValidationError struct {
	// contains filtered or unexported fields
}

RegisterToGameRetValidationError is the validation error returned by RegisterToGameRet.Validate if the designated constraints aren't met.

func (RegisterToGameRetValidationError) Cause added in v1.4.3

Cause function returns cause value.

func (RegisterToGameRetValidationError) Error added in v1.4.3

Error satisfies the builtin error interface

func (RegisterToGameRetValidationError) ErrorName added in v1.4.3

ErrorName returns error name.

func (RegisterToGameRetValidationError) Field added in v1.4.3

Field function returns field value.

func (RegisterToGameRetValidationError) Key added in v1.4.3

Key function returns key value.

func (RegisterToGameRetValidationError) Reason added in v1.4.3

Reason function returns reason value.

type RegisterToGameValidationError added in v1.4.3

type RegisterToGameValidationError struct {
	// contains filtered or unexported fields
}

RegisterToGameValidationError is the validation error returned by RegisterToGame.Validate if the designated constraints aren't met.

func (RegisterToGameValidationError) Cause added in v1.4.3

Cause function returns cause value.

func (RegisterToGameValidationError) Error added in v1.4.3

Error satisfies the builtin error interface

func (RegisterToGameValidationError) ErrorName added in v1.4.3

func (e RegisterToGameValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterToGameValidationError) Field added in v1.4.3

Field function returns field value.

func (RegisterToGameValidationError) Key added in v1.4.3

Key function returns key value.

func (RegisterToGameValidationError) Reason added in v1.4.3

Reason function returns reason value.

type RegisterToGateway added in v1.3.1

type RegisterToGateway struct {
	Token      string         `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	ServerID   string         `protobuf:"bytes,2,opt,name=serverID,proto3" json:"serverID,omitempty"`
	ServerType ServerCategory `protobuf:"varint,3,opt,name=serverType,proto3,enum=ServerCommon.ServerCategory" json:"serverType,omitempty"`
	ServerAddr string         `protobuf:"bytes,4,opt,name=serverAddr,proto3" json:"serverAddr,omitempty"`
	MsgIds     []uint32       `protobuf:"varint,5,rep,packed,name=msgIds,proto3" json:"msgIds,omitempty"`
	ProcIndex  uint32         `protobuf:"varint,6,opt,name=procIndex,proto3" json:"procIndex,omitempty"`
	Name       string         `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	MaxPlayer  int32          `protobuf:"varint,8,opt,name=maxPlayer,proto3" json:"maxPlayer,omitempty"`
	ZoneId     int32          `protobuf:"varint,9,opt,name=zoneId,proto3" json:"zoneId,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterToGateway) Descriptor deprecated added in v1.3.1

func (*RegisterToGateway) Descriptor() ([]byte, []int)

Deprecated: Use RegisterToGateway.ProtoReflect.Descriptor instead.

func (*RegisterToGateway) GetMaxPlayer added in v1.3.1

func (x *RegisterToGateway) GetMaxPlayer() int32

func (*RegisterToGateway) GetMsgIds added in v1.3.1

func (x *RegisterToGateway) GetMsgIds() []uint32

func (*RegisterToGateway) GetName added in v1.3.1

func (x *RegisterToGateway) GetName() string

func (*RegisterToGateway) GetProcIndex added in v1.3.1

func (x *RegisterToGateway) GetProcIndex() uint32

func (*RegisterToGateway) GetServerAddr added in v1.3.1

func (x *RegisterToGateway) GetServerAddr() string

func (*RegisterToGateway) GetServerID added in v1.3.1

func (x *RegisterToGateway) GetServerID() string

func (*RegisterToGateway) GetServerType added in v1.3.1

func (x *RegisterToGateway) GetServerType() ServerCategory

func (*RegisterToGateway) GetToken added in v1.3.1

func (x *RegisterToGateway) GetToken() string

func (*RegisterToGateway) GetZoneId added in v1.3.1

func (x *RegisterToGateway) GetZoneId() int32

func (*RegisterToGateway) ProtoMessage added in v1.3.1

func (*RegisterToGateway) ProtoMessage()

func (*RegisterToGateway) ProtoReflect added in v1.3.1

func (x *RegisterToGateway) ProtoReflect() protoreflect.Message

func (*RegisterToGateway) Reset added in v1.3.1

func (x *RegisterToGateway) Reset()

func (*RegisterToGateway) String added in v1.3.1

func (x *RegisterToGateway) String() string

func (*RegisterToGateway) Validate added in v1.3.1

func (m *RegisterToGateway) Validate() error

Validate checks the field values on RegisterToGateway with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RegisterToGatewayRet added in v1.3.1

type RegisterToGatewayRet struct {
	Result uint32 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	ZoneId int32  `protobuf:"varint,2,opt,name=zoneId,proto3" json:"zoneId,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterToGatewayRet) Descriptor deprecated added in v1.3.1

func (*RegisterToGatewayRet) Descriptor() ([]byte, []int)

Deprecated: Use RegisterToGatewayRet.ProtoReflect.Descriptor instead.

func (*RegisterToGatewayRet) GetResult added in v1.3.1

func (x *RegisterToGatewayRet) GetResult() uint32

func (*RegisterToGatewayRet) GetZoneId added in v1.3.1

func (x *RegisterToGatewayRet) GetZoneId() int32

func (*RegisterToGatewayRet) ProtoMessage added in v1.3.1

func (*RegisterToGatewayRet) ProtoMessage()

func (*RegisterToGatewayRet) ProtoReflect added in v1.3.1

func (x *RegisterToGatewayRet) ProtoReflect() protoreflect.Message

func (*RegisterToGatewayRet) Reset added in v1.3.1

func (x *RegisterToGatewayRet) Reset()

func (*RegisterToGatewayRet) String added in v1.3.1

func (x *RegisterToGatewayRet) String() string

func (*RegisterToGatewayRet) Validate added in v1.3.1

func (m *RegisterToGatewayRet) Validate() error

Validate checks the field values on RegisterToGatewayRet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RegisterToGatewayRetValidationError added in v1.3.1

type RegisterToGatewayRetValidationError struct {
	// contains filtered or unexported fields
}

RegisterToGatewayRetValidationError is the validation error returned by RegisterToGatewayRet.Validate if the designated constraints aren't met.

func (RegisterToGatewayRetValidationError) Cause added in v1.3.1

Cause function returns cause value.

func (RegisterToGatewayRetValidationError) Error added in v1.3.1

Error satisfies the builtin error interface

func (RegisterToGatewayRetValidationError) ErrorName added in v1.3.1

ErrorName returns error name.

func (RegisterToGatewayRetValidationError) Field added in v1.3.1

Field function returns field value.

func (RegisterToGatewayRetValidationError) Key added in v1.3.1

Key function returns key value.

func (RegisterToGatewayRetValidationError) Reason added in v1.3.1

Reason function returns reason value.

type RegisterToGatewayValidationError added in v1.3.1

type RegisterToGatewayValidationError struct {
	// contains filtered or unexported fields
}

RegisterToGatewayValidationError is the validation error returned by RegisterToGateway.Validate if the designated constraints aren't met.

func (RegisterToGatewayValidationError) Cause added in v1.3.1

Cause function returns cause value.

func (RegisterToGatewayValidationError) Error added in v1.3.1

Error satisfies the builtin error interface

func (RegisterToGatewayValidationError) ErrorName added in v1.3.1

ErrorName returns error name.

func (RegisterToGatewayValidationError) Field added in v1.3.1

Field function returns field value.

func (RegisterToGatewayValidationError) Key added in v1.3.1

Key function returns key value.

func (RegisterToGatewayValidationError) Reason added in v1.3.1

Reason function returns reason value.

type SCKick added in v1.3.5

type SCKick struct {
	Kick    KickReason `protobuf:"varint,1,opt,name=kick,proto3,enum=ServerCommon.KickReason" json:"kick,omitempty"`
	Contend string     `protobuf:"bytes,2,opt,name=contend,proto3" json:"contend,omitempty"`
	// contains filtered or unexported fields
}

func (*SCKick) Descriptor deprecated added in v1.3.5

func (*SCKick) Descriptor() ([]byte, []int)

Deprecated: Use SCKick.ProtoReflect.Descriptor instead.

func (*SCKick) GetContend added in v1.3.5

func (x *SCKick) GetContend() string

func (*SCKick) GetKick added in v1.3.5

func (x *SCKick) GetKick() KickReason

func (*SCKick) ProtoMessage added in v1.3.5

func (*SCKick) ProtoMessage()

func (*SCKick) ProtoReflect added in v1.3.5

func (x *SCKick) ProtoReflect() protoreflect.Message

func (*SCKick) Reset added in v1.3.5

func (x *SCKick) Reset()

func (*SCKick) String added in v1.3.5

func (x *SCKick) String() string

func (*SCKick) Validate added in v1.3.5

func (m *SCKick) Validate() error

Validate checks the field values on SCKick with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SCKickValidationError added in v1.3.5

type SCKickValidationError struct {
	// contains filtered or unexported fields
}

SCKickValidationError is the validation error returned by SCKick.Validate if the designated constraints aren't met.

func (SCKickValidationError) Cause added in v1.3.5

func (e SCKickValidationError) Cause() error

Cause function returns cause value.

func (SCKickValidationError) Error added in v1.3.5

func (e SCKickValidationError) Error() string

Error satisfies the builtin error interface

func (SCKickValidationError) ErrorName added in v1.3.5

func (e SCKickValidationError) ErrorName() string

ErrorName returns error name.

func (SCKickValidationError) Field added in v1.3.5

func (e SCKickValidationError) Field() string

Field function returns field value.

func (SCKickValidationError) Key added in v1.3.5

func (e SCKickValidationError) Key() bool

Key function returns key value.

func (SCKickValidationError) Reason added in v1.3.5

func (e SCKickValidationError) Reason() string

Reason function returns reason value.

type ServerCategory added in v1.3.0

type ServerCategory int32
const (
	ServerCategory_Undefined ServerCategory = 0 //没定义
	ServerCategory_Login     ServerCategory = 1 //登录服
	ServerCategory_Gateway   ServerCategory = 2 //网关
	ServerCategory_World     ServerCategory = 3 //世界服,大厅
	ServerCategory_DB        ServerCategory = 4 //
)

func (ServerCategory) Descriptor added in v1.3.0

func (ServerCategory) Enum added in v1.3.0

func (x ServerCategory) Enum() *ServerCategory

func (ServerCategory) EnumDescriptor deprecated added in v1.3.0

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

Deprecated: Use ServerCategory.Descriptor instead.

func (ServerCategory) Number added in v1.3.0

func (ServerCategory) String added in v1.3.0

func (x ServerCategory) String() string

func (ServerCategory) Type added in v1.3.0

type ServerMsgData added in v1.4.1

type ServerMsgData struct {
	PlayerID uint64 `protobuf:"varint,1,opt,name=PlayerID,proto3" json:"PlayerID,omitempty"`
	ServerID string `protobuf:"bytes,2,opt,name=ServerID,proto3" json:"ServerID,omitempty"`
	Data     []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerMsgData) Descriptor deprecated added in v1.4.1

func (*ServerMsgData) Descriptor() ([]byte, []int)

Deprecated: Use ServerMsgData.ProtoReflect.Descriptor instead.

func (*ServerMsgData) GetData added in v1.4.1

func (x *ServerMsgData) GetData() []byte

func (*ServerMsgData) GetPlayerID added in v1.4.1

func (x *ServerMsgData) GetPlayerID() uint64

func (*ServerMsgData) GetServerID added in v1.4.1

func (x *ServerMsgData) GetServerID() string

func (*ServerMsgData) ProtoMessage added in v1.4.1

func (*ServerMsgData) ProtoMessage()

func (*ServerMsgData) ProtoReflect added in v1.4.1

func (x *ServerMsgData) ProtoReflect() protoreflect.Message

func (*ServerMsgData) Reset added in v1.4.1

func (x *ServerMsgData) Reset()

func (*ServerMsgData) String added in v1.4.1

func (x *ServerMsgData) String() string

func (*ServerMsgData) Validate added in v1.4.1

func (m *ServerMsgData) Validate() error

Validate checks the field values on ServerMsgData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ServerMsgDataValidationError added in v1.4.1

type ServerMsgDataValidationError struct {
	// contains filtered or unexported fields
}

ServerMsgDataValidationError is the validation error returned by ServerMsgData.Validate if the designated constraints aren't met.

func (ServerMsgDataValidationError) Cause added in v1.4.1

Cause function returns cause value.

func (ServerMsgDataValidationError) Error added in v1.4.1

Error satisfies the builtin error interface

func (ServerMsgDataValidationError) ErrorName added in v1.4.1

func (e ServerMsgDataValidationError) ErrorName() string

ErrorName returns error name.

func (ServerMsgDataValidationError) Field added in v1.4.1

Field function returns field value.

func (ServerMsgDataValidationError) Key added in v1.4.1

Key function returns key value.

func (ServerMsgDataValidationError) Reason added in v1.4.1

Reason function returns reason value.

type ServerRegisterStatus added in v1.3.9

type ServerRegisterStatus int32

服务注册状态

const (
	ServerRegisterStatus_Fail    ServerRegisterStatus = 0
	ServerRegisterStatus_OK      ServerRegisterStatus = 1
	ServerRegisterStatus_Unknown ServerRegisterStatus = 2
)

func (ServerRegisterStatus) Descriptor added in v1.3.9

func (ServerRegisterStatus) Enum added in v1.3.9

func (ServerRegisterStatus) EnumDescriptor deprecated added in v1.3.9

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

Deprecated: Use ServerRegisterStatus.Descriptor instead.

func (ServerRegisterStatus) Number added in v1.3.9

func (ServerRegisterStatus) String added in v1.3.9

func (x ServerRegisterStatus) String() string

func (ServerRegisterStatus) Type added in v1.3.9

type SrvMsgToWorldPlayer added in v1.4.4

type SrvMsgToWorldPlayer struct {
	PlayerId uint64 `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"`
	Data     []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SrvMsgToWorldPlayer) Descriptor deprecated added in v1.4.4

func (*SrvMsgToWorldPlayer) Descriptor() ([]byte, []int)

Deprecated: Use SrvMsgToWorldPlayer.ProtoReflect.Descriptor instead.

func (*SrvMsgToWorldPlayer) GetData added in v1.4.4

func (x *SrvMsgToWorldPlayer) GetData() []byte

func (*SrvMsgToWorldPlayer) GetPlayerId added in v1.4.4

func (x *SrvMsgToWorldPlayer) GetPlayerId() uint64

func (*SrvMsgToWorldPlayer) ProtoMessage added in v1.4.4

func (*SrvMsgToWorldPlayer) ProtoMessage()

func (*SrvMsgToWorldPlayer) ProtoReflect added in v1.4.4

func (x *SrvMsgToWorldPlayer) ProtoReflect() protoreflect.Message

func (*SrvMsgToWorldPlayer) Reset added in v1.4.4

func (x *SrvMsgToWorldPlayer) Reset()

func (*SrvMsgToWorldPlayer) String added in v1.4.4

func (x *SrvMsgToWorldPlayer) String() string

func (*SrvMsgToWorldPlayer) Validate added in v1.4.4

func (m *SrvMsgToWorldPlayer) Validate() error

Validate checks the field values on SrvMsgToWorldPlayer with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SrvMsgToWorldPlayerValidationError added in v1.4.4

type SrvMsgToWorldPlayerValidationError struct {
	// contains filtered or unexported fields
}

SrvMsgToWorldPlayerValidationError is the validation error returned by SrvMsgToWorldPlayer.Validate if the designated constraints aren't met.

func (SrvMsgToWorldPlayerValidationError) Cause added in v1.4.4

Cause function returns cause value.

func (SrvMsgToWorldPlayerValidationError) Error added in v1.4.4

Error satisfies the builtin error interface

func (SrvMsgToWorldPlayerValidationError) ErrorName added in v1.4.4

ErrorName returns error name.

func (SrvMsgToWorldPlayerValidationError) Field added in v1.4.4

Field function returns field value.

func (SrvMsgToWorldPlayerValidationError) Key added in v1.4.4

Key function returns key value.

func (SrvMsgToWorldPlayerValidationError) Reason added in v1.4.4

Reason function returns reason value.

type UnitActionData

type UnitActionData struct {
	ActType      uint32          `protobuf:"varint,1,opt,name=actType,proto3" json:"actType,omitempty"`                                       // 0-清除当前状态 1-巡逻状态 2-一次性动作 3-持续性动作
	ActName      string          `protobuf:"bytes,2,opt,name=actName,proto3" json:"actName,omitempty"`                                        // 动作名称
	ActStartTime int64           `protobuf:"varint,3,opt,name=actStartTime,proto3" json:"actStartTime,omitempty"`                             // 动作开始时间
	ParseType    ActionParseType `protobuf:"varint,4,opt,name=ParseType,proto3,enum=ServerCommon.ActionParseType" json:"ParseType,omitempty"` // 参数解析类型
	Param        uint32          `protobuf:"varint,5,opt,name=param,proto3" json:"param,omitempty"`                                           // 额外参数
	EmojiID      uint32          `protobuf:"varint,6,opt,name=EmojiID,proto3" json:"EmojiID,omitempty"`                                       // 气泡框表情或者
	// contains filtered or unexported fields
}

func (*UnitActionData) Descriptor deprecated

func (*UnitActionData) Descriptor() ([]byte, []int)

Deprecated: Use UnitActionData.ProtoReflect.Descriptor instead.

func (*UnitActionData) GetActName

func (x *UnitActionData) GetActName() string

func (*UnitActionData) GetActStartTime

func (x *UnitActionData) GetActStartTime() int64

func (*UnitActionData) GetActType

func (x *UnitActionData) GetActType() uint32

func (*UnitActionData) GetEmojiID

func (x *UnitActionData) GetEmojiID() uint32

func (*UnitActionData) GetParam

func (x *UnitActionData) GetParam() uint32

func (*UnitActionData) GetParseType

func (x *UnitActionData) GetParseType() ActionParseType

func (*UnitActionData) ProtoMessage

func (*UnitActionData) ProtoMessage()

func (*UnitActionData) ProtoReflect

func (x *UnitActionData) ProtoReflect() protoreflect.Message

func (*UnitActionData) Reset

func (x *UnitActionData) Reset()

func (*UnitActionData) String

func (x *UnitActionData) String() string

func (*UnitActionData) Validate

func (m *UnitActionData) Validate() error

Validate checks the field values on UnitActionData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UnitActionDataValidationError

type UnitActionDataValidationError struct {
	// contains filtered or unexported fields
}

UnitActionDataValidationError is the validation error returned by UnitActionData.Validate if the designated constraints aren't met.

func (UnitActionDataValidationError) Cause

Cause function returns cause value.

func (UnitActionDataValidationError) Error

Error satisfies the builtin error interface

func (UnitActionDataValidationError) ErrorName

func (e UnitActionDataValidationError) ErrorName() string

ErrorName returns error name.

func (UnitActionDataValidationError) Field

Field function returns field value.

func (UnitActionDataValidationError) Key

Key function returns key value.

func (UnitActionDataValidationError) Reason

Reason function returns reason value.

type UnitInfo

type UnitInfo struct {
	UnitId            uint64          `protobuf:"varint,1,opt,name=unitId,proto3" json:"unitId,omitempty"`                         // 唯一id
	TypeId            uint32          `protobuf:"varint,2,opt,name=typeId,proto3" json:"typeId,omitempty"`                         // UnitTable表id
	PosX              float32         `protobuf:"fixed32,3,opt,name=posX,proto3" json:"posX,omitempty"`                            // x坐标
	PosY              float32         `protobuf:"fixed32,4,opt,name=posY,proto3" json:"posY,omitempty"`                            // y坐标
	PosZ              float32         `protobuf:"fixed32,5,opt,name=posZ,proto3" json:"posZ,omitempty"`                            // z坐标
	RotateX           float32         `protobuf:"fixed32,6,opt,name=rotateX,proto3" json:"rotateX,omitempty"`                      // 旋转x
	RotateY           float32         `protobuf:"fixed32,7,opt,name=rotateY,proto3" json:"rotateY,omitempty"`                      // 旋转y
	RotateZ           float32         `protobuf:"fixed32,8,opt,name=rotateZ,proto3" json:"rotateZ,omitempty"`                      // 旋转z
	CanBeCarried      bool            `protobuf:"varint,9,opt,name=canBeCarried,proto3" json:"canBeCarried,omitempty"`             // 是否可以乘载
	AdditionalList    []uint64        `protobuf:"varint,10,rep,packed,name=additionalList,proto3" json:"additionalList,omitempty"` // 附加列表
	ActData           *UnitActionData `protobuf:"bytes,12,opt,name=actData,proto3" json:"actData,omitempty"`                       // 动作数据
	AttachID          uint64          `protobuf:"varint,13,opt,name=AttachID,proto3" json:"AttachID,omitempty"`                    // 绑定的单位ID
	Attires           []uint32        `protobuf:"varint,14,rep,packed,name=Attires,proto3" json:"Attires,omitempty"`               // 装扮数据
	AttacheBuildingID uint64          `protobuf:"varint,15,opt,name=attacheBuildingID,proto3" json:"attacheBuildingID,omitempty"`  // 正在交互的建筑,椅子
	BuildingSeat      uint32          `protobuf:"varint,16,opt,name=buildingSeat,proto3" json:"buildingSeat,omitempty"`            // 交互建筑的位置
	SkinColor         uint32          `protobuf:"varint,17,opt,name=skinColor,proto3" json:"skinColor,omitempty"`                  // 皮肤颜色
	Name              string          `protobuf:"bytes,18,opt,name=name,proto3" json:"name,omitempty"`                             // 名字
	IsWork            bool            `protobuf:"varint,19,opt,name=isWork,proto3" json:"isWork,omitempty"`                        // 是否在工作中
	// contains filtered or unexported fields
}

func (*UnitInfo) Descriptor deprecated

func (*UnitInfo) Descriptor() ([]byte, []int)

Deprecated: Use UnitInfo.ProtoReflect.Descriptor instead.

func (*UnitInfo) GetActData

func (x *UnitInfo) GetActData() *UnitActionData

func (*UnitInfo) GetAdditionalList

func (x *UnitInfo) GetAdditionalList() []uint64

func (*UnitInfo) GetAttachID

func (x *UnitInfo) GetAttachID() uint64

func (*UnitInfo) GetAttacheBuildingID

func (x *UnitInfo) GetAttacheBuildingID() uint64

func (*UnitInfo) GetAttires

func (x *UnitInfo) GetAttires() []uint32

func (*UnitInfo) GetBuildingSeat

func (x *UnitInfo) GetBuildingSeat() uint32

func (*UnitInfo) GetCanBeCarried

func (x *UnitInfo) GetCanBeCarried() bool

func (*UnitInfo) GetIsWork

func (x *UnitInfo) GetIsWork() bool

func (*UnitInfo) GetName

func (x *UnitInfo) GetName() string

func (*UnitInfo) GetPosX

func (x *UnitInfo) GetPosX() float32

func (*UnitInfo) GetPosY

func (x *UnitInfo) GetPosY() float32

func (*UnitInfo) GetPosZ

func (x *UnitInfo) GetPosZ() float32

func (*UnitInfo) GetRotateX

func (x *UnitInfo) GetRotateX() float32

func (*UnitInfo) GetRotateY

func (x *UnitInfo) GetRotateY() float32

func (*UnitInfo) GetRotateZ

func (x *UnitInfo) GetRotateZ() float32

func (*UnitInfo) GetSkinColor

func (x *UnitInfo) GetSkinColor() uint32

func (*UnitInfo) GetTypeId

func (x *UnitInfo) GetTypeId() uint32

func (*UnitInfo) GetUnitId

func (x *UnitInfo) GetUnitId() uint64

func (*UnitInfo) ProtoMessage

func (*UnitInfo) ProtoMessage()

func (*UnitInfo) ProtoReflect

func (x *UnitInfo) ProtoReflect() protoreflect.Message

func (*UnitInfo) Reset

func (x *UnitInfo) Reset()

func (*UnitInfo) String

func (x *UnitInfo) String() string

func (*UnitInfo) Validate

func (m *UnitInfo) Validate() error

Validate checks the field values on UnitInfo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UnitInfoValidationError

type UnitInfoValidationError struct {
	// contains filtered or unexported fields
}

UnitInfoValidationError is the validation error returned by UnitInfo.Validate if the designated constraints aren't met.

func (UnitInfoValidationError) Cause

func (e UnitInfoValidationError) Cause() error

Cause function returns cause value.

func (UnitInfoValidationError) Error

func (e UnitInfoValidationError) Error() string

Error satisfies the builtin error interface

func (UnitInfoValidationError) ErrorName

func (e UnitInfoValidationError) ErrorName() string

ErrorName returns error name.

func (UnitInfoValidationError) Field

func (e UnitInfoValidationError) Field() string

Field function returns field value.

func (UnitInfoValidationError) Key

func (e UnitInfoValidationError) Key() bool

Key function returns key value.

func (UnitInfoValidationError) Reason

func (e UnitInfoValidationError) Reason() string

Reason function returns reason value.

type UpdateOnlineInfo added in v1.3.1

type UpdateOnlineInfo struct {
	ProcIndex uint32 `protobuf:"varint,1,opt,name=procIndex,proto3" json:"procIndex,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	MaxPlayer int32  `protobuf:"varint,3,opt,name=maxPlayer,proto3" json:"maxPlayer,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOnlineInfo) Descriptor deprecated added in v1.3.1

func (*UpdateOnlineInfo) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOnlineInfo.ProtoReflect.Descriptor instead.

func (*UpdateOnlineInfo) GetMaxPlayer added in v1.3.1

func (x *UpdateOnlineInfo) GetMaxPlayer() int32

func (*UpdateOnlineInfo) GetName added in v1.3.1

func (x *UpdateOnlineInfo) GetName() string

func (*UpdateOnlineInfo) GetProcIndex added in v1.3.1

func (x *UpdateOnlineInfo) GetProcIndex() uint32

func (*UpdateOnlineInfo) ProtoMessage added in v1.3.1

func (*UpdateOnlineInfo) ProtoMessage()

func (*UpdateOnlineInfo) ProtoReflect added in v1.3.1

func (x *UpdateOnlineInfo) ProtoReflect() protoreflect.Message

func (*UpdateOnlineInfo) Reset added in v1.3.1

func (x *UpdateOnlineInfo) Reset()

func (*UpdateOnlineInfo) String added in v1.3.1

func (x *UpdateOnlineInfo) String() string

func (*UpdateOnlineInfo) Validate added in v1.3.1

func (m *UpdateOnlineInfo) Validate() error

Validate checks the field values on UpdateOnlineInfo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpdateOnlineInfoRet added in v1.3.1

type UpdateOnlineInfoRet struct {
	Result uint32 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOnlineInfoRet) Descriptor deprecated added in v1.3.1

func (*UpdateOnlineInfoRet) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOnlineInfoRet.ProtoReflect.Descriptor instead.

func (*UpdateOnlineInfoRet) GetResult added in v1.3.1

func (x *UpdateOnlineInfoRet) GetResult() uint32

func (*UpdateOnlineInfoRet) ProtoMessage added in v1.3.1

func (*UpdateOnlineInfoRet) ProtoMessage()

func (*UpdateOnlineInfoRet) ProtoReflect added in v1.3.1

func (x *UpdateOnlineInfoRet) ProtoReflect() protoreflect.Message

func (*UpdateOnlineInfoRet) Reset added in v1.3.1

func (x *UpdateOnlineInfoRet) Reset()

func (*UpdateOnlineInfoRet) String added in v1.3.1

func (x *UpdateOnlineInfoRet) String() string

func (*UpdateOnlineInfoRet) Validate added in v1.3.1

func (m *UpdateOnlineInfoRet) Validate() error

Validate checks the field values on UpdateOnlineInfoRet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpdateOnlineInfoRetValidationError added in v1.3.1

type UpdateOnlineInfoRetValidationError struct {
	// contains filtered or unexported fields
}

UpdateOnlineInfoRetValidationError is the validation error returned by UpdateOnlineInfoRet.Validate if the designated constraints aren't met.

func (UpdateOnlineInfoRetValidationError) Cause added in v1.3.1

Cause function returns cause value.

func (UpdateOnlineInfoRetValidationError) Error added in v1.3.1

Error satisfies the builtin error interface

func (UpdateOnlineInfoRetValidationError) ErrorName added in v1.3.1

ErrorName returns error name.

func (UpdateOnlineInfoRetValidationError) Field added in v1.3.1

Field function returns field value.

func (UpdateOnlineInfoRetValidationError) Key added in v1.3.1

Key function returns key value.

func (UpdateOnlineInfoRetValidationError) Reason added in v1.3.1

Reason function returns reason value.

type UpdateOnlineInfoValidationError added in v1.3.1

type UpdateOnlineInfoValidationError struct {
	// contains filtered or unexported fields
}

UpdateOnlineInfoValidationError is the validation error returned by UpdateOnlineInfo.Validate if the designated constraints aren't met.

func (UpdateOnlineInfoValidationError) Cause added in v1.3.1

Cause function returns cause value.

func (UpdateOnlineInfoValidationError) Error added in v1.3.1

Error satisfies the builtin error interface

func (UpdateOnlineInfoValidationError) ErrorName added in v1.3.1

ErrorName returns error name.

func (UpdateOnlineInfoValidationError) Field added in v1.3.1

Field function returns field value.

func (UpdateOnlineInfoValidationError) Key added in v1.3.1

Key function returns key value.

func (UpdateOnlineInfoValidationError) Reason added in v1.3.1

Reason function returns reason value.

type Vec3

type Vec3 struct {
	X float32 `protobuf:"fixed32,1,opt,name=X,proto3" json:"X,omitempty"`
	Y float32 `protobuf:"fixed32,2,opt,name=Y,proto3" json:"Y,omitempty"`
	Z float32 `protobuf:"fixed32,3,opt,name=Z,proto3" json:"Z,omitempty"`
	// contains filtered or unexported fields
}

func (*Vec3) Descriptor deprecated

func (*Vec3) Descriptor() ([]byte, []int)

Deprecated: Use Vec3.ProtoReflect.Descriptor instead.

func (*Vec3) GetX

func (x *Vec3) GetX() float32

func (*Vec3) GetY

func (x *Vec3) GetY() float32

func (*Vec3) GetZ

func (x *Vec3) GetZ() float32

func (*Vec3) ProtoMessage

func (*Vec3) ProtoMessage()

func (*Vec3) ProtoReflect

func (x *Vec3) ProtoReflect() protoreflect.Message

func (*Vec3) Reset

func (x *Vec3) Reset()

func (*Vec3) String

func (x *Vec3) String() string

func (*Vec3) Validate

func (m *Vec3) Validate() error

Validate checks the field values on Vec3 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Vec3ValidationError

type Vec3ValidationError struct {
	// contains filtered or unexported fields
}

Vec3ValidationError is the validation error returned by Vec3.Validate if the designated constraints aren't met.

func (Vec3ValidationError) Cause

func (e Vec3ValidationError) Cause() error

Cause function returns cause value.

func (Vec3ValidationError) Error

func (e Vec3ValidationError) Error() string

Error satisfies the builtin error interface

func (Vec3ValidationError) ErrorName

func (e Vec3ValidationError) ErrorName() string

ErrorName returns error name.

func (Vec3ValidationError) Field

func (e Vec3ValidationError) Field() string

Field function returns field value.

func (Vec3ValidationError) Key

func (e Vec3ValidationError) Key() bool

Key function returns key value.

func (Vec3ValidationError) Reason

func (e Vec3ValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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