player

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 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 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