Documentation ¶
Index ¶
- Variables
- type AddFriendType
- func (AddFriendType) Descriptor() protoreflect.EnumDescriptor
- func (x AddFriendType) Enum() *AddFriendType
- func (AddFriendType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AddFriendType) Number() protoreflect.EnumNumber
- func (x AddFriendType) String() string
- func (AddFriendType) Type() protoreflect.EnumType
- type DegreeMethod
- func (DegreeMethod) Descriptor() protoreflect.EnumDescriptor
- func (x DegreeMethod) Enum() *DegreeMethod
- func (DegreeMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x DegreeMethod) Number() protoreflect.EnumNumber
- func (x DegreeMethod) String() string
- func (DegreeMethod) Type() protoreflect.EnumType
- type FriendBaseInfo
- func (*FriendBaseInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FriendBaseInfo) GetAddType() AddFriendType
- func (x *FriendBaseInfo) GetBaseLevel() int32
- func (x *FriendBaseInfo) GetFrame() uint32
- func (x *FriendBaseInfo) GetFriendDegree() int32
- func (x *FriendBaseInfo) GetHead() uint32
- func (x *FriendBaseInfo) GetIsOnline() bool
- func (x *FriendBaseInfo) GetModel() uint32
- func (x *FriendBaseInfo) GetName() string
- func (x *FriendBaseInfo) GetOffline() int64
- func (x *FriendBaseInfo) GetPlayerId() uint64
- func (x *FriendBaseInfo) GetTag() string
- func (*FriendBaseInfo) ProtoMessage()
- func (x *FriendBaseInfo) ProtoReflect() protoreflect.Message
- func (x *FriendBaseInfo) Reset()
- func (x *FriendBaseInfo) String() string
- func (m *FriendBaseInfo) Validate() error
- type FriendBaseInfoValidationError
- func (e FriendBaseInfoValidationError) Cause() error
- func (e FriendBaseInfoValidationError) Error() string
- func (e FriendBaseInfoValidationError) ErrorName() string
- func (e FriendBaseInfoValidationError) Field() string
- func (e FriendBaseInfoValidationError) Key() bool
- func (e FriendBaseInfoValidationError) Reason() string
- type RadarSearchPlayerInfo
- func (*RadarSearchPlayerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RadarSearchPlayerInfo) GetBubbleFrame() uint32
- func (x *RadarSearchPlayerInfo) GetDistance() float32
- func (x *RadarSearchPlayerInfo) GetHead() uint32
- func (x *RadarSearchPlayerInfo) GetHeadFrame() uint32
- func (x *RadarSearchPlayerInfo) GetNickName() string
- func (x *RadarSearchPlayerInfo) GetPlayerId() uint64
- func (*RadarSearchPlayerInfo) ProtoMessage()
- func (x *RadarSearchPlayerInfo) ProtoReflect() protoreflect.Message
- func (x *RadarSearchPlayerInfo) Reset()
- func (x *RadarSearchPlayerInfo) String() string
- func (m *RadarSearchPlayerInfo) Validate() error
- type RadarSearchPlayerInfoValidationError
- func (e RadarSearchPlayerInfoValidationError) Cause() error
- func (e RadarSearchPlayerInfoValidationError) Error() string
- func (e RadarSearchPlayerInfoValidationError) ErrorName() string
- func (e RadarSearchPlayerInfoValidationError) Field() string
- func (e RadarSearchPlayerInfoValidationError) Key() bool
- func (e RadarSearchPlayerInfoValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( AddFriendType_name = map[int32]string{ 0: "NormalAdd", 1: "LetterAdd", } AddFriendType_value = map[string]int32{ "NormalAdd": 0, "LetterAdd": 1, } )
Enum value maps for AddFriendType.
var ( DegreeMethod_name = map[int32]string{ 0: "Other", 1: "PrivateChat", 2: "GiftGiveMethod", } DegreeMethod_value = map[string]int32{ "Other": 0, "PrivateChat": 1, "GiftGiveMethod": 2, } )
Enum value maps for DegreeMethod.
var File_friend_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AddFriendType ¶
type AddFriendType int32
加好友的途径
const ( AddFriendType_NormalAdd AddFriendType = 0 //普通加好友 AddFriendType_LetterAdd AddFriendType = 1 //留言板加好友 )
func (AddFriendType) Descriptor ¶
func (AddFriendType) Descriptor() protoreflect.EnumDescriptor
func (AddFriendType) Enum ¶
func (x AddFriendType) Enum() *AddFriendType
func (AddFriendType) EnumDescriptor
deprecated
func (AddFriendType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AddFriendType.Descriptor instead.
func (AddFriendType) Number ¶
func (x AddFriendType) Number() protoreflect.EnumNumber
func (AddFriendType) String ¶
func (x AddFriendType) String() string
func (AddFriendType) Type ¶
func (AddFriendType) Type() protoreflect.EnumType
type DegreeMethod ¶
type DegreeMethod int32
const ( DegreeMethod_Other DegreeMethod = 0 DegreeMethod_PrivateChat DegreeMethod = 1 DegreeMethod_GiftGiveMethod DegreeMethod = 2 )
func (DegreeMethod) Descriptor ¶
func (DegreeMethod) Descriptor() protoreflect.EnumDescriptor
func (DegreeMethod) Enum ¶
func (x DegreeMethod) Enum() *DegreeMethod
func (DegreeMethod) EnumDescriptor
deprecated
func (DegreeMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use DegreeMethod.Descriptor instead.
func (DegreeMethod) Number ¶
func (x DegreeMethod) Number() protoreflect.EnumNumber
func (DegreeMethod) String ¶
func (x DegreeMethod) String() string
func (DegreeMethod) Type ¶
func (DegreeMethod) Type() protoreflect.EnumType
type FriendBaseInfo ¶
type FriendBaseInfo struct { PlayerId uint64 `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"` // 玩家ID Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 昵称 IsOnline bool `protobuf:"varint,3,opt,name=isOnline,proto3" json:"isOnline,omitempty"` // 是否在线 Frame uint32 `protobuf:"varint,4,opt,name=frame,proto3" json:"frame,omitempty"` // 相框 Head uint32 `protobuf:"varint,5,opt,name=head,proto3" json:"head,omitempty"` // 头像 Model uint32 `protobuf:"varint,6,opt,name=model,proto3" json:"model,omitempty"` // 模型 Tag string `protobuf:"bytes,7,opt,name=tag,proto3" json:"tag,omitempty"` // 备注 Offline int64 `protobuf:"varint,8,opt,name=offline,proto3" json:"offline,omitempty"` // 离线时间 FriendDegree int32 `protobuf:"varint,9,opt,name=friendDegree,proto3" json:"friendDegree,omitempty"` // 好友度 AddType AddFriendType `protobuf:"varint,10,opt,name=addType,proto3,enum=friend.AddFriendType" json:"addType,omitempty"` // 加好友的途径 BaseLevel int32 `protobuf:"varint,11,opt,name=baseLevel,proto3" json:"baseLevel,omitempty"` // 角色等级 // contains filtered or unexported fields }
func (*FriendBaseInfo) Descriptor
deprecated
func (*FriendBaseInfo) Descriptor() ([]byte, []int)
Deprecated: Use FriendBaseInfo.ProtoReflect.Descriptor instead.
func (*FriendBaseInfo) GetAddType ¶
func (x *FriendBaseInfo) GetAddType() AddFriendType
func (*FriendBaseInfo) GetBaseLevel ¶
func (x *FriendBaseInfo) GetBaseLevel() int32
func (*FriendBaseInfo) GetFrame ¶
func (x *FriendBaseInfo) GetFrame() uint32
func (*FriendBaseInfo) GetFriendDegree ¶
func (x *FriendBaseInfo) GetFriendDegree() int32
func (*FriendBaseInfo) GetHead ¶
func (x *FriendBaseInfo) GetHead() uint32
func (*FriendBaseInfo) GetIsOnline ¶
func (x *FriendBaseInfo) GetIsOnline() bool
func (*FriendBaseInfo) GetModel ¶
func (x *FriendBaseInfo) GetModel() uint32
func (*FriendBaseInfo) GetName ¶
func (x *FriendBaseInfo) GetName() string
func (*FriendBaseInfo) GetOffline ¶
func (x *FriendBaseInfo) GetOffline() int64
func (*FriendBaseInfo) GetPlayerId ¶
func (x *FriendBaseInfo) GetPlayerId() uint64
func (*FriendBaseInfo) GetTag ¶
func (x *FriendBaseInfo) GetTag() string
func (*FriendBaseInfo) ProtoMessage ¶
func (*FriendBaseInfo) ProtoMessage()
func (*FriendBaseInfo) ProtoReflect ¶
func (x *FriendBaseInfo) ProtoReflect() protoreflect.Message
func (*FriendBaseInfo) Reset ¶
func (x *FriendBaseInfo) Reset()
func (*FriendBaseInfo) String ¶
func (x *FriendBaseInfo) String() string
func (*FriendBaseInfo) Validate ¶
func (m *FriendBaseInfo) Validate() error
Validate checks the field values on FriendBaseInfo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FriendBaseInfoValidationError ¶
type FriendBaseInfoValidationError struct {
// contains filtered or unexported fields
}
FriendBaseInfoValidationError is the validation error returned by FriendBaseInfo.Validate if the designated constraints aren't met.
func (FriendBaseInfoValidationError) Cause ¶
func (e FriendBaseInfoValidationError) Cause() error
Cause function returns cause value.
func (FriendBaseInfoValidationError) Error ¶
func (e FriendBaseInfoValidationError) Error() string
Error satisfies the builtin error interface
func (FriendBaseInfoValidationError) ErrorName ¶
func (e FriendBaseInfoValidationError) ErrorName() string
ErrorName returns error name.
func (FriendBaseInfoValidationError) Field ¶
func (e FriendBaseInfoValidationError) Field() string
Field function returns field value.
func (FriendBaseInfoValidationError) Key ¶
func (e FriendBaseInfoValidationError) Key() bool
Key function returns key value.
func (FriendBaseInfoValidationError) Reason ¶
func (e FriendBaseInfoValidationError) Reason() string
Reason function returns reason value.
type RadarSearchPlayerInfo ¶
type RadarSearchPlayerInfo struct { Distance float32 `protobuf:"fixed32,1,opt,name=distance,proto3" json:"distance,omitempty"` PlayerId uint64 `protobuf:"varint,2,opt,name=playerId,proto3" json:"playerId,omitempty"` BubbleFrame uint32 `protobuf:"varint,3,opt,name=bubbleFrame,proto3" json:"bubbleFrame,omitempty"` // 气泡框 Head uint32 `protobuf:"varint,4,opt,name=head,proto3" json:"head,omitempty"` // 头像 HeadFrame uint32 `protobuf:"varint,5,opt,name=headFrame,proto3" json:"headFrame,omitempty"` // 头像框 NickName string `protobuf:"bytes,6,opt,name=nickName,proto3" json:"nickName,omitempty"` // 昵称 // contains filtered or unexported fields }
func (*RadarSearchPlayerInfo) Descriptor
deprecated
func (*RadarSearchPlayerInfo) Descriptor() ([]byte, []int)
Deprecated: Use RadarSearchPlayerInfo.ProtoReflect.Descriptor instead.
func (*RadarSearchPlayerInfo) GetBubbleFrame ¶
func (x *RadarSearchPlayerInfo) GetBubbleFrame() uint32
func (*RadarSearchPlayerInfo) GetDistance ¶
func (x *RadarSearchPlayerInfo) GetDistance() float32
func (*RadarSearchPlayerInfo) GetHead ¶
func (x *RadarSearchPlayerInfo) GetHead() uint32
func (*RadarSearchPlayerInfo) GetHeadFrame ¶
func (x *RadarSearchPlayerInfo) GetHeadFrame() uint32
func (*RadarSearchPlayerInfo) GetNickName ¶
func (x *RadarSearchPlayerInfo) GetNickName() string
func (*RadarSearchPlayerInfo) GetPlayerId ¶
func (x *RadarSearchPlayerInfo) GetPlayerId() uint64
func (*RadarSearchPlayerInfo) ProtoMessage ¶
func (*RadarSearchPlayerInfo) ProtoMessage()
func (*RadarSearchPlayerInfo) ProtoReflect ¶
func (x *RadarSearchPlayerInfo) ProtoReflect() protoreflect.Message
func (*RadarSearchPlayerInfo) Reset ¶
func (x *RadarSearchPlayerInfo) Reset()
func (*RadarSearchPlayerInfo) String ¶
func (x *RadarSearchPlayerInfo) String() string
func (*RadarSearchPlayerInfo) Validate ¶
func (m *RadarSearchPlayerInfo) Validate() error
Validate checks the field values on RadarSearchPlayerInfo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RadarSearchPlayerInfoValidationError ¶
type RadarSearchPlayerInfoValidationError struct {
// contains filtered or unexported fields
}
RadarSearchPlayerInfoValidationError is the validation error returned by RadarSearchPlayerInfo.Validate if the designated constraints aren't met.
func (RadarSearchPlayerInfoValidationError) Cause ¶
func (e RadarSearchPlayerInfoValidationError) Cause() error
Cause function returns cause value.
func (RadarSearchPlayerInfoValidationError) Error ¶
func (e RadarSearchPlayerInfoValidationError) Error() string
Error satisfies the builtin error interface
func (RadarSearchPlayerInfoValidationError) ErrorName ¶
func (e RadarSearchPlayerInfoValidationError) ErrorName() string
ErrorName returns error name.
func (RadarSearchPlayerInfoValidationError) Field ¶
func (e RadarSearchPlayerInfoValidationError) Field() string
Field function returns field value.
func (RadarSearchPlayerInfoValidationError) Key ¶
func (e RadarSearchPlayerInfoValidationError) Key() bool
Key function returns key value.
func (RadarSearchPlayerInfoValidationError) Reason ¶
func (e RadarSearchPlayerInfoValidationError) Reason() string
Reason function returns reason value.