mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
118 lines
2.3 KiB
Go
118 lines
2.3 KiB
Go
// Code generated by protoc-gen-golite. DO NOT EDIT.
|
|
// source: 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) GetWording() []byte {
|
|
if x != nil {
|
|
return x.Wording
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
func (x *TextResvAttr) GetAtMemberRoleInfo() *ExtRoleInfo {
|
|
if x != nil {
|
|
return x.AtMemberRoleInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TextResvAttr) GetAtRoleInfo() *ExtRoleInfo {
|
|
if x != nil {
|
|
return x.AtRoleInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TextResvAttr) GetAtChannelInfo() *ExtChannelInfo {
|
|
if x != nil {
|
|
return x.AtChannelInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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) GetInfo() []byte {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExtRoleInfo) GetFlag() uint32 {
|
|
if x != nil && x.Flag != nil {
|
|
return *x.Flag
|
|
}
|
|
return 0
|
|
}
|