1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00
MiraiGo/client/pb/msg/TextMsgExt.pb.go
2022-02-14 00:51:36 +08:00

83 lines
1.8 KiB
Go

// Code generated by protoc-gen-golite. DO NOT EDIT.
// source: pb/msg/TextMsgExt.proto
package msg
type ExtChannelInfo struct {
GuildId *uint64 `protobuf:"varint,1,opt"`
ChannelId *uint64 `protobuf:"varint,2,opt"`
}
func (x *ExtChannelInfo) GetGuildId() uint64 {
if x != nil && x.GuildId != nil {
return *x.GuildId
}
return 0
}
func (x *ExtChannelInfo) GetChannelId() uint64 {
if x != nil && x.ChannelId != nil {
return *x.ChannelId
}
return 0
}
type TextResvAttr struct {
Wording []byte `protobuf:"bytes,1,opt"`
TextAnalysisResult *uint32 `protobuf:"varint,2,opt"`
AtType *uint32 `protobuf:"varint,3,opt"`
AtMemberUin *uint64 `protobuf:"varint,4,opt"`
AtMemberTinyid *uint64 `protobuf:"varint,5,opt"`
AtMemberRoleInfo *ExtRoleInfo `protobuf:"bytes,6,opt"`
AtRoleInfo *ExtRoleInfo `protobuf:"bytes,7,opt"`
AtChannelInfo *ExtChannelInfo `protobuf:"bytes,8,opt"`
}
func (x *TextResvAttr) GetTextAnalysisResult() uint32 {
if x != nil && x.TextAnalysisResult != nil {
return *x.TextAnalysisResult
}
return 0
}
func (x *TextResvAttr) GetAtType() uint32 {
if x != nil && x.AtType != nil {
return *x.AtType
}
return 0
}
func (x *TextResvAttr) GetAtMemberUin() uint64 {
if x != nil && x.AtMemberUin != nil {
return *x.AtMemberUin
}
return 0
}
func (x *TextResvAttr) GetAtMemberTinyid() uint64 {
if x != nil && x.AtMemberTinyid != nil {
return *x.AtMemberTinyid
}
return 0
}
type ExtRoleInfo struct {
Id *uint64 `protobuf:"varint,1,opt"`
Info []byte `protobuf:"bytes,2,opt"`
Flag *uint32 `protobuf:"varint,3,opt"`
}
func (x *ExtRoleInfo) GetId() uint64 {
if x != nil && x.Id != nil {
return *x.Id
}
return 0
}
func (x *ExtRoleInfo) GetFlag() uint32 {
if x != nil && x.Flag != nil {
return *x.Flag
}
return 0
}