gateway

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 (
	GatewayErr_name = map[int32]string{
		0: "Unknown",
		1: "Success",
		2: "Verify",
		3: "RepeatedVerify",
		4: "Closed",
		5: "LoseCurCon",
		6: "DisCurConn",
		7: "BeingReConn",
		8: "ZoneIdError",
	}
	GatewayErr_value = map[string]int32{
		"Unknown":        0,
		"Success":        1,
		"Verify":         2,
		"RepeatedVerify": 3,
		"Closed":         4,
		"LoseCurCon":     5,
		"DisCurConn":     6,
		"BeingReConn":    7,
		"ZoneIdError":    8,
	}
)

Enum value maps for GatewayErr.

View Source
var (
	JoinErrorCode_name = map[int32]string{
		0: "JoinWorldSuccess",
		1: "JoinWorldNotOpen",
		2: "JoinWorldIng",
		3: "JoinWorldIsFull",
		4: "JoinZoneIdError",
	}
	JoinErrorCode_value = map[string]int32{
		"JoinWorldSuccess": 0,
		"JoinWorldNotOpen": 1,
		"JoinWorldIng":     2,
		"JoinWorldIsFull":  3,
		"JoinZoneIdError":  4,
	}
)

Enum value maps for JoinErrorCode.

View Source
var (
	OnlineResult_name = map[int32]string{
		0: "OnlineFailure",
		1: "OnlineSuccess",
	}
	OnlineResult_value = map[string]int32{
		"OnlineFailure": 0,
		"OnlineSuccess": 1,
	}
)

Enum value maps for OnlineResult.

View Source
var File_gateway_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CSGatewayJoinOnline

type CSGatewayJoinOnline struct {
	Sid     string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"`
	Quick   bool   `protobuf:"varint,2,opt,name=quick,proto3" json:"quick,omitempty"`
	ZoneId  int32  `protobuf:"varint,3,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录时,区分玩家要登录的时哪个区,DB数据、online系统互通
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*CSGatewayJoinOnline) Descriptor deprecated

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

Deprecated: Use CSGatewayJoinOnline.ProtoReflect.Descriptor instead.

func (*CSGatewayJoinOnline) GetQuick

func (x *CSGatewayJoinOnline) GetQuick() bool

func (*CSGatewayJoinOnline) GetSid

func (x *CSGatewayJoinOnline) GetSid() string

func (*CSGatewayJoinOnline) GetVersion

func (x *CSGatewayJoinOnline) GetVersion() string

func (*CSGatewayJoinOnline) GetZoneId

func (x *CSGatewayJoinOnline) GetZoneId() int32

func (*CSGatewayJoinOnline) ProtoMessage

func (*CSGatewayJoinOnline) ProtoMessage()

func (*CSGatewayJoinOnline) ProtoReflect

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

func (*CSGatewayJoinOnline) Reset

func (x *CSGatewayJoinOnline) Reset()

func (*CSGatewayJoinOnline) String

func (x *CSGatewayJoinOnline) String() string

func (*CSGatewayJoinOnline) Validate

func (m *CSGatewayJoinOnline) Validate() error

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

type CSGatewayJoinOnlineValidationError

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

CSGatewayJoinOnlineValidationError is the validation error returned by CSGatewayJoinOnline.Validate if the designated constraints aren't met.

func (CSGatewayJoinOnlineValidationError) Cause

Cause function returns cause value.

func (CSGatewayJoinOnlineValidationError) Error

Error satisfies the builtin error interface

func (CSGatewayJoinOnlineValidationError) ErrorName

ErrorName returns error name.

func (CSGatewayJoinOnlineValidationError) Field

Field function returns field value.

func (CSGatewayJoinOnlineValidationError) Key

Key function returns key value.

func (CSGatewayJoinOnlineValidationError) Reason

Reason function returns reason value.

type CSGatewayLogin

type CSGatewayLogin struct {
	Userid   uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"`
	Token    string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	PlatName string `protobuf:"bytes,3,opt,name=platName,proto3" json:"platName,omitempty"`
	ZoneId   int32  `protobuf:"varint,4,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录时,区分玩家要登录的时哪个区,DB数据、online系统互通
	// contains filtered or unexported fields
}

func (*CSGatewayLogin) Descriptor deprecated

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

Deprecated: Use CSGatewayLogin.ProtoReflect.Descriptor instead.

func (*CSGatewayLogin) GetPlatName

func (x *CSGatewayLogin) GetPlatName() string

func (*CSGatewayLogin) GetToken

func (x *CSGatewayLogin) GetToken() string

func (*CSGatewayLogin) GetUserid

func (x *CSGatewayLogin) GetUserid() uint64

func (*CSGatewayLogin) GetZoneId

func (x *CSGatewayLogin) GetZoneId() int32

func (*CSGatewayLogin) ProtoMessage

func (*CSGatewayLogin) ProtoMessage()

func (*CSGatewayLogin) ProtoReflect

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

func (*CSGatewayLogin) Reset

func (x *CSGatewayLogin) Reset()

func (*CSGatewayLogin) String

func (x *CSGatewayLogin) String() string

func (*CSGatewayLogin) Validate

func (m *CSGatewayLogin) Validate() error

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

type CSGatewayLoginValidationError

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

CSGatewayLoginValidationError is the validation error returned by CSGatewayLogin.Validate if the designated constraints aren't met.

func (CSGatewayLoginValidationError) Cause

Cause function returns cause value.

func (CSGatewayLoginValidationError) Error

Error satisfies the builtin error interface

func (CSGatewayLoginValidationError) ErrorName

func (e CSGatewayLoginValidationError) ErrorName() string

ErrorName returns error name.

func (CSGatewayLoginValidationError) Field

Field function returns field value.

func (CSGatewayLoginValidationError) Key

Key function returns key value.

func (CSGatewayLoginValidationError) Reason

Reason function returns reason value.

type CSGatewayLogout

type CSGatewayLogout struct {
	UserId   uint64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	Token    string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	PlatName string `protobuf:"bytes,3,opt,name=platName,proto3" json:"platName,omitempty"`
	// contains filtered or unexported fields
}

func (*CSGatewayLogout) Descriptor deprecated

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

Deprecated: Use CSGatewayLogout.ProtoReflect.Descriptor instead.

func (*CSGatewayLogout) GetPlatName

func (x *CSGatewayLogout) GetPlatName() string

func (*CSGatewayLogout) GetToken

func (x *CSGatewayLogout) GetToken() string

func (*CSGatewayLogout) GetUserId

func (x *CSGatewayLogout) GetUserId() uint64

func (*CSGatewayLogout) ProtoMessage

func (*CSGatewayLogout) ProtoMessage()

func (*CSGatewayLogout) ProtoReflect

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

func (*CSGatewayLogout) Reset

func (x *CSGatewayLogout) Reset()

func (*CSGatewayLogout) String

func (x *CSGatewayLogout) String() string

func (*CSGatewayLogout) Validate

func (m *CSGatewayLogout) Validate() error

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

type CSGatewayLogoutValidationError

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

CSGatewayLogoutValidationError is the validation error returned by CSGatewayLogout.Validate if the designated constraints aren't met.

func (CSGatewayLogoutValidationError) Cause

Cause function returns cause value.

func (CSGatewayLogoutValidationError) Error

Error satisfies the builtin error interface

func (CSGatewayLogoutValidationError) ErrorName

func (e CSGatewayLogoutValidationError) ErrorName() string

ErrorName returns error name.

func (CSGatewayLogoutValidationError) Field

Field function returns field value.

func (CSGatewayLogoutValidationError) Key

Key function returns key value.

func (CSGatewayLogoutValidationError) Reason

Reason function returns reason value.

type CSGatewayOnlineList

type CSGatewayOnlineList struct {
	ZoneId int32 `protobuf:"varint,1,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录时,区分玩家要登录的时哪个区,DB数据、online系统互通
	// contains filtered or unexported fields
}

func (*CSGatewayOnlineList) Descriptor deprecated

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

Deprecated: Use CSGatewayOnlineList.ProtoReflect.Descriptor instead.

func (*CSGatewayOnlineList) GetZoneId

func (x *CSGatewayOnlineList) GetZoneId() int32

func (*CSGatewayOnlineList) ProtoMessage

func (*CSGatewayOnlineList) ProtoMessage()

func (*CSGatewayOnlineList) ProtoReflect

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

func (*CSGatewayOnlineList) Reset

func (x *CSGatewayOnlineList) Reset()

func (*CSGatewayOnlineList) String

func (x *CSGatewayOnlineList) String() string

func (*CSGatewayOnlineList) Validate

func (m *CSGatewayOnlineList) Validate() error

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

type CSGatewayOnlineListValidationError

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

CSGatewayOnlineListValidationError is the validation error returned by CSGatewayOnlineList.Validate if the designated constraints aren't met.

func (CSGatewayOnlineListValidationError) Cause

Cause function returns cause value.

func (CSGatewayOnlineListValidationError) Error

Error satisfies the builtin error interface

func (CSGatewayOnlineListValidationError) ErrorName

ErrorName returns error name.

func (CSGatewayOnlineListValidationError) Field

Field function returns field value.

func (CSGatewayOnlineListValidationError) Key

Key function returns key value.

func (CSGatewayOnlineListValidationError) Reason

Reason function returns reason value.

type CSReconnection

type CSReconnection struct {
	Userid   uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"`
	Token    string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	PlatName string `protobuf:"bytes,3,opt,name=platName,proto3" json:"platName,omitempty"`
	ZoneId   int32  `protobuf:"varint,4,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录时,区分玩家要登录的时哪个区,DB数据、online系统互通
	Version  string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*CSReconnection) Descriptor deprecated

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

Deprecated: Use CSReconnection.ProtoReflect.Descriptor instead.

func (*CSReconnection) GetPlatName

func (x *CSReconnection) GetPlatName() string

func (*CSReconnection) GetToken

func (x *CSReconnection) GetToken() string

func (*CSReconnection) GetUserid

func (x *CSReconnection) GetUserid() uint64

func (*CSReconnection) GetVersion

func (x *CSReconnection) GetVersion() string

func (*CSReconnection) GetZoneId

func (x *CSReconnection) GetZoneId() int32

func (*CSReconnection) ProtoMessage

func (*CSReconnection) ProtoMessage()

func (*CSReconnection) ProtoReflect

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

func (*CSReconnection) Reset

func (x *CSReconnection) Reset()

func (*CSReconnection) String

func (x *CSReconnection) String() string

func (*CSReconnection) Validate

func (m *CSReconnection) Validate() error

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

type CSReconnectionValidationError

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

CSReconnectionValidationError is the validation error returned by CSReconnection.Validate if the designated constraints aren't met.

func (CSReconnectionValidationError) Cause

Cause function returns cause value.

func (CSReconnectionValidationError) Error

Error satisfies the builtin error interface

func (CSReconnectionValidationError) ErrorName

func (e CSReconnectionValidationError) ErrorName() string

ErrorName returns error name.

func (CSReconnectionValidationError) Field

Field function returns field value.

func (CSReconnectionValidationError) Key

Key function returns key value.

func (CSReconnectionValidationError) Reason

Reason function returns reason value.

type ClientOffline added in v1.3.0

type ClientOffline struct {
	Userid uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"`
	OpType uint32 `protobuf:"varint,2,opt,name=opType,proto3" json:"opType,omitempty"` // 1-离线 2-切线(异地登录)
	// contains filtered or unexported fields
}

func (*ClientOffline) Descriptor deprecated added in v1.3.0

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

Deprecated: Use ClientOffline.ProtoReflect.Descriptor instead.

func (*ClientOffline) GetOpType added in v1.3.0

func (x *ClientOffline) GetOpType() uint32

func (*ClientOffline) GetUserid added in v1.3.0

func (x *ClientOffline) GetUserid() uint64

func (*ClientOffline) ProtoMessage added in v1.3.0

func (*ClientOffline) ProtoMessage()

func (*ClientOffline) ProtoReflect added in v1.3.0

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

func (*ClientOffline) Reset added in v1.3.0

func (x *ClientOffline) Reset()

func (*ClientOffline) String added in v1.3.0

func (x *ClientOffline) String() string

func (*ClientOffline) Validate added in v1.3.0

func (m *ClientOffline) Validate() error

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

type ClientOfflineRet added in v1.3.1

type ClientOfflineRet struct {
	Userid    uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"`
	Result    uint32 `protobuf:"varint,2,opt,name=result,proto3" json:"result,omitempty"`
	Players   int32  `protobuf:"varint,3,opt,name=players,proto3" json:"players,omitempty"`     // 服务器当前人数
	OpType    uint32 `protobuf:"varint,4,opt,name=opType,proto3" json:"opType,omitempty"`       // 1-离线 2-切线(异地登录)
	ProcIndex uint32 `protobuf:"varint,5,opt,name=procIndex,proto3" json:"procIndex,omitempty"` // 当前所在的服务器ID
	Version   string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use ClientOfflineRet.ProtoReflect.Descriptor instead.

func (*ClientOfflineRet) GetOpType added in v1.3.1

func (x *ClientOfflineRet) GetOpType() uint32

func (*ClientOfflineRet) GetPlayers added in v1.3.1

func (x *ClientOfflineRet) GetPlayers() int32

func (*ClientOfflineRet) GetProcIndex added in v1.3.1

func (x *ClientOfflineRet) GetProcIndex() uint32

func (*ClientOfflineRet) GetResult added in v1.3.1

func (x *ClientOfflineRet) GetResult() uint32

func (*ClientOfflineRet) GetUserid added in v1.3.1

func (x *ClientOfflineRet) GetUserid() uint64

func (*ClientOfflineRet) GetVersion added in v1.3.1

func (x *ClientOfflineRet) GetVersion() string

func (*ClientOfflineRet) ProtoMessage added in v1.3.1

func (*ClientOfflineRet) ProtoMessage()

func (*ClientOfflineRet) ProtoReflect added in v1.3.1

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

func (*ClientOfflineRet) Reset added in v1.3.1

func (x *ClientOfflineRet) Reset()

func (*ClientOfflineRet) String added in v1.3.1

func (x *ClientOfflineRet) String() string

func (*ClientOfflineRet) Validate added in v1.3.1

func (m *ClientOfflineRet) Validate() error

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

type ClientOfflineRetValidationError added in v1.3.1

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

ClientOfflineRetValidationError is the validation error returned by ClientOfflineRet.Validate if the designated constraints aren't met.

func (ClientOfflineRetValidationError) Cause added in v1.3.1

Cause function returns cause value.

func (ClientOfflineRetValidationError) Error added in v1.3.1

Error satisfies the builtin error interface

func (ClientOfflineRetValidationError) ErrorName added in v1.3.1

ErrorName returns error name.

func (ClientOfflineRetValidationError) Field added in v1.3.1

Field function returns field value.

func (ClientOfflineRetValidationError) Key added in v1.3.1

Key function returns key value.

func (ClientOfflineRetValidationError) Reason added in v1.3.1

Reason function returns reason value.

type ClientOfflineValidationError added in v1.3.0

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

ClientOfflineValidationError is the validation error returned by ClientOffline.Validate if the designated constraints aren't met.

func (ClientOfflineValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (ClientOfflineValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (ClientOfflineValidationError) ErrorName added in v1.3.0

func (e ClientOfflineValidationError) ErrorName() string

ErrorName returns error name.

func (ClientOfflineValidationError) Field added in v1.3.0

Field function returns field value.

func (ClientOfflineValidationError) Key added in v1.3.0

Key function returns key value.

func (ClientOfflineValidationError) Reason added in v1.3.0

Reason function returns reason value.

type ClientOnline added in v1.3.1

type ClientOnline struct {
	Userid      uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"`
	Reconnected bool   `protobuf:"varint,2,opt,name=reconnected,proto3" json:"reconnected,omitempty"`
	RemoteIp    string `protobuf:"bytes,3,opt,name=remoteIp,proto3" json:"remoteIp,omitempty"`
	GatewayIp   string `protobuf:"bytes,4,opt,name=gatewayIp,proto3" json:"gatewayIp,omitempty"`
	Version     string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use ClientOnline.ProtoReflect.Descriptor instead.

func (*ClientOnline) GetGatewayIp added in v1.3.1

func (x *ClientOnline) GetGatewayIp() string

func (*ClientOnline) GetReconnected added in v1.3.1

func (x *ClientOnline) GetReconnected() bool

func (*ClientOnline) GetRemoteIp added in v1.3.1

func (x *ClientOnline) GetRemoteIp() string

func (*ClientOnline) GetUserid added in v1.3.1

func (x *ClientOnline) GetUserid() uint64

func (*ClientOnline) GetVersion added in v1.3.1

func (x *ClientOnline) GetVersion() string

func (*ClientOnline) ProtoMessage added in v1.3.1

func (*ClientOnline) ProtoMessage()

func (*ClientOnline) ProtoReflect added in v1.3.1

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

func (*ClientOnline) Reset added in v1.3.1

func (x *ClientOnline) Reset()

func (*ClientOnline) String added in v1.3.1

func (x *ClientOnline) String() string

func (*ClientOnline) Validate added in v1.3.1

func (m *ClientOnline) Validate() error

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

type ClientOnlineRet added in v1.3.0

type ClientOnlineRet struct {
	Result          uint32 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	Userid          uint64 `protobuf:"varint,2,opt,name=userid,proto3" json:"userid,omitempty"`
	CharId          int32  `protobuf:"varint,3,opt,name=charId,proto3" json:"charId,omitempty"`
	Name            string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Gold            uint32 `protobuf:"varint,5,opt,name=gold,proto3" json:"gold,omitempty"`
	SceneId         int32  `protobuf:"varint,6,opt,name=sceneId,proto3" json:"sceneId,omitempty"`
	Players         int32  `protobuf:"varint,7,opt,name=players,proto3" json:"players,omitempty"`
	IsNew           bool   `protobuf:"varint,8,opt,name=isNew,proto3" json:"isNew,omitempty"`
	Frame           uint32 `protobuf:"varint,9,opt,name=frame,proto3" json:"frame,omitempty"`
	Head            uint32 `protobuf:"varint,10,opt,name=head,proto3" json:"head,omitempty"`
	Model           uint32 `protobuf:"varint,11,opt,name=model,proto3" json:"model,omitempty"`
	Sex             uint32 `protobuf:"varint,12,opt,name=sex,proto3" json:"sex,omitempty"`
	BubbleFrame     uint32 `protobuf:"varint,13,opt,name=bubbleFrame,proto3" json:"bubbleFrame,omitempty"`
	SilverCoin      int32  `protobuf:"varint,14,opt,name=silverCoin,proto3" json:"silverCoin,omitempty"`
	Level           int32  `protobuf:"varint,15,opt,name=level,proto3" json:"level,omitempty"`
	Exp             int32  `protobuf:"varint,16,opt,name=exp,proto3" json:"exp,omitempty"`
	RegTime         int64  `protobuf:"varint,17,opt,name=regTime,proto3" json:"regTime,omitempty"`
	ServerTime      int64  `protobuf:"varint,18,opt,name=serverTime,proto3" json:"serverTime,omitempty"`
	Reconnection    bool   `protobuf:"varint,19,opt,name=reconnection,proto3" json:"reconnection,omitempty"`
	TodayFirstLogin bool   `protobuf:"varint,20,opt,name=todayFirstLogin,proto3" json:"todayFirstLogin,omitempty"`
	ProcIndex       uint32 `protobuf:"varint,21,opt,name=procIndex,proto3" json:"procIndex,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientOnlineRet) Descriptor deprecated added in v1.3.0

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

Deprecated: Use ClientOnlineRet.ProtoReflect.Descriptor instead.

func (*ClientOnlineRet) GetBubbleFrame added in v1.3.0

func (x *ClientOnlineRet) GetBubbleFrame() uint32

func (*ClientOnlineRet) GetCharId added in v1.3.0

func (x *ClientOnlineRet) GetCharId() int32

func (*ClientOnlineRet) GetExp added in v1.3.0

func (x *ClientOnlineRet) GetExp() int32

func (*ClientOnlineRet) GetFrame added in v1.3.0

func (x *ClientOnlineRet) GetFrame() uint32

func (*ClientOnlineRet) GetGold added in v1.3.0

func (x *ClientOnlineRet) GetGold() uint32

func (*ClientOnlineRet) GetHead added in v1.3.0

func (x *ClientOnlineRet) GetHead() uint32

func (*ClientOnlineRet) GetIsNew added in v1.3.0

func (x *ClientOnlineRet) GetIsNew() bool

func (*ClientOnlineRet) GetLevel added in v1.3.0

func (x *ClientOnlineRet) GetLevel() int32

func (*ClientOnlineRet) GetModel added in v1.3.0

func (x *ClientOnlineRet) GetModel() uint32

func (*ClientOnlineRet) GetName added in v1.3.0

func (x *ClientOnlineRet) GetName() string

func (*ClientOnlineRet) GetPlayers added in v1.3.0

func (x *ClientOnlineRet) GetPlayers() int32

func (*ClientOnlineRet) GetProcIndex added in v1.3.0

func (x *ClientOnlineRet) GetProcIndex() uint32

func (*ClientOnlineRet) GetReconnection added in v1.3.0

func (x *ClientOnlineRet) GetReconnection() bool

func (*ClientOnlineRet) GetRegTime added in v1.3.0

func (x *ClientOnlineRet) GetRegTime() int64

func (*ClientOnlineRet) GetResult added in v1.3.0

func (x *ClientOnlineRet) GetResult() uint32

func (*ClientOnlineRet) GetSceneId added in v1.3.0

func (x *ClientOnlineRet) GetSceneId() int32

func (*ClientOnlineRet) GetServerTime added in v1.3.0

func (x *ClientOnlineRet) GetServerTime() int64

func (*ClientOnlineRet) GetSex added in v1.3.0

func (x *ClientOnlineRet) GetSex() uint32

func (*ClientOnlineRet) GetSilverCoin added in v1.3.0

func (x *ClientOnlineRet) GetSilverCoin() int32

func (*ClientOnlineRet) GetTodayFirstLogin added in v1.3.0

func (x *ClientOnlineRet) GetTodayFirstLogin() bool

func (*ClientOnlineRet) GetUserid added in v1.3.0

func (x *ClientOnlineRet) GetUserid() uint64

func (*ClientOnlineRet) ProtoMessage added in v1.3.0

func (*ClientOnlineRet) ProtoMessage()

func (*ClientOnlineRet) ProtoReflect added in v1.3.0

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

func (*ClientOnlineRet) Reset added in v1.3.0

func (x *ClientOnlineRet) Reset()

func (*ClientOnlineRet) String added in v1.3.0

func (x *ClientOnlineRet) String() string

func (*ClientOnlineRet) Validate added in v1.3.0

func (m *ClientOnlineRet) Validate() error

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

type ClientOnlineRetValidationError added in v1.3.0

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

ClientOnlineRetValidationError is the validation error returned by ClientOnlineRet.Validate if the designated constraints aren't met.

func (ClientOnlineRetValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (ClientOnlineRetValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (ClientOnlineRetValidationError) ErrorName added in v1.3.0

func (e ClientOnlineRetValidationError) ErrorName() string

ErrorName returns error name.

func (ClientOnlineRetValidationError) Field added in v1.3.0

Field function returns field value.

func (ClientOnlineRetValidationError) Key added in v1.3.0

Key function returns key value.

func (ClientOnlineRetValidationError) Reason added in v1.3.0

Reason function returns reason value.

type ClientOnlineValidationError added in v1.3.1

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

ClientOnlineValidationError is the validation error returned by ClientOnline.Validate if the designated constraints aren't met.

func (ClientOnlineValidationError) Cause added in v1.3.1

Cause function returns cause value.

func (ClientOnlineValidationError) Error added in v1.3.1

Error satisfies the builtin error interface

func (ClientOnlineValidationError) ErrorName added in v1.3.1

func (e ClientOnlineValidationError) ErrorName() string

ErrorName returns error name.

func (ClientOnlineValidationError) Field added in v1.3.1

Field function returns field value.

func (ClientOnlineValidationError) Key added in v1.3.1

Key function returns key value.

func (ClientOnlineValidationError) Reason added in v1.3.1

Reason function returns reason value.

type ClientWorld added in v1.3.0

type ClientWorld struct {
	Userid        uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"`
	IsReconnected bool   `protobuf:"varint,2,opt,name=IsReconnected,proto3" json:"IsReconnected,omitempty"`
	RemoteIp      string `protobuf:"bytes,3,opt,name=remoteIp,proto3" json:"remoteIp,omitempty"`
	GatewayIp     string `protobuf:"bytes,4,opt,name=gatewayIp,proto3" json:"gatewayIp,omitempty"`
	Version       string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientWorld) Descriptor deprecated added in v1.3.0

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

Deprecated: Use ClientWorld.ProtoReflect.Descriptor instead.

func (*ClientWorld) GetGatewayIp added in v1.3.0

func (x *ClientWorld) GetGatewayIp() string

func (*ClientWorld) GetIsReconnected added in v1.3.0

func (x *ClientWorld) GetIsReconnected() bool

func (*ClientWorld) GetRemoteIp added in v1.3.0

func (x *ClientWorld) GetRemoteIp() string

func (*ClientWorld) GetUserid added in v1.3.0

func (x *ClientWorld) GetUserid() uint64

func (*ClientWorld) GetVersion added in v1.3.0

func (x *ClientWorld) GetVersion() string

func (*ClientWorld) ProtoMessage added in v1.3.0

func (*ClientWorld) ProtoMessage()

func (*ClientWorld) ProtoReflect added in v1.3.0

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

func (*ClientWorld) Reset added in v1.3.0

func (x *ClientWorld) Reset()

func (*ClientWorld) String added in v1.3.0

func (x *ClientWorld) String() string

func (*ClientWorld) Validate added in v1.3.0

func (m *ClientWorld) Validate() error

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

type ClientWorldValidationError added in v1.3.0

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

ClientWorldValidationError is the validation error returned by ClientWorld.Validate if the designated constraints aren't met.

func (ClientWorldValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (ClientWorldValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (ClientWorldValidationError) ErrorName added in v1.3.0

func (e ClientWorldValidationError) ErrorName() string

ErrorName returns error name.

func (ClientWorldValidationError) Field added in v1.3.0

Field function returns field value.

func (ClientWorldValidationError) Key added in v1.3.0

Key function returns key value.

func (ClientWorldValidationError) Reason added in v1.3.0

Reason function returns reason value.

type GatewayErr

type GatewayErr int32
const (
	GatewayErr_Unknown        GatewayErr = 0
	GatewayErr_Success        GatewayErr = 1 // 成功
	GatewayErr_Verify         GatewayErr = 2 // 登录验证失败
	GatewayErr_RepeatedVerify GatewayErr = 3 // 重复验证
	GatewayErr_Closed         GatewayErr = 4 // 系统关门维护中
	GatewayErr_LoseCurCon     GatewayErr = 5 // 当前连接不在了
	GatewayErr_DisCurConn     GatewayErr = 6 // 当前连接没有断开
	GatewayErr_BeingReConn    GatewayErr = 7 // 正在重连
	GatewayErr_ZoneIdError    GatewayErr = 8 // 区错误
)

func (GatewayErr) Descriptor

func (GatewayErr) Descriptor() protoreflect.EnumDescriptor

func (GatewayErr) Enum

func (x GatewayErr) Enum() *GatewayErr

func (GatewayErr) EnumDescriptor deprecated

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

Deprecated: Use GatewayErr.Descriptor instead.

func (GatewayErr) Number

func (x GatewayErr) Number() protoreflect.EnumNumber

func (GatewayErr) String

func (x GatewayErr) String() string

func (GatewayErr) Type

type GatewayForwardPacket added in v1.3.1

type GatewayForwardPacket struct {
	Userid       uint64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"`
	PlayerNumber int32  `protobuf:"varint,2,opt,name=playerNumber,proto3" json:"playerNumber,omitempty"` // 将online在线人数,实时带给gateway
	Data         []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use GatewayForwardPacket.ProtoReflect.Descriptor instead.

func (*GatewayForwardPacket) GetData added in v1.3.1

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

func (*GatewayForwardPacket) GetPlayerNumber added in v1.3.1

func (x *GatewayForwardPacket) GetPlayerNumber() int32

func (*GatewayForwardPacket) GetUserid added in v1.3.1

func (x *GatewayForwardPacket) GetUserid() uint64

func (*GatewayForwardPacket) ProtoMessage added in v1.3.1

func (*GatewayForwardPacket) ProtoMessage()

func (*GatewayForwardPacket) ProtoReflect added in v1.3.1

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

func (*GatewayForwardPacket) Reset added in v1.3.1

func (x *GatewayForwardPacket) Reset()

func (*GatewayForwardPacket) String added in v1.3.1

func (x *GatewayForwardPacket) String() string

func (*GatewayForwardPacket) Validate added in v1.3.1

func (m *GatewayForwardPacket) Validate() error

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

type GatewayForwardPacketValidationError added in v1.3.1

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

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

func (GatewayForwardPacketValidationError) Cause added in v1.3.1

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 JoinErrorCode

type JoinErrorCode int32
const (
	JoinErrorCode_JoinWorldSuccess JoinErrorCode = 0 //成功
	JoinErrorCode_JoinWorldNotOpen JoinErrorCode = 1 //服务器未开放
	JoinErrorCode_JoinWorldIng     JoinErrorCode = 2 //正在登陆中
	JoinErrorCode_JoinWorldIsFull  JoinErrorCode = 3 //服务器人数已满
	JoinErrorCode_JoinZoneIdError  JoinErrorCode = 4 //区错误
)

func (JoinErrorCode) Descriptor

func (JoinErrorCode) Enum

func (x JoinErrorCode) Enum() *JoinErrorCode

func (JoinErrorCode) EnumDescriptor deprecated

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

Deprecated: Use JoinErrorCode.Descriptor instead.

func (JoinErrorCode) Number

func (JoinErrorCode) String

func (x JoinErrorCode) String() string

func (JoinErrorCode) Type

type OnlineList

type OnlineList struct {
	Sid     string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"`
	Addr    string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Name    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Players int32  `protobuf:"varint,4,opt,name=players,proto3" json:"players,omitempty"`
	ProId   uint32 `protobuf:"varint,5,opt,name=proId,proto3" json:"proId,omitempty"`
	Max     int32  `protobuf:"varint,6,opt,name=max,proto3" json:"max,omitempty"`       // 最大人数
	ZoneId  int32  `protobuf:"varint,7,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录时,区分玩家要登录的时哪个区,DB数据、online系统互通
	// contains filtered or unexported fields
}

func (*OnlineList) Descriptor deprecated

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

Deprecated: Use OnlineList.ProtoReflect.Descriptor instead.

func (*OnlineList) GetAddr

func (x *OnlineList) GetAddr() string

func (*OnlineList) GetMax

func (x *OnlineList) GetMax() int32

func (*OnlineList) GetName

func (x *OnlineList) GetName() string

func (*OnlineList) GetPlayers

func (x *OnlineList) GetPlayers() int32

func (*OnlineList) GetProId

func (x *OnlineList) GetProId() uint32

func (*OnlineList) GetSid

func (x *OnlineList) GetSid() string

func (*OnlineList) GetZoneId

func (x *OnlineList) GetZoneId() int32

func (*OnlineList) ProtoMessage

func (*OnlineList) ProtoMessage()

func (*OnlineList) ProtoReflect

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

func (*OnlineList) Reset

func (x *OnlineList) Reset()

func (*OnlineList) String

func (x *OnlineList) String() string

func (*OnlineList) Validate

func (m *OnlineList) Validate() error

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

type OnlineListValidationError

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

OnlineListValidationError is the validation error returned by OnlineList.Validate if the designated constraints aren't met.

func (OnlineListValidationError) Cause

func (e OnlineListValidationError) Cause() error

Cause function returns cause value.

func (OnlineListValidationError) Error

Error satisfies the builtin error interface

func (OnlineListValidationError) ErrorName

func (e OnlineListValidationError) ErrorName() string

ErrorName returns error name.

func (OnlineListValidationError) Field

Field function returns field value.

func (OnlineListValidationError) Key

Key function returns key value.

func (OnlineListValidationError) Reason

func (e OnlineListValidationError) Reason() string

Reason function returns reason value.

type OnlineResult added in v1.3.1

type OnlineResult int32
const (
	OnlineResult_OnlineFailure OnlineResult = 0
	OnlineResult_OnlineSuccess OnlineResult = 1
)

func (OnlineResult) Descriptor added in v1.3.1

func (OnlineResult) Enum added in v1.3.1

func (x OnlineResult) Enum() *OnlineResult

func (OnlineResult) EnumDescriptor deprecated added in v1.3.1

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

Deprecated: Use OnlineResult.Descriptor instead.

func (OnlineResult) Number added in v1.3.1

func (OnlineResult) String added in v1.3.1

func (x OnlineResult) String() string

func (OnlineResult) Type added in v1.3.1

type RegisterToGame added in v1.3.1

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

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

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

Deprecated: Use RegisterToGame.ProtoReflect.Descriptor instead.

func (*RegisterToGame) GetScrSerType added in v1.3.1

func (x *RegisterToGame) GetScrSerType() uint32

func (*RegisterToGame) GetSerRpcAddr added in v1.3.1

func (x *RegisterToGame) GetSerRpcAddr() string

func (*RegisterToGame) GetServerAddr added in v1.3.1

func (x *RegisterToGame) GetServerAddr() string

func (*RegisterToGame) GetServerID added in v1.3.1

func (x *RegisterToGame) GetServerID() string

func (*RegisterToGame) GetServerType added in v1.3.1

func (x *RegisterToGame) GetServerType() uint32

func (*RegisterToGame) GetToken added in v1.3.1

func (x *RegisterToGame) GetToken() string

func (*RegisterToGame) ProtoMessage added in v1.3.1

func (*RegisterToGame) ProtoMessage()

func (*RegisterToGame) ProtoReflect added in v1.3.1

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

func (*RegisterToGame) Reset added in v1.3.1

func (x *RegisterToGame) Reset()

func (*RegisterToGame) String added in v1.3.1

func (x *RegisterToGame) String() string

func (*RegisterToGame) Validate added in v1.3.1

func (m *RegisterToGame) Validate() error

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

type RegisterToGameRet added in v1.3.1

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

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

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

Deprecated: Use RegisterToGameRet.ProtoReflect.Descriptor instead.

func (*RegisterToGameRet) GetMsgIds added in v1.3.1

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

func (*RegisterToGameRet) GetResult added in v1.3.1

func (x *RegisterToGameRet) GetResult() uint32

func (*RegisterToGameRet) ProtoMessage added in v1.3.1

func (*RegisterToGameRet) ProtoMessage()

func (*RegisterToGameRet) ProtoReflect added in v1.3.1

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

func (*RegisterToGameRet) Reset added in v1.3.1

func (x *RegisterToGameRet) Reset()

func (*RegisterToGameRet) String added in v1.3.1

func (x *RegisterToGameRet) String() string

func (*RegisterToGameRet) Validate added in v1.3.1

func (m *RegisterToGameRet) Validate() error

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

type RegisterToGameRetValidationError added in v1.3.1

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

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

func (RegisterToGameRetValidationError) Cause added in v1.3.1

Cause function returns cause value.

func (RegisterToGameRetValidationError) Error added in v1.3.1

Error satisfies the builtin error interface

func (RegisterToGameRetValidationError) ErrorName added in v1.3.1

ErrorName returns error name.

func (RegisterToGameRetValidationError) Field added in v1.3.1

Field function returns field value.

func (RegisterToGameRetValidationError) Key added in v1.3.1

Key function returns key value.

func (RegisterToGameRetValidationError) Reason added in v1.3.1

Reason function returns reason value.

type RegisterToGameValidationError added in v1.3.1

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

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

func (RegisterToGameValidationError) Cause added in v1.3.1

Cause function returns cause value.

func (RegisterToGameValidationError) Error added in v1.3.1

Error satisfies the builtin error interface

func (RegisterToGameValidationError) ErrorName added in v1.3.1

func (e RegisterToGameValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterToGameValidationError) Field added in v1.3.1

Field function returns field value.

func (RegisterToGameValidationError) Key added in v1.3.1

Key function returns key value.

func (RegisterToGameValidationError) Reason added in v1.3.1

Reason function returns reason value.

type RegisterToGateway added in v1.3.1

type RegisterToGateway struct {
	Token      string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	ServerID   string   `protobuf:"bytes,2,opt,name=serverID,proto3" json:"serverID,omitempty"`
	ServerType uint32   `protobuf:"varint,3,opt,name=serverType,proto3" json:"serverType,omitempty"`
	ServerAddr string   `protobuf:"bytes,4,opt,name=serverAddr,proto3" json:"serverAddr,omitempty"`
	Msgids     []uint32 `protobuf:"varint,5,rep,packed,name=msgids,proto3" json:"msgids,omitempty"`
	ProcIndex  uint32   `protobuf:"varint,6,opt,name=procIndex,proto3" json:"procIndex,omitempty"`
	Name       string   `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	MaxPlayer  int32    `protobuf:"varint,8,opt,name=maxPlayer,proto3" json:"maxPlayer,omitempty"` // 最大人数
	ZoneId     int32    `protobuf:"varint,9,opt,name=zoneId,proto3" json:"zoneId,omitempty"`       //分区新增  在登录/聊天时,区分玩家要登录/聊天于的时哪个区,DB数据、online系统互通
	// contains filtered or unexported fields
}

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

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

Deprecated: Use RegisterToGateway.ProtoReflect.Descriptor instead.

func (*RegisterToGateway) GetMaxPlayer added in v1.3.1

func (x *RegisterToGateway) GetMaxPlayer() int32

func (*RegisterToGateway) GetMsgids added in v1.3.1

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

func (*RegisterToGateway) GetName added in v1.3.1

func (x *RegisterToGateway) GetName() string

func (*RegisterToGateway) GetProcIndex added in v1.3.1

func (x *RegisterToGateway) GetProcIndex() uint32

func (*RegisterToGateway) GetServerAddr added in v1.3.1

func (x *RegisterToGateway) GetServerAddr() string

func (*RegisterToGateway) GetServerID added in v1.3.1

func (x *RegisterToGateway) GetServerID() string

func (*RegisterToGateway) GetServerType added in v1.3.1

func (x *RegisterToGateway) GetServerType() uint32

func (*RegisterToGateway) GetToken added in v1.3.1

func (x *RegisterToGateway) GetToken() string

func (*RegisterToGateway) GetZoneId added in v1.3.1

func (x *RegisterToGateway) GetZoneId() int32

func (*RegisterToGateway) ProtoMessage added in v1.3.1

func (*RegisterToGateway) ProtoMessage()

func (*RegisterToGateway) ProtoReflect added in v1.3.1

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

func (*RegisterToGateway) Reset added in v1.3.1

func (x *RegisterToGateway) Reset()

func (*RegisterToGateway) String added in v1.3.1

func (x *RegisterToGateway) String() string

func (*RegisterToGateway) Validate added in v1.3.1

func (m *RegisterToGateway) Validate() error

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

type RegisterToGatewayRet added in v1.3.1

type RegisterToGatewayRet struct {
	Result uint32 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	ZoneId int32  `protobuf:"varint,2,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增  在登录/聊天时,区分玩家要登录/聊天于的时哪个区,DB数据、online系统互通
	// contains filtered or unexported fields
}

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

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

Deprecated: Use RegisterToGatewayRet.ProtoReflect.Descriptor instead.

func (*RegisterToGatewayRet) GetResult added in v1.3.1

func (x *RegisterToGatewayRet) GetResult() uint32

func (*RegisterToGatewayRet) GetZoneId added in v1.3.1

func (x *RegisterToGatewayRet) GetZoneId() int32

func (*RegisterToGatewayRet) ProtoMessage added in v1.3.1

func (*RegisterToGatewayRet) ProtoMessage()

func (*RegisterToGatewayRet) ProtoReflect added in v1.3.1

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

func (*RegisterToGatewayRet) Reset added in v1.3.1

func (x *RegisterToGatewayRet) Reset()

func (*RegisterToGatewayRet) String added in v1.3.1

func (x *RegisterToGatewayRet) String() string

func (*RegisterToGatewayRet) Validate added in v1.3.1

func (m *RegisterToGatewayRet) Validate() error

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

type RegisterToGatewayRetValidationError added in v1.3.1

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

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

func (RegisterToGatewayRetValidationError) Cause added in v1.3.1

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 SCGatewayJoinOnline

type SCGatewayJoinOnline struct {
	Userid          uint64        `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"`
	Account         string        `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Nick            string        `protobuf:"bytes,4,opt,name=nick,proto3" json:"nick,omitempty"`
	Gold            uint32        `protobuf:"varint,5,opt,name=gold,proto3" json:"gold,omitempty"`
	SceneId         int32         `protobuf:"varint,6,opt,name=sceneId,proto3" json:"sceneId,omitempty"`
	IsNew           bool          `protobuf:"varint,7,opt,name=isNew,proto3" json:"isNew,omitempty"`
	Frame           uint32        `protobuf:"varint,8,opt,name=frame,proto3" json:"frame,omitempty"`  // 相框
	Head            uint32        `protobuf:"varint,9,opt,name=head,proto3" json:"head,omitempty"`    // 头像
	Model           uint32        `protobuf:"varint,10,opt,name=model,proto3" json:"model,omitempty"` // 模型
	Sex             uint32        `protobuf:"varint,11,opt,name=sex,proto3" json:"sex,omitempty"`
	Level           int32         `protobuf:"varint,12,opt,name=level,proto3" json:"level,omitempty"`
	Exp             int32         `protobuf:"varint,13,opt,name=exp,proto3" json:"exp,omitempty"`
	RegTime         int64         `protobuf:"varint,14,opt,name=regTime,proto3" json:"regTime,omitempty"`
	ServerTime      int64         `protobuf:"varint,15,opt,name=serverTime,proto3" json:"serverTime,omitempty"`
	TodayFirstLogin bool          `protobuf:"varint,16,opt,name=todayFirstLogin,proto3" json:"todayFirstLogin,omitempty"`            // 今日首次登陆
	ProcIndex       uint32        `protobuf:"varint,17,opt,name=procIndex,proto3" json:"procIndex,omitempty"`                        // 当前所在的服务器ID
	ErrCode         JoinErrorCode `protobuf:"varint,18,opt,name=errCode,proto3,enum=gateway.JoinErrorCode" json:"errCode,omitempty"` // 进入服务器错误码
	// contains filtered or unexported fields
}

func (*SCGatewayJoinOnline) Descriptor deprecated

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

Deprecated: Use SCGatewayJoinOnline.ProtoReflect.Descriptor instead.

func (*SCGatewayJoinOnline) GetAccount

func (x *SCGatewayJoinOnline) GetAccount() string

func (*SCGatewayJoinOnline) GetErrCode

func (x *SCGatewayJoinOnline) GetErrCode() JoinErrorCode

func (*SCGatewayJoinOnline) GetExp

func (x *SCGatewayJoinOnline) GetExp() int32

func (*SCGatewayJoinOnline) GetFrame

func (x *SCGatewayJoinOnline) GetFrame() uint32

func (*SCGatewayJoinOnline) GetGold

func (x *SCGatewayJoinOnline) GetGold() uint32

func (*SCGatewayJoinOnline) GetHead

func (x *SCGatewayJoinOnline) GetHead() uint32

func (*SCGatewayJoinOnline) GetIsNew

func (x *SCGatewayJoinOnline) GetIsNew() bool

func (*SCGatewayJoinOnline) GetLevel

func (x *SCGatewayJoinOnline) GetLevel() int32

func (*SCGatewayJoinOnline) GetModel

func (x *SCGatewayJoinOnline) GetModel() uint32

func (*SCGatewayJoinOnline) GetNick

func (x *SCGatewayJoinOnline) GetNick() string

func (*SCGatewayJoinOnline) GetProcIndex

func (x *SCGatewayJoinOnline) GetProcIndex() uint32

func (*SCGatewayJoinOnline) GetRegTime

func (x *SCGatewayJoinOnline) GetRegTime() int64

func (*SCGatewayJoinOnline) GetSceneId

func (x *SCGatewayJoinOnline) GetSceneId() int32

func (*SCGatewayJoinOnline) GetServerTime

func (x *SCGatewayJoinOnline) GetServerTime() int64

func (*SCGatewayJoinOnline) GetSex

func (x *SCGatewayJoinOnline) GetSex() uint32

func (*SCGatewayJoinOnline) GetTodayFirstLogin

func (x *SCGatewayJoinOnline) GetTodayFirstLogin() bool

func (*SCGatewayJoinOnline) GetUserid

func (x *SCGatewayJoinOnline) GetUserid() uint64

func (*SCGatewayJoinOnline) ProtoMessage

func (*SCGatewayJoinOnline) ProtoMessage()

func (*SCGatewayJoinOnline) ProtoReflect

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

func (*SCGatewayJoinOnline) Reset

func (x *SCGatewayJoinOnline) Reset()

func (*SCGatewayJoinOnline) String

func (x *SCGatewayJoinOnline) String() string

func (*SCGatewayJoinOnline) Validate

func (m *SCGatewayJoinOnline) Validate() error

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

type SCGatewayJoinOnlineValidationError

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

SCGatewayJoinOnlineValidationError is the validation error returned by SCGatewayJoinOnline.Validate if the designated constraints aren't met.

func (SCGatewayJoinOnlineValidationError) Cause

Cause function returns cause value.

func (SCGatewayJoinOnlineValidationError) Error

Error satisfies the builtin error interface

func (SCGatewayJoinOnlineValidationError) ErrorName

ErrorName returns error name.

func (SCGatewayJoinOnlineValidationError) Field

Field function returns field value.

func (SCGatewayJoinOnlineValidationError) Key

Key function returns key value.

func (SCGatewayJoinOnlineValidationError) Reason

Reason function returns reason value.

type SCGatewayLogin

type SCGatewayLogin struct {
	ErrCode uint32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` // 1,成功,2,登录验证失败, 3, 重复验证, 4,系统关门维护中;
	Userid  uint64 `protobuf:"varint,2,opt,name=userid,proto3" json:"userid,omitempty"`
	Name    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	SceneId int32  `protobuf:"varint,4,opt,name=sceneId,proto3" json:"sceneId,omitempty"`
	ZoneId  int32  `protobuf:"varint,5,opt,name=zoneId,proto3" json:"zoneId,omitempty"` //分区新增 在登录时,区分玩家要登录的时哪个区,DB数据、online系统互通
	// contains filtered or unexported fields
}

func (*SCGatewayLogin) Descriptor deprecated

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

Deprecated: Use SCGatewayLogin.ProtoReflect.Descriptor instead.

func (*SCGatewayLogin) GetErrCode

func (x *SCGatewayLogin) GetErrCode() uint32

func (*SCGatewayLogin) GetName

func (x *SCGatewayLogin) GetName() string

func (*SCGatewayLogin) GetSceneId

func (x *SCGatewayLogin) GetSceneId() int32

func (*SCGatewayLogin) GetUserid

func (x *SCGatewayLogin) GetUserid() uint64

func (*SCGatewayLogin) GetZoneId

func (x *SCGatewayLogin) GetZoneId() int32

func (*SCGatewayLogin) ProtoMessage

func (*SCGatewayLogin) ProtoMessage()

func (*SCGatewayLogin) ProtoReflect

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

func (*SCGatewayLogin) Reset

func (x *SCGatewayLogin) Reset()

func (*SCGatewayLogin) String

func (x *SCGatewayLogin) String() string

func (*SCGatewayLogin) Validate

func (m *SCGatewayLogin) Validate() error

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

type SCGatewayLoginValidationError

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

SCGatewayLoginValidationError is the validation error returned by SCGatewayLogin.Validate if the designated constraints aren't met.

func (SCGatewayLoginValidationError) Cause

Cause function returns cause value.

func (SCGatewayLoginValidationError) Error

Error satisfies the builtin error interface

func (SCGatewayLoginValidationError) ErrorName

func (e SCGatewayLoginValidationError) ErrorName() string

ErrorName returns error name.

func (SCGatewayLoginValidationError) Field

Field function returns field value.

func (SCGatewayLoginValidationError) Key

Key function returns key value.

func (SCGatewayLoginValidationError) Reason

Reason function returns reason value.

type SCGatewayLogout

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

func (*SCGatewayLogout) Descriptor deprecated

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

Deprecated: Use SCGatewayLogout.ProtoReflect.Descriptor instead.

func (*SCGatewayLogout) ProtoMessage

func (*SCGatewayLogout) ProtoMessage()

func (*SCGatewayLogout) ProtoReflect

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

func (*SCGatewayLogout) Reset

func (x *SCGatewayLogout) Reset()

func (*SCGatewayLogout) String

func (x *SCGatewayLogout) String() string

func (*SCGatewayLogout) Validate

func (m *SCGatewayLogout) Validate() error

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

type SCGatewayLogoutValidationError

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

SCGatewayLogoutValidationError is the validation error returned by SCGatewayLogout.Validate if the designated constraints aren't met.

func (SCGatewayLogoutValidationError) Cause

Cause function returns cause value.

func (SCGatewayLogoutValidationError) Error

Error satisfies the builtin error interface

func (SCGatewayLogoutValidationError) ErrorName

func (e SCGatewayLogoutValidationError) ErrorName() string

ErrorName returns error name.

func (SCGatewayLogoutValidationError) Field

Field function returns field value.

func (SCGatewayLogoutValidationError) Key

Key function returns key value.

func (SCGatewayLogoutValidationError) Reason

Reason function returns reason value.

type SCGatewayOnlineList

type SCGatewayOnlineList struct {
	List []*OnlineList `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*SCGatewayOnlineList) Descriptor deprecated

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

Deprecated: Use SCGatewayOnlineList.ProtoReflect.Descriptor instead.

func (*SCGatewayOnlineList) GetList

func (x *SCGatewayOnlineList) GetList() []*OnlineList

func (*SCGatewayOnlineList) ProtoMessage

func (*SCGatewayOnlineList) ProtoMessage()

func (*SCGatewayOnlineList) ProtoReflect

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

func (*SCGatewayOnlineList) Reset

func (x *SCGatewayOnlineList) Reset()

func (*SCGatewayOnlineList) String

func (x *SCGatewayOnlineList) String() string

func (*SCGatewayOnlineList) Validate

func (m *SCGatewayOnlineList) Validate() error

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

type SCGatewayOnlineListValidationError

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

SCGatewayOnlineListValidationError is the validation error returned by SCGatewayOnlineList.Validate if the designated constraints aren't met.

func (SCGatewayOnlineListValidationError) Cause

Cause function returns cause value.

func (SCGatewayOnlineListValidationError) Error

Error satisfies the builtin error interface

func (SCGatewayOnlineListValidationError) ErrorName

ErrorName returns error name.

func (SCGatewayOnlineListValidationError) Field

Field function returns field value.

func (SCGatewayOnlineListValidationError) Key

Key function returns key value.

func (SCGatewayOnlineListValidationError) Reason

Reason function returns reason value.

type SCReconnection

type SCReconnection struct {
	Ret uint32 `protobuf:"varint,1,opt,name=ret,proto3" json:"ret,omitempty"` // 0-失败(失败返回正常登录流程) 1-成功
	// contains filtered or unexported fields
}

func (*SCReconnection) Descriptor deprecated

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

Deprecated: Use SCReconnection.ProtoReflect.Descriptor instead.

func (*SCReconnection) GetRet

func (x *SCReconnection) GetRet() uint32

func (*SCReconnection) ProtoMessage

func (*SCReconnection) ProtoMessage()

func (*SCReconnection) ProtoReflect

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

func (*SCReconnection) Reset

func (x *SCReconnection) Reset()

func (*SCReconnection) String

func (x *SCReconnection) String() string

func (*SCReconnection) Validate

func (m *SCReconnection) Validate() error

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

type SCReconnectionValidationError

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

SCReconnectionValidationError is the validation error returned by SCReconnection.Validate if the designated constraints aren't met.

func (SCReconnectionValidationError) Cause

Cause function returns cause value.

func (SCReconnectionValidationError) Error

Error satisfies the builtin error interface

func (SCReconnectionValidationError) ErrorName

func (e SCReconnectionValidationError) ErrorName() string

ErrorName returns error name.

func (SCReconnectionValidationError) Field

Field function returns field value.

func (SCReconnectionValidationError) Key

Key function returns key value.

func (SCReconnectionValidationError) Reason

Reason function returns reason value.

type SCRewardBoxNotify

type SCRewardBoxNotify struct {
	RewardType uint32           `protobuf:"varint,1,opt,name=rewardType,proto3" json:"rewardType,omitempty"` // 弹框类型 0:弹窗 1:飘字 2:动画
	RewardList map[uint32]int32 ``                                                                           // 任务奖励
	/* 163-byte string literal not displayed */
	Source int32 `protobuf:"varint,3,opt,name=source,proto3" json:"source,omitempty"` // 来源
	// contains filtered or unexported fields
}

func (*SCRewardBoxNotify) Descriptor deprecated

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

Deprecated: Use SCRewardBoxNotify.ProtoReflect.Descriptor instead.

func (*SCRewardBoxNotify) GetRewardList

func (x *SCRewardBoxNotify) GetRewardList() map[uint32]int32

func (*SCRewardBoxNotify) GetRewardType

func (x *SCRewardBoxNotify) GetRewardType() uint32

func (*SCRewardBoxNotify) GetSource

func (x *SCRewardBoxNotify) GetSource() int32

func (*SCRewardBoxNotify) ProtoMessage

func (*SCRewardBoxNotify) ProtoMessage()

func (*SCRewardBoxNotify) ProtoReflect

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

func (*SCRewardBoxNotify) Reset

func (x *SCRewardBoxNotify) Reset()

func (*SCRewardBoxNotify) String

func (x *SCRewardBoxNotify) String() string

func (*SCRewardBoxNotify) Validate

func (m *SCRewardBoxNotify) Validate() error

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

type SCRewardBoxNotifyValidationError

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

SCRewardBoxNotifyValidationError is the validation error returned by SCRewardBoxNotify.Validate if the designated constraints aren't met.

func (SCRewardBoxNotifyValidationError) Cause

Cause function returns cause value.

func (SCRewardBoxNotifyValidationError) Error

Error satisfies the builtin error interface

func (SCRewardBoxNotifyValidationError) ErrorName

ErrorName returns error name.

func (SCRewardBoxNotifyValidationError) Field

Field function returns field value.

func (SCRewardBoxNotifyValidationError) Key

Key function returns key value.

func (SCRewardBoxNotifyValidationError) Reason

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.

Jump to

Keyboard shortcuts

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