player

package
v1.4.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_player_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CSAddFriend

type CSAddFriend struct {
	UId uint64 `protobuf:"varint,1,opt,name=UId,proto3" json:"UId,omitempty"`
	// contains filtered or unexported fields
}

func (*CSAddFriend) Descriptor deprecated

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

Deprecated: Use CSAddFriend.ProtoReflect.Descriptor instead.

func (*CSAddFriend) GetUId

func (x *CSAddFriend) GetUId() uint64

func (*CSAddFriend) ProtoMessage

func (*CSAddFriend) ProtoMessage()

func (*CSAddFriend) ProtoReflect

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

func (*CSAddFriend) Reset

func (x *CSAddFriend) Reset()

func (*CSAddFriend) String

func (x *CSAddFriend) String() string

func (*CSAddFriend) Validate

func (m *CSAddFriend) Validate() error

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

type CSAddFriendValidationError

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

CSAddFriendValidationError is the validation error returned by CSAddFriend.Validate if the designated constraints aren't met.

func (CSAddFriendValidationError) Cause

Cause function returns cause value.

func (CSAddFriendValidationError) Error

Error satisfies the builtin error interface

func (CSAddFriendValidationError) ErrorName

func (e CSAddFriendValidationError) ErrorName() string

ErrorName returns error name.

func (CSAddFriendValidationError) Field

Field function returns field value.

func (CSAddFriendValidationError) Key

Key function returns key value.

func (CSAddFriendValidationError) Reason

Reason function returns reason value.

type CSCreateUser

type CSCreateUser struct {
	UserName string `protobuf:"bytes,1,opt,name=UserName,proto3" json:"UserName,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"`
	// contains filtered or unexported fields
}

func (*CSCreateUser) Descriptor deprecated

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

Deprecated: Use CSCreateUser.ProtoReflect.Descriptor instead.

func (*CSCreateUser) GetPassword

func (x *CSCreateUser) GetPassword() string

func (*CSCreateUser) GetUserName

func (x *CSCreateUser) GetUserName() string

func (*CSCreateUser) ProtoMessage

func (*CSCreateUser) ProtoMessage()

func (*CSCreateUser) ProtoReflect

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

func (*CSCreateUser) Reset

func (x *CSCreateUser) Reset()

func (*CSCreateUser) String

func (x *CSCreateUser) String() string

func (*CSCreateUser) Validate

func (m *CSCreateUser) Validate() error

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

type CSCreateUserValidationError

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

CSCreateUserValidationError is the validation error returned by CSCreateUser.Validate if the designated constraints aren't met.

func (CSCreateUserValidationError) Cause

Cause function returns cause value.

func (CSCreateUserValidationError) Error

Error satisfies the builtin error interface

func (CSCreateUserValidationError) ErrorName

func (e CSCreateUserValidationError) ErrorName() string

ErrorName returns error name.

func (CSCreateUserValidationError) Field

Field function returns field value.

func (CSCreateUserValidationError) Key

Key function returns key value.

func (CSCreateUserValidationError) Reason

Reason function returns reason value.

type CSDelFriend

type CSDelFriend struct {
	UId uint64 `protobuf:"varint,1,opt,name=UId,proto3" json:"UId,omitempty"` //玩家Id
	// contains filtered or unexported fields
}

func (*CSDelFriend) Descriptor deprecated

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

Deprecated: Use CSDelFriend.ProtoReflect.Descriptor instead.

func (*CSDelFriend) GetUId

func (x *CSDelFriend) GetUId() uint64

func (*CSDelFriend) ProtoMessage

func (*CSDelFriend) ProtoMessage()

func (*CSDelFriend) ProtoReflect

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

func (*CSDelFriend) Reset

func (x *CSDelFriend) Reset()

func (*CSDelFriend) String

func (x *CSDelFriend) String() string

func (*CSDelFriend) Validate

func (m *CSDelFriend) Validate() error

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

type CSDelFriendValidationError

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

CSDelFriendValidationError is the validation error returned by CSDelFriend.Validate if the designated constraints aren't met.

func (CSDelFriendValidationError) Cause

Cause function returns cause value.

func (CSDelFriendValidationError) Error

Error satisfies the builtin error interface

func (CSDelFriendValidationError) ErrorName

func (e CSDelFriendValidationError) ErrorName() string

ErrorName returns error name.

func (CSDelFriendValidationError) Field

Field function returns field value.

func (CSDelFriendValidationError) Key

Key function returns key value.

func (CSDelFriendValidationError) Reason

Reason function returns reason value.

type CSLogin

type CSLogin struct {
	UserName string `protobuf:"bytes,1,opt,name=UserName,proto3" json:"UserName,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"`
	// contains filtered or unexported fields
}

func (*CSLogin) Descriptor deprecated

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

Deprecated: Use CSLogin.ProtoReflect.Descriptor instead.

func (*CSLogin) GetPassword

func (x *CSLogin) GetPassword() string

func (*CSLogin) GetUserName

func (x *CSLogin) GetUserName() string

func (*CSLogin) ProtoMessage

func (*CSLogin) ProtoMessage()

func (*CSLogin) ProtoReflect

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

func (*CSLogin) Reset

func (x *CSLogin) Reset()

func (*CSLogin) String

func (x *CSLogin) String() string

func (*CSLogin) Validate

func (m *CSLogin) Validate() error

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

type CSLoginValidationError

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

CSLoginValidationError is the validation error returned by CSLogin.Validate if the designated constraints aren't met.

func (CSLoginValidationError) Cause

func (e CSLoginValidationError) Cause() error

Cause function returns cause value.

func (CSLoginValidationError) Error

func (e CSLoginValidationError) Error() string

Error satisfies the builtin error interface

func (CSLoginValidationError) ErrorName

func (e CSLoginValidationError) ErrorName() string

ErrorName returns error name.

func (CSLoginValidationError) Field

func (e CSLoginValidationError) Field() string

Field function returns field value.

func (CSLoginValidationError) Key

func (e CSLoginValidationError) Key() bool

Key function returns key value.

func (CSLoginValidationError) Reason

func (e CSLoginValidationError) Reason() string

Reason function returns reason value.

type CSSendChatMsg

type CSSendChatMsg struct {
	UId      uint64       `protobuf:"varint,1,opt,name=UId,proto3" json:"UId,omitempty"`
	Msg      *ChatMessage `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Category int32        `protobuf:"varint,3,opt,name=Category,proto3" json:"Category,omitempty"` //聊天类型
	// contains filtered or unexported fields
}

聊天请求

func (*CSSendChatMsg) Descriptor deprecated

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

Deprecated: Use CSSendChatMsg.ProtoReflect.Descriptor instead.

func (*CSSendChatMsg) GetCategory

func (x *CSSendChatMsg) GetCategory() int32

func (*CSSendChatMsg) GetMsg

func (x *CSSendChatMsg) GetMsg() *ChatMessage

func (*CSSendChatMsg) GetUId

func (x *CSSendChatMsg) GetUId() uint64

func (*CSSendChatMsg) ProtoMessage

func (*CSSendChatMsg) ProtoMessage()

func (*CSSendChatMsg) ProtoReflect

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

func (*CSSendChatMsg) Reset

func (x *CSSendChatMsg) Reset()

func (*CSSendChatMsg) String

func (x *CSSendChatMsg) String() string

func (*CSSendChatMsg) Validate

func (m *CSSendChatMsg) Validate() error

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

type CSSendChatMsgValidationError

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

CSSendChatMsgValidationError is the validation error returned by CSSendChatMsg.Validate if the designated constraints aren't met.

func (CSSendChatMsgValidationError) Cause

Cause function returns cause value.

func (CSSendChatMsgValidationError) Error

Error satisfies the builtin error interface

func (CSSendChatMsgValidationError) ErrorName

func (e CSSendChatMsgValidationError) ErrorName() string

ErrorName returns error name.

func (CSSendChatMsgValidationError) Field

Field function returns field value.

func (CSSendChatMsgValidationError) Key

Key function returns key value.

func (CSSendChatMsgValidationError) Reason

Reason function returns reason value.

type ChatMessage

type ChatMessage struct {
	Content string   `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"`
	Extra   [][]byte `protobuf:"bytes,2,rep,name=extra,proto3" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatMessage) Descriptor deprecated

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

Deprecated: Use ChatMessage.ProtoReflect.Descriptor instead.

func (*ChatMessage) GetContent

func (x *ChatMessage) GetContent() string

func (*ChatMessage) GetExtra

func (x *ChatMessage) GetExtra() [][]byte

func (*ChatMessage) ProtoMessage

func (*ChatMessage) ProtoMessage()

func (*ChatMessage) ProtoReflect

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

func (*ChatMessage) Reset

func (x *ChatMessage) Reset()

func (*ChatMessage) String

func (x *ChatMessage) String() string

func (*ChatMessage) Validate

func (m *ChatMessage) Validate() error

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

type ChatMessageValidationError

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

ChatMessageValidationError is the validation error returned by ChatMessage.Validate if the designated constraints aren't met.

func (ChatMessageValidationError) Cause

Cause function returns cause value.

func (ChatMessageValidationError) Error

Error satisfies the builtin error interface

func (ChatMessageValidationError) ErrorName

func (e ChatMessageValidationError) ErrorName() string

ErrorName returns error name.

func (ChatMessageValidationError) Field

Field function returns field value.

func (ChatMessageValidationError) Key

Key function returns key value.

func (ChatMessageValidationError) Reason

Reason function returns reason value.

type PlayerData added in v1.4.2

type PlayerData struct {
	PlayerID  uint64 `protobuf:"varint,1,opt,name=PlayerID,proto3" json:"PlayerID,omitempty"`
	GatewayID string `protobuf:"bytes,2,opt,name=GatewayID,proto3" json:"GatewayID,omitempty"`
	GatewayIp string `protobuf:"bytes,3,opt,name=GatewayIp,proto3" json:"GatewayIp,omitempty"`
	OpType    uint32 `protobuf:"varint,4,opt,name=OpType,proto3" json:"OpType,omitempty"`
	RemoteIp  string `protobuf:"bytes,5,opt,name=RemoteIp,proto3" json:"RemoteIp,omitempty"`
	Kick      uint32 `protobuf:"varint,6,opt,name=Kick,proto3" json:"Kick,omitempty"`
	Reason    string `protobuf:"bytes,7,opt,name=Reason,proto3" json:"Reason,omitempty"`
	Version   string `protobuf:"bytes,8,opt,name=Version,proto3" json:"Version,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayerData) Descriptor deprecated added in v1.4.2

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

Deprecated: Use PlayerData.ProtoReflect.Descriptor instead.

func (*PlayerData) GetGatewayID added in v1.4.2

func (x *PlayerData) GetGatewayID() string

func (*PlayerData) GetGatewayIp added in v1.4.2

func (x *PlayerData) GetGatewayIp() string

func (*PlayerData) GetKick added in v1.4.2

func (x *PlayerData) GetKick() uint32

func (*PlayerData) GetOpType added in v1.4.2

func (x *PlayerData) GetOpType() uint32

func (*PlayerData) GetPlayerID added in v1.4.2

func (x *PlayerData) GetPlayerID() uint64

func (*PlayerData) GetReason added in v1.4.2

func (x *PlayerData) GetReason() string

func (*PlayerData) GetRemoteIp added in v1.4.2

func (x *PlayerData) GetRemoteIp() string

func (*PlayerData) GetVersion added in v1.4.2

func (x *PlayerData) GetVersion() string

func (*PlayerData) ProtoMessage added in v1.4.2

func (*PlayerData) ProtoMessage()

func (*PlayerData) ProtoReflect added in v1.4.2

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

func (*PlayerData) Reset added in v1.4.2

func (x *PlayerData) Reset()

func (*PlayerData) String added in v1.4.2

func (x *PlayerData) String() string

func (*PlayerData) Validate added in v1.4.2

func (m *PlayerData) Validate() error

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

type PlayerDataValidationError added in v1.4.2

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

PlayerDataValidationError is the validation error returned by PlayerData.Validate if the designated constraints aren't met.

func (PlayerDataValidationError) Cause added in v1.4.2

func (e PlayerDataValidationError) Cause() error

Cause function returns cause value.

func (PlayerDataValidationError) Error added in v1.4.2

Error satisfies the builtin error interface

func (PlayerDataValidationError) ErrorName added in v1.4.2

func (e PlayerDataValidationError) ErrorName() string

ErrorName returns error name.

func (PlayerDataValidationError) Field added in v1.4.2

Field function returns field value.

func (PlayerDataValidationError) Key added in v1.4.2

Key function returns key value.

func (PlayerDataValidationError) Reason added in v1.4.2

func (e PlayerDataValidationError) Reason() string

Reason function returns reason value.

type PlayerMsgData added in v1.4.1

type PlayerMsgData 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 (*PlayerMsgData) Descriptor deprecated added in v1.4.1

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

Deprecated: Use PlayerMsgData.ProtoReflect.Descriptor instead.

func (*PlayerMsgData) GetData added in v1.4.1

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

func (*PlayerMsgData) GetPlayerID added in v1.4.1

func (x *PlayerMsgData) GetPlayerID() uint64

func (*PlayerMsgData) GetServerID added in v1.4.1

func (x *PlayerMsgData) GetServerID() string

func (*PlayerMsgData) ProtoMessage added in v1.4.1

func (*PlayerMsgData) ProtoMessage()

func (*PlayerMsgData) ProtoReflect added in v1.4.1

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

func (*PlayerMsgData) Reset added in v1.4.1

func (x *PlayerMsgData) Reset()

func (*PlayerMsgData) String added in v1.4.1

func (x *PlayerMsgData) String() string

func (*PlayerMsgData) Validate added in v1.4.1

func (m *PlayerMsgData) Validate() error

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

type PlayerMsgDataValidationError added in v1.4.1

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

PlayerMsgDataValidationError is the validation error returned by PlayerMsgData.Validate if the designated constraints aren't met.

func (PlayerMsgDataValidationError) Cause added in v1.4.1

Cause function returns cause value.

func (PlayerMsgDataValidationError) Error added in v1.4.1

Error satisfies the builtin error interface

func (PlayerMsgDataValidationError) ErrorName added in v1.4.1

func (e PlayerMsgDataValidationError) ErrorName() string

ErrorName returns error name.

func (PlayerMsgDataValidationError) Field added in v1.4.1

Field function returns field value.

func (PlayerMsgDataValidationError) Key added in v1.4.1

Key function returns key value.

func (PlayerMsgDataValidationError) Reason added in v1.4.1

Reason function returns reason value.

type PlayerSyncData added in v1.4.1

type PlayerSyncData struct {
	Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use PlayerSyncData.ProtoReflect.Descriptor instead.

func (*PlayerSyncData) GetData added in v1.4.1

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

func (*PlayerSyncData) ProtoMessage added in v1.4.1

func (*PlayerSyncData) ProtoMessage()

func (*PlayerSyncData) ProtoReflect added in v1.4.1

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

func (*PlayerSyncData) Reset added in v1.4.1

func (x *PlayerSyncData) Reset()

func (*PlayerSyncData) String added in v1.4.1

func (x *PlayerSyncData) String() string

func (*PlayerSyncData) Validate added in v1.4.1

func (m *PlayerSyncData) Validate() error

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

type PlayerSyncDataValidationError added in v1.4.1

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

PlayerSyncDataValidationError is the validation error returned by PlayerSyncData.Validate if the designated constraints aren't met.

func (PlayerSyncDataValidationError) Cause added in v1.4.1

Cause function returns cause value.

func (PlayerSyncDataValidationError) Error added in v1.4.1

Error satisfies the builtin error interface

func (PlayerSyncDataValidationError) ErrorName added in v1.4.1

func (e PlayerSyncDataValidationError) ErrorName() string

ErrorName returns error name.

func (PlayerSyncDataValidationError) Field added in v1.4.1

Field function returns field value.

func (PlayerSyncDataValidationError) Key added in v1.4.1

Key function returns key value.

func (PlayerSyncDataValidationError) Reason added in v1.4.1

Reason function returns reason value.

type SCAddFriend

type SCAddFriend struct {
	Desc string `protobuf:"bytes,1,opt,name=Desc,proto3" json:"Desc,omitempty"`
	// contains filtered or unexported fields
}

func (*SCAddFriend) Descriptor deprecated

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

Deprecated: Use SCAddFriend.ProtoReflect.Descriptor instead.

func (*SCAddFriend) GetDesc

func (x *SCAddFriend) GetDesc() string

func (*SCAddFriend) ProtoMessage

func (*SCAddFriend) ProtoMessage()

func (*SCAddFriend) ProtoReflect

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

func (*SCAddFriend) Reset

func (x *SCAddFriend) Reset()

func (*SCAddFriend) String

func (x *SCAddFriend) String() string

func (*SCAddFriend) Validate

func (m *SCAddFriend) Validate() error

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

type SCAddFriendValidationError

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

SCAddFriendValidationError is the validation error returned by SCAddFriend.Validate if the designated constraints aren't met.

func (SCAddFriendValidationError) Cause

Cause function returns cause value.

func (SCAddFriendValidationError) Error

Error satisfies the builtin error interface

func (SCAddFriendValidationError) ErrorName

func (e SCAddFriendValidationError) ErrorName() string

ErrorName returns error name.

func (SCAddFriendValidationError) Field

Field function returns field value.

func (SCAddFriendValidationError) Key

Key function returns key value.

func (SCAddFriendValidationError) Reason

Reason function returns reason value.

type SCCreateUser

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

func (*SCCreateUser) Descriptor deprecated

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

Deprecated: Use SCCreateUser.ProtoReflect.Descriptor instead.

func (*SCCreateUser) ProtoMessage

func (*SCCreateUser) ProtoMessage()

func (*SCCreateUser) ProtoReflect

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

func (*SCCreateUser) Reset

func (x *SCCreateUser) Reset()

func (*SCCreateUser) String

func (x *SCCreateUser) String() string

func (*SCCreateUser) Validate

func (m *SCCreateUser) Validate() error

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

type SCCreateUserValidationError

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

SCCreateUserValidationError is the validation error returned by SCCreateUser.Validate if the designated constraints aren't met.

func (SCCreateUserValidationError) Cause

Cause function returns cause value.

func (SCCreateUserValidationError) Error

Error satisfies the builtin error interface

func (SCCreateUserValidationError) ErrorName

func (e SCCreateUserValidationError) ErrorName() string

ErrorName returns error name.

func (SCCreateUserValidationError) Field

Field function returns field value.

func (SCCreateUserValidationError) Key

Key function returns key value.

func (SCCreateUserValidationError) Reason

Reason function returns reason value.

type SCDelFriend

type SCDelFriend struct {
	Desc string `protobuf:"bytes,1,opt,name=Desc,proto3" json:"Desc,omitempty"` //请求成功与否描述
	// contains filtered or unexported fields
}

func (*SCDelFriend) Descriptor deprecated

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

Deprecated: Use SCDelFriend.ProtoReflect.Descriptor instead.

func (*SCDelFriend) GetDesc

func (x *SCDelFriend) GetDesc() string

func (*SCDelFriend) ProtoMessage

func (*SCDelFriend) ProtoMessage()

func (*SCDelFriend) ProtoReflect

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

func (*SCDelFriend) Reset

func (x *SCDelFriend) Reset()

func (*SCDelFriend) String

func (x *SCDelFriend) String() string

func (*SCDelFriend) Validate

func (m *SCDelFriend) Validate() error

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

type SCDelFriendValidationError

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

SCDelFriendValidationError is the validation error returned by SCDelFriend.Validate if the designated constraints aren't met.

func (SCDelFriendValidationError) Cause

Cause function returns cause value.

func (SCDelFriendValidationError) Error

Error satisfies the builtin error interface

func (SCDelFriendValidationError) ErrorName

func (e SCDelFriendValidationError) ErrorName() string

ErrorName returns error name.

func (SCDelFriendValidationError) Field

Field function returns field value.

func (SCDelFriendValidationError) Key

Key function returns key value.

func (SCDelFriendValidationError) Reason

Reason function returns reason value.

type SCLogin

type SCLogin struct {
	Ok bool `protobuf:"varint,2,opt,name=Ok,proto3" json:"Ok,omitempty"`
	// contains filtered or unexported fields
}

func (*SCLogin) Descriptor deprecated

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

Deprecated: Use SCLogin.ProtoReflect.Descriptor instead.

func (*SCLogin) GetOk

func (x *SCLogin) GetOk() bool

func (*SCLogin) ProtoMessage

func (*SCLogin) ProtoMessage()

func (*SCLogin) ProtoReflect

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

func (*SCLogin) Reset

func (x *SCLogin) Reset()

func (*SCLogin) String

func (x *SCLogin) String() string

func (*SCLogin) Validate

func (m *SCLogin) Validate() error

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

type SCLoginValidationError

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

SCLoginValidationError is the validation error returned by SCLogin.Validate if the designated constraints aren't met.

func (SCLoginValidationError) Cause

func (e SCLoginValidationError) Cause() error

Cause function returns cause value.

func (SCLoginValidationError) Error

func (e SCLoginValidationError) Error() string

Error satisfies the builtin error interface

func (SCLoginValidationError) ErrorName

func (e SCLoginValidationError) ErrorName() string

ErrorName returns error name.

func (SCLoginValidationError) Field

func (e SCLoginValidationError) Field() string

Field function returns field value.

func (SCLoginValidationError) Key

func (e SCLoginValidationError) Key() bool

Key function returns key value.

func (SCLoginValidationError) Reason

func (e SCLoginValidationError) Reason() string

Reason function returns reason value.

type SCSendChatMsg

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

func (*SCSendChatMsg) Descriptor deprecated

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

Deprecated: Use SCSendChatMsg.ProtoReflect.Descriptor instead.

func (*SCSendChatMsg) ProtoMessage

func (*SCSendChatMsg) ProtoMessage()

func (*SCSendChatMsg) ProtoReflect

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

func (*SCSendChatMsg) Reset

func (x *SCSendChatMsg) Reset()

func (*SCSendChatMsg) String

func (x *SCSendChatMsg) String() string

func (*SCSendChatMsg) Validate

func (m *SCSendChatMsg) Validate() error

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

type SCSendChatMsgValidationError

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

SCSendChatMsgValidationError is the validation error returned by SCSendChatMsg.Validate if the designated constraints aren't met.

func (SCSendChatMsgValidationError) Cause

Cause function returns cause value.

func (SCSendChatMsgValidationError) Error

Error satisfies the builtin error interface

func (SCSendChatMsgValidationError) ErrorName

func (e SCSendChatMsgValidationError) ErrorName() string

ErrorName returns error name.

func (SCSendChatMsgValidationError) Field

Field function returns field value.

func (SCSendChatMsgValidationError) Key

Key function returns key value.

func (SCSendChatMsgValidationError) Reason

Reason function returns reason value.

type Test

type Test struct {
	T *attribute.TestImport `protobuf:"bytes,1,opt,name=t,proto3" json:"t,omitempty"`
	// contains filtered or unexported fields
}

func (*Test) Descriptor deprecated

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

Deprecated: Use Test.ProtoReflect.Descriptor instead.

func (*Test) GetT

func (x *Test) GetT() *attribute.TestImport

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) ProtoReflect

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

func (*Test) Reset

func (x *Test) Reset()

func (*Test) String

func (x *Test) String() string

func (*Test) Validate

func (m *Test) Validate() error

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

type TestValidationError

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

TestValidationError is the validation error returned by Test.Validate if the designated constraints aren't met.

func (TestValidationError) Cause

func (e TestValidationError) Cause() error

Cause function returns cause value.

func (TestValidationError) Error

func (e TestValidationError) Error() string

Error satisfies the builtin error interface

func (TestValidationError) ErrorName

func (e TestValidationError) ErrorName() string

ErrorName returns error name.

func (TestValidationError) Field

func (e TestValidationError) Field() string

Field function returns field value.

func (TestValidationError) Key

func (e TestValidationError) Key() bool

Key function returns key value.

func (TestValidationError) Reason

func (e TestValidationError) 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