Documentation ¶
Index ¶
- Variables
- type EmailStatus
- func (EmailStatus) Descriptor() protoreflect.EnumDescriptor
- func (x EmailStatus) Enum() *EmailStatus
- func (EmailStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x EmailStatus) Number() protoreflect.EnumNumber
- func (x EmailStatus) String() string
- func (EmailStatus) Type() protoreflect.EnumType
- type EmailType
- type GoodsInfo
- func (*GoodsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GoodsInfo) GetExpire() int64
- func (x *GoodsInfo) GetItemId() uint32
- func (x *GoodsInfo) GetNum() int32
- func (*GoodsInfo) ProtoMessage()
- func (x *GoodsInfo) ProtoReflect() protoreflect.Message
- func (x *GoodsInfo) Reset()
- func (x *GoodsInfo) String() string
- func (m *GoodsInfo) Validate() error
- type GoodsInfoValidationError
- type Letter
- func (*Letter) Descriptor() ([]byte, []int)deprecated
- func (x *Letter) GetDealFriendState() uint32
- func (x *Letter) GetIsAddFriend() bool
- func (x *Letter) GetIsRead() bool
- func (x *Letter) GetMsg() string
- func (x *Letter) GetNick() string
- func (x *Letter) GetResponse() string
- func (x *Letter) GetResponseTm() int64
- func (x *Letter) GetSenderId() uint64
- func (x *Letter) GetTm() int64
- func (x *Letter) GetUuid() uint64
- func (*Letter) ProtoMessage()
- func (x *Letter) ProtoReflect() protoreflect.Message
- func (x *Letter) Reset()
- func (x *Letter) String() string
- func (m *Letter) Validate() error
- type LetterValidationError
- type MailInfo
- func (*MailInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MailInfo) GetColor() []float32
- func (x *MailInfo) GetContent() string
- func (x *MailInfo) GetDecorator() []string
- func (x *MailInfo) GetGoods() []*GoodsInfo
- func (x *MailInfo) GetHeadline() string
- func (x *MailInfo) GetMType() EmailType
- func (x *MailInfo) GetMUuid() uint64
- func (x *MailInfo) GetMailId() uint32
- func (x *MailInfo) GetMtime() int64
- func (x *MailInfo) GetPaster() []uint32
- func (x *MailInfo) GetSender() uint64
- func (x *MailInfo) GetSenderHead() uint32
- func (x *MailInfo) GetSenderNickName() string
- func (x *MailInfo) GetStatus() EmailStatus
- func (x *MailInfo) GetTemplate() uint32
- func (x *MailInfo) GetTopic() string
- func (x *MailInfo) GetUrl() string
- func (x *MailInfo) GetVersion() string
- func (*MailInfo) ProtoMessage()
- func (x *MailInfo) ProtoReflect() protoreflect.Message
- func (x *MailInfo) Reset()
- func (x *MailInfo) String() string
- func (m *MailInfo) Validate() error
- type MailInfoValidationError
Constants ¶
This section is empty.
Variables ¶
var ( EmailType_name = map[int32]string{ 0: "NORMAL", 1: "COLLECT", 2: "RECYCLE", 3: "SYSTEM", 4: "POSTCARD", 5: "NOTEPAPER", 9: "GMPersonal", 10: "GMSpecial", } EmailType_value = map[string]int32{ "NORMAL": 0, "COLLECT": 1, "RECYCLE": 2, "SYSTEM": 3, "POSTCARD": 4, "NOTEPAPER": 5, "GMPersonal": 9, "GMSpecial": 10, } )
Enum value maps for EmailType.
var ( EmailStatus_name = map[int32]string{ 0: "INIT", 1: "READ", 2: "ACCEPTED", } EmailStatus_value = map[string]int32{ "INIT": 0, "READ": 1, "ACCEPTED": 2, } )
Enum value maps for EmailStatus.
var File_mail_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EmailStatus ¶
type EmailStatus int32
const ( EmailStatus_INIT EmailStatus = 0 // 初始状态 EmailStatus_READ EmailStatus = 1 // 已读 EmailStatus_ACCEPTED EmailStatus = 2 // 已受理 )
func (EmailStatus) Descriptor ¶
func (EmailStatus) Descriptor() protoreflect.EnumDescriptor
func (EmailStatus) Enum ¶
func (x EmailStatus) Enum() *EmailStatus
func (EmailStatus) EnumDescriptor
deprecated
func (EmailStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use EmailStatus.Descriptor instead.
func (EmailStatus) Number ¶
func (x EmailStatus) Number() protoreflect.EnumNumber
func (EmailStatus) String ¶
func (x EmailStatus) String() string
func (EmailStatus) Type ¶
func (EmailStatus) Type() protoreflect.EnumType
type EmailType ¶
type EmailType int32
const ( EmailType_NORMAL EmailType = 0 EmailType_COLLECT EmailType = 1 EmailType_RECYCLE EmailType = 2 EmailType_SYSTEM EmailType = 3 EmailType_POSTCARD EmailType = 4 // 明信片 EmailType_NOTEPAPER EmailType = 5 // 信纸 EmailType_GMPersonal EmailType = 9 // gm 给个人发的邮件 EmailType_GMSpecial EmailType = 10 // gm特殊邮件(双包并行邮件模板) )
func (EmailType) Descriptor ¶
func (EmailType) Descriptor() protoreflect.EnumDescriptor
func (EmailType) EnumDescriptor
deprecated
func (EmailType) Number ¶
func (x EmailType) Number() protoreflect.EnumNumber
func (EmailType) Type ¶
func (EmailType) Type() protoreflect.EnumType
type GoodsInfo ¶
type GoodsInfo struct { ItemId uint32 `protobuf:"varint,1,opt,name=ItemId,proto3" json:"ItemId,omitempty"` Num int32 `protobuf:"varint,2,opt,name=Num,proto3" json:"Num,omitempty"` Expire int64 `protobuf:"varint,3,opt,name=Expire,proto3" json:"Expire,omitempty"` // 过期时间 // contains filtered or unexported fields }
func (*GoodsInfo) Descriptor
deprecated
func (*GoodsInfo) ProtoMessage ¶
func (*GoodsInfo) ProtoMessage()
func (*GoodsInfo) ProtoReflect ¶
func (x *GoodsInfo) ProtoReflect() protoreflect.Message
type GoodsInfoValidationError ¶
type GoodsInfoValidationError struct {
// contains filtered or unexported fields
}
GoodsInfoValidationError is the validation error returned by GoodsInfo.Validate if the designated constraints aren't met.
func (GoodsInfoValidationError) Cause ¶
func (e GoodsInfoValidationError) Cause() error
Cause function returns cause value.
func (GoodsInfoValidationError) Error ¶
func (e GoodsInfoValidationError) Error() string
Error satisfies the builtin error interface
func (GoodsInfoValidationError) ErrorName ¶
func (e GoodsInfoValidationError) ErrorName() string
ErrorName returns error name.
func (GoodsInfoValidationError) Field ¶
func (e GoodsInfoValidationError) Field() string
Field function returns field value.
func (GoodsInfoValidationError) Key ¶
func (e GoodsInfoValidationError) Key() bool
Key function returns key value.
func (GoodsInfoValidationError) Reason ¶
func (e GoodsInfoValidationError) Reason() string
Reason function returns reason value.
type Letter ¶
type Letter struct { Uuid uint64 `protobuf:"varint,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // 唯一ID Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 发信息 Nick string `protobuf:"bytes,3,opt,name=nick,proto3" json:"nick,omitempty"` // 发送人昵称 Tm int64 `protobuf:"varint,4,opt,name=tm,proto3" json:"tm,omitempty"` // 发时间 Response string `protobuf:"bytes,5,opt,name=response,proto3" json:"response,omitempty"` // 回信息 ResponseTm int64 `protobuf:"varint,6,opt,name=responseTm,proto3" json:"responseTm,omitempty"` // 回时间 SenderId uint64 `protobuf:"varint,7,opt,name=senderId,proto3" json:"senderId,omitempty"` // 发送人playerID IsRead bool `protobuf:"varint,8,opt,name=isRead,proto3" json:"isRead,omitempty"` // 是否已读 IsAddFriend bool `protobuf:"varint,9,opt,name=isAddFriend,proto3" json:"isAddFriend,omitempty"` // 是否加好友 DealFriendState uint32 `protobuf:"varint,10,opt,name=dealFriendState,proto3" json:"dealFriendState,omitempty"` //处理好友请求信息的状态 0:未处理 1:已同意 2:已拒绝 // contains filtered or unexported fields }
func (*Letter) Descriptor
deprecated
func (*Letter) GetDealFriendState ¶
func (*Letter) GetIsAddFriend ¶
func (*Letter) GetResponse ¶
func (*Letter) GetResponseTm ¶
func (*Letter) GetSenderId ¶
func (*Letter) ProtoMessage ¶
func (*Letter) ProtoMessage()
func (*Letter) ProtoReflect ¶
func (x *Letter) ProtoReflect() protoreflect.Message
type LetterValidationError ¶
type LetterValidationError struct {
// contains filtered or unexported fields
}
LetterValidationError is the validation error returned by Letter.Validate if the designated constraints aren't met.
func (LetterValidationError) Cause ¶
func (e LetterValidationError) Cause() error
Cause function returns cause value.
func (LetterValidationError) Error ¶
func (e LetterValidationError) Error() string
Error satisfies the builtin error interface
func (LetterValidationError) ErrorName ¶
func (e LetterValidationError) ErrorName() string
ErrorName returns error name.
func (LetterValidationError) Field ¶
func (e LetterValidationError) Field() string
Field function returns field value.
func (LetterValidationError) Key ¶
func (e LetterValidationError) Key() bool
Key function returns key value.
func (LetterValidationError) Reason ¶
func (e LetterValidationError) Reason() string
Reason function returns reason value.
type MailInfo ¶
type MailInfo struct { MUuid uint64 `protobuf:"varint,1,opt,name=mUuid,proto3" json:"mUuid,omitempty"` MailId uint32 `protobuf:"varint,2,opt,name=mailId,proto3" json:"mailId,omitempty"` // 对就mail表ID Sender uint64 `protobuf:"varint,3,opt,name=sender,proto3" json:"sender,omitempty"` MType EmailType `protobuf:"varint,4,opt,name=mType,proto3,enum=mail.EmailType" json:"mType,omitempty"` Status EmailStatus `protobuf:"varint,5,opt,name=status,proto3,enum=mail.EmailStatus" json:"status,omitempty"` SenderNickName string `protobuf:"bytes,6,opt,name=senderNickName,proto3" json:"senderNickName,omitempty"` Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` Goods []*GoodsInfo `protobuf:"bytes,8,rep,name=goods,proto3" json:"goods,omitempty"` Decorator []string `protobuf:"bytes,9,rep,name=decorator,proto3" json:"decorator,omitempty"` // 装饰 Mtime int64 `protobuf:"varint,10,opt,name=mtime,proto3" json:"mtime,omitempty"` Color []float32 `protobuf:"fixed32,11,rep,packed,name=color,proto3" json:"color,omitempty"` Template uint32 `protobuf:"varint,12,opt,name=template,proto3" json:"template,omitempty"` // 模板 Paster []uint32 `protobuf:"varint,13,rep,packed,name=paster,proto3" json:"paster,omitempty"` // 贴纸 Topic string `protobuf:"bytes,14,opt,name=topic,proto3" json:"topic,omitempty"` SenderHead uint32 `protobuf:"varint,15,opt,name=senderHead,proto3" json:"senderHead,omitempty"` Headline string `protobuf:"bytes,16,opt,name=headline,proto3" json:"headline,omitempty"` // 标题 Version string `protobuf:"bytes,17,opt,name=version,proto3" json:"version,omitempty"` // 版本号 Url string `protobuf:"bytes,18,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*MailInfo) Descriptor
deprecated
func (*MailInfo) GetContent ¶
func (*MailInfo) GetDecorator ¶
func (*MailInfo) GetHeadline ¶
func (*MailInfo) GetSenderHead ¶
func (*MailInfo) GetSenderNickName ¶
func (*MailInfo) GetStatus ¶
func (x *MailInfo) GetStatus() EmailStatus
func (*MailInfo) GetTemplate ¶
func (*MailInfo) GetVersion ¶
func (*MailInfo) ProtoMessage ¶
func (*MailInfo) ProtoMessage()
func (*MailInfo) ProtoReflect ¶
func (x *MailInfo) ProtoReflect() protoreflect.Message
type MailInfoValidationError ¶
type MailInfoValidationError struct {
// contains filtered or unexported fields
}
MailInfoValidationError is the validation error returned by MailInfo.Validate if the designated constraints aren't met.
func (MailInfoValidationError) Cause ¶
func (e MailInfoValidationError) Cause() error
Cause function returns cause value.
func (MailInfoValidationError) Error ¶
func (e MailInfoValidationError) Error() string
Error satisfies the builtin error interface
func (MailInfoValidationError) ErrorName ¶
func (e MailInfoValidationError) ErrorName() string
ErrorName returns error name.
func (MailInfoValidationError) Field ¶
func (e MailInfoValidationError) Field() string
Field function returns field value.
func (MailInfoValidationError) Key ¶
func (e MailInfoValidationError) Key() bool
Key function returns key value.
func (MailInfoValidationError) Reason ¶
func (e MailInfoValidationError) Reason() string
Reason function returns reason value.