1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

client/pb: re-generate proto files

This commit is contained in:
wdvxdr 2022-02-14 00:51:36 +08:00
parent 8a518ee96c
commit d53bf8503e
No known key found for this signature in database
GPG Key ID: 703F8C071DE7A1B6
129 changed files with 155 additions and 15805 deletions

View File

@ -159,7 +159,7 @@ func tempSessionDecoder(c *QQClient, pMsg *msg.Message, _ *network.IncomingPacke
info := &TempSessionInfo{ info := &TempSessionInfo{
Source: 0, Source: 0,
Sender: pMsg.Head.GetFromUin(), Sender: pMsg.Head.GetFromUin(),
sig: pMsg.Head.C2CTmpMsgHead.GetSig(), sig: pMsg.Head.C2CTmpMsgHead.Sig,
client: c, client: c,
} }
@ -235,10 +235,10 @@ func troopSystemMessageDecoder(c *QQClient, pMsg *msg.Message, info *network.Inc
if !info.Params.Bool("used_reg_proxy") && pMsg.Head.GetMsgType() != 85 && pMsg.Head.GetMsgType() != 36 { if !info.Params.Bool("used_reg_proxy") && pMsg.Head.GetMsgType() != 85 && pMsg.Head.GetMsgType() != 36 {
c.exceptAndDispatchGroupSysMsg() c.exceptAndDispatchGroupSysMsg()
} }
if len(pMsg.Body.GetMsgContent()) == 0 { if len(pMsg.Body.MsgContent) == 0 {
return return
} }
reader := binary.NewReader(pMsg.GetBody().GetMsgContent()) reader := binary.NewReader(pMsg.Body.MsgContent)
groupCode := uint32(reader.ReadInt32()) groupCode := uint32(reader.ReadInt32())
if info := c.FindGroup(int64(groupCode)); info != nil && pMsg.Head.GetGroupName() != "" && info.Name != pMsg.Head.GetGroupName() { if info := c.FindGroup(int64(groupCode)); info != nil && pMsg.Head.GetGroupName() != "" && info.Name != pMsg.Head.GetGroupName() {
c.Debug("group %v name updated. %v -> %v", groupCode, info.Name, pMsg.Head.GetGroupName()) c.Debug("group %v name updated. %v -> %v", groupCode, info.Name, pMsg.Head.GetGroupName())

View File

@ -600,35 +600,35 @@ func decodeOffPicUpResponse(_ *QQClient, _ *network.IncomingPacketInfo, payload
if err := proto.Unmarshal(payload, &rsp); err != nil { if err := proto.Unmarshal(payload, &rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message") return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
} }
if rsp.GetFailMsg() != nil { if rsp.FailMsg != nil {
return &imageUploadResponse{ return &imageUploadResponse{
ResultCode: -1, ResultCode: -1,
Message: string(rsp.FailMsg), Message: string(rsp.FailMsg),
}, nil }, nil
} }
if rsp.GetSubcmd() != 1 || len(rsp.GetTryupImgRsp()) == 0 { if rsp.GetSubcmd() != 1 || len(rsp.TryupImgRsp) == 0 {
return &imageUploadResponse{ return &imageUploadResponse{
ResultCode: -2, ResultCode: -2,
}, nil }, nil
} }
imgRsp := rsp.GetTryupImgRsp()[0] imgRsp := rsp.TryupImgRsp[0]
if imgRsp.GetResult() != 0 { if imgRsp.GetResult() != 0 {
return &imageUploadResponse{ return &imageUploadResponse{
ResultCode: int32(*imgRsp.Result), ResultCode: int32(*imgRsp.Result),
Message: string(imgRsp.GetFailMsg()), Message: string(imgRsp.FailMsg),
}, nil }, nil
} }
if imgRsp.GetFileExit() { if imgRsp.GetFileExit() {
return &imageUploadResponse{ return &imageUploadResponse{
IsExists: true, IsExists: true,
ResourceId: string(imgRsp.GetUpResid()), ResourceId: string(imgRsp.UpResid),
}, nil }, nil
} }
return &imageUploadResponse{ return &imageUploadResponse{
ResourceId: string(imgRsp.GetUpResid()), ResourceId: string(imgRsp.UpResid),
UploadKey: imgRsp.GetUpUkey(), UploadKey: imgRsp.UpUkey,
UploadIp: imgRsp.GetUpIp(), UploadIp: imgRsp.UpIp,
UploadPort: imgRsp.GetUpPort(), UploadPort: imgRsp.UpPort,
}, nil }, nil
} }

View File

@ -335,8 +335,8 @@ func unpackOIDBPackage(buff []byte, payload proto.Message) error {
if err := proto.Unmarshal(buff, pkg); err != nil { if err := proto.Unmarshal(buff, pkg); err != nil {
return errors.Wrap(err, "failed to unmarshal protobuf message") return errors.Wrap(err, "failed to unmarshal protobuf message")
} }
if pkg.GetResult() != 0 { if pkg.Result != 0 {
return errors.Errorf("oidb result unsuccessful: %v msg: %v", pkg.GetResult(), pkg.GetErrorMsg()) return errors.Errorf("oidb result unsuccessful: %v msg: %v", pkg.Result, pkg.ErrorMsg)
} }
if err := proto.Unmarshal(pkg.Bodybuffer, payload); err != nil { if err := proto.Unmarshal(pkg.Bodybuffer, payload); err != nil {
return errors.Wrap(err, "failed to unmarshal protobuf message") return errors.Wrap(err, "failed to unmarshal protobuf message")

View File

@ -213,7 +213,7 @@ func decodeGroupSearchResponse(_ *QQClient, _ *network.IncomingPacketInfo, paylo
return nil, errors.Wrap(err, "get search result failed") return nil, errors.Wrap(err, "get search result failed")
} }
var ret []GroupSearchInfo var ret []GroupSearchInfo
for _, g := range searchRsp.GetList() { for _, g := range searchRsp.List {
ret = append(ret, GroupSearchInfo{ ret = append(ret, GroupSearchInfo{
Code: int64(g.GetCode()), Code: int64(g.GetCode()),
Name: g.GetName(), Name: g.GetName(),

View File

@ -313,8 +313,8 @@ func (s *GuildService) GetGuildRoles(guildId uint64) ([]*GuildRole, error) {
if err = unpackOIDBPackage(rsp, body); err != nil { if err = unpackOIDBPackage(rsp, body); err != nil {
return nil, errors.Wrap(err, "decode packet error") return nil, errors.Wrap(err, "decode packet error")
} }
roles := make([]*GuildRole, 0, len(body.GetRoles())) roles := make([]*GuildRole, 0, len(body.Roles))
for _, role := range body.GetRoles() { for _, role := range body.Roles {
roles = append(roles, &GuildRole{ roles = append(roles, &GuildRole{
RoleId: role.GetRoleId(), RoleId: role.GetRoleId(),
RoleName: role.GetName(), RoleName: role.GetName(),
@ -634,12 +634,12 @@ func (s *GuildService) fetchMemberRoles(guildId uint64, tinyId uint64) ([]*Guild
if err = unpackOIDBPackage(rsp, body); err != nil { if err = unpackOIDBPackage(rsp, body); err != nil {
return nil, errors.Wrap(err, "decode packet error") return nil, errors.Wrap(err, "decode packet error")
} }
p1 := body.GetP1() p1 := body.P1
if p1 == nil { if p1 == nil {
return nil, errors.New("packet OidbSvcTrpcTcp.0x1017_1: decode p1 error") return nil, errors.New("packet OidbSvcTrpcTcp.0x1017_1: decode p1 error")
} }
roles := make([]*GuildRole, 0, len(p1.GetRoles())) roles := make([]*GuildRole, 0, len(p1.Roles))
for _, role := range p1.GetRoles() { for _, role := range p1.Roles {
roles = append(roles, &GuildRole{ roles = append(roles, &GuildRole{
RoleId: role.GetRoleId(), RoleId: role.GetRoleId(),
RoleName: role.GetName(), RoleName: role.GetName(),

View File

@ -302,21 +302,21 @@ func decodeGuildImageStoreResponse(_ *QQClient, _ *network.IncomingPacketInfo, p
if rsp.GetResult() != 0 { if rsp.GetResult() != 0 {
return &guildImageUploadResponse{ return &guildImageUploadResponse{
ResultCode: int32(rsp.GetResult()), ResultCode: int32(rsp.GetResult()),
Message: utils.B2S(rsp.GetFailMsg()), Message: utils.B2S(rsp.FailMsg),
}, nil }, nil
} }
if rsp.GetFileExit() { if rsp.GetFileExit() {
if rsp.ImgInfo != nil { if rsp.ImgInfo != nil {
return &guildImageUploadResponse{IsExists: true, FileId: int64(rsp.GetFileid()), DownloadIndex: string(rsp.GetDownloadIndex()), Width: int32(rsp.ImgInfo.GetFileWidth()), Height: int32(rsp.ImgInfo.GetFileHeight())}, nil return &guildImageUploadResponse{IsExists: true, FileId: int64(rsp.GetFileid()), DownloadIndex: string(rsp.DownloadIndex), Width: int32(rsp.ImgInfo.GetFileWidth()), Height: int32(rsp.ImgInfo.GetFileHeight())}, nil
} }
return &guildImageUploadResponse{IsExists: true, FileId: int64(rsp.GetFileid()), DownloadIndex: string(rsp.GetDownloadIndex())}, nil return &guildImageUploadResponse{IsExists: true, FileId: int64(rsp.GetFileid()), DownloadIndex: string(rsp.DownloadIndex)}, nil
} }
return &guildImageUploadResponse{ return &guildImageUploadResponse{
FileId: int64(rsp.GetFileid()), FileId: int64(rsp.GetFileid()),
UploadKey: rsp.UpUkey, UploadKey: rsp.UpUkey,
UploadIp: rsp.GetUpIp(), UploadIp: rsp.UpIp,
UploadPort: rsp.GetUpPort(), UploadPort: rsp.UpPort,
DownloadIndex: string(rsp.GetDownloadIndex()), DownloadIndex: string(rsp.DownloadIndex),
}, nil }, nil
} }
@ -329,9 +329,9 @@ func (s *GuildService) parseGuildChannelMessage(msg *channel.ChannelMsgContent)
return nil return nil
} }
// mem := guild.FindMember(msg.Head.RoutingHead.GetFromTinyid()) // mem := guild.FindMember(msg.Head.RoutingHead.GetFromTinyid())
memberName := msg.ExtInfo.GetMemberName() memberName := msg.ExtInfo.MemberName
if memberName == nil { if memberName == nil {
memberName = msg.ExtInfo.GetFromNick() memberName = msg.ExtInfo.FromNick
} }
return &message.GuildChannelMessage{ return &message.GuildChannelMessage{
Id: msg.Head.ContentHead.GetSeq(), Id: msg.Head.ContentHead.GetSeq(),

View File

@ -308,7 +308,7 @@ func (c *QQClient) uploadOcrImage(img io.Reader) (string, error) {
if err = proto.Unmarshal(rsp, &rspExt); err != nil { if err = proto.Unmarshal(rsp, &rspExt); err != nil {
return "", errors.Wrap(err, "error unmarshal highway resp") return "", errors.Wrap(err, "error unmarshal highway resp")
} }
return string(rspExt.GetDownloadUrl()), nil return string(rspExt.DownloadUrl), nil
} }
// OidbSvc.0xe07_0 // OidbSvc.0xe07_0
@ -342,11 +342,11 @@ func decodeGroupImageStoreResponse(_ *QQClient, _ *network.IncomingPacketInfo, p
if rsp.GetResult() != 0 { if rsp.GetResult() != 0 {
return &imageUploadResponse{ return &imageUploadResponse{
ResultCode: int32(rsp.GetResult()), ResultCode: int32(rsp.GetResult()),
Message: utils.B2S(rsp.GetFailMsg()), Message: utils.B2S(rsp.FailMsg),
}, nil }, nil
} }
if rsp.GetFileExit() { if rsp.GetFileExit() {
if rsp.GetImgInfo() != nil { if rsp.ImgInfo != nil {
return &imageUploadResponse{IsExists: true, FileId: int64(rsp.GetFileid()), Width: int32(rsp.ImgInfo.GetFileWidth()), Height: int32(rsp.ImgInfo.GetFileHeight())}, nil return &imageUploadResponse{IsExists: true, FileId: int64(rsp.GetFileid()), Width: int32(rsp.ImgInfo.GetFileWidth()), Height: int32(rsp.ImgInfo.GetFileHeight())}, nil
} }
return &imageUploadResponse{IsExists: true, FileId: int64(rsp.GetFileid())}, nil return &imageUploadResponse{IsExists: true, FileId: int64(rsp.GetFileid())}, nil
@ -354,8 +354,8 @@ func decodeGroupImageStoreResponse(_ *QQClient, _ *network.IncomingPacketInfo, p
return &imageUploadResponse{ return &imageUploadResponse{
FileId: int64(rsp.GetFileid()), FileId: int64(rsp.GetFileid()),
UploadKey: rsp.UpUkey, UploadKey: rsp.UpUkey,
UploadIp: rsp.GetUpIp(), UploadIp: rsp.UpIp,
UploadPort: rsp.GetUpPort(), UploadPort: rsp.UpPort,
}, nil }, nil
} }

View File

@ -141,8 +141,8 @@ func (l *forwardMsgLinker) link(name string) *message.ForwardMessage {
if item == nil { if item == nil {
return nil return nil
} }
nodes := make([]*message.ForwardNode, 0, len(item.GetBuffer().GetMsg())) nodes := make([]*message.ForwardNode, 0, len(item.Buffer.Msg))
for _, m := range item.GetBuffer().GetMsg() { for _, m := range item.Buffer.Msg {
name := m.Head.GetFromNick() name := m.Head.GetFromNick()
if m.Head.GetMsgType() == 82 && m.Head.GroupInfo != nil { if m.Head.GetMsgType() == 82 && m.Head.GroupInfo != nil {
name = m.Head.GroupInfo.GetGroupCard() name = m.Head.GroupInfo.GetGroupCard()
@ -187,11 +187,11 @@ func (c *QQClient) DownloadForwardMessage(resId string) *message.ForwardElement
return nil return nil
} }
multiMsg := i.(*msg.PbMultiMsgTransmit) multiMsg := i.(*msg.PbMultiMsgTransmit)
if multiMsg.GetPbItemList() == nil { if multiMsg.PbItemList == nil {
return nil return nil
} }
var pv string var pv string
for i := 0; i < int(math.Min(4, float64(len(multiMsg.GetMsg())))); i++ { for i := 0; i < int(math.Min(4, float64(len(multiMsg.Msg)))); i++ {
m := multiMsg.Msg[i] m := multiMsg.Msg[i]
pv += fmt.Sprintf(`<title size="26" color="#777777">%s: %s</title>`, pv += fmt.Sprintf(`<title size="26" color="#777777">%s: %s</title>`,
func() string { func() string {
@ -201,14 +201,14 @@ func (c *QQClient) DownloadForwardMessage(resId string) *message.ForwardElement
return m.Head.GetFromNick() return m.Head.GetFromNick()
}(), }(),
message.ToReadableString( message.ToReadableString(
message.ParseMessageElems(multiMsg.Msg[i].GetBody().GetRichText().Elems), message.ParseMessageElems(multiMsg.Msg[i].Body.RichText.Elems),
), ),
) )
} }
return genForwardTemplate( return genForwardTemplate(
resId, pv, "群聊的聊天记录", "[聊天记录]", "聊天记录", resId, pv, "群聊的聊天记录", "[聊天记录]", "聊天记录",
fmt.Sprintf("查看 %d 条转发消息", len(multiMsg.GetMsg())), fmt.Sprintf("查看 %d 条转发消息", len(multiMsg.Msg)),
time.Now().UnixNano(), time.Now().UnixNano(),
multiMsg.GetPbItemList(), multiMsg.PbItemList,
) )
} }

View File

@ -184,7 +184,7 @@ func msgType0x210Sub27Decoder(c *QQClient, protobuf []byte) error {
if info.GetField() == 1 { if info.GetField() == 1 {
if g := c.FindGroup(int64(m.ModGroupProfile.GetGroupCode())); g != nil { if g := c.FindGroup(int64(m.ModGroupProfile.GetGroupCode())); g != nil {
old := g.Name old := g.Name
g.Name = string(info.GetValue()) g.Name = string(info.Value)
c.dispatchGroupNameUpdatedEvent(&GroupNameUpdatedEvent{ c.dispatchGroupNameUpdatedEvent(&GroupNameUpdatedEvent{
Group: g, Group: g,
OldName: old, OldName: old,
@ -238,11 +238,11 @@ func msgType0x210Sub44Decoder(c *QQClient, protobuf []byte) error {
} }
groupJoinLock.Lock() groupJoinLock.Lock()
defer groupJoinLock.Unlock() defer groupJoinLock.Unlock()
if s44.GroupSyncMsg.GetGrpCode() == 0 { // member sync if s44.GroupSyncMsg.GrpCode == 0 { // member sync
return errors.New("invalid group code") return errors.New("invalid group code")
} }
c.Debug("syncing members.") c.Debug("syncing members.")
if group := c.FindGroup(s44.GroupSyncMsg.GetGrpCode()); group != nil { if group := c.FindGroup(s44.GroupSyncMsg.GrpCode); group != nil {
group.lock.Lock() group.lock.Lock()
defer group.lock.Unlock() defer group.lock.Unlock()

View File

@ -10,13 +10,6 @@ type ChannelUserInfo struct {
RoleGroups []*BaseRoleGroupInfo `protobuf:"bytes,4,rep"` RoleGroups []*BaseRoleGroupInfo `protobuf:"bytes,4,rep"`
} }
func (x *ChannelUserInfo) GetClientIdentity() *ClientIdentity {
if x != nil {
return x.ClientIdentity
}
return nil
}
func (x *ChannelUserInfo) GetMemberType() uint32 { func (x *ChannelUserInfo) GetMemberType() uint32 {
if x != nil && x.MemberType != nil { if x != nil && x.MemberType != nil {
return *x.MemberType return *x.MemberType
@ -24,20 +17,6 @@ func (x *ChannelUserInfo) GetMemberType() uint32 {
return 0 return 0
} }
func (x *ChannelUserInfo) GetPermission() *ChannelUserPermission {
if x != nil {
return x.Permission
}
return nil
}
func (x *ChannelUserInfo) GetRoleGroups() []*BaseRoleGroupInfo {
if x != nil {
return x.RoleGroups
}
return nil
}
type ChannelUserPermission struct { type ChannelUserPermission struct {
AllowReadFeed *bool `protobuf:"varint,1,opt"` AllowReadFeed *bool `protobuf:"varint,1,opt"`
AllowWriteFeed *bool `protobuf:"varint,2,opt"` AllowWriteFeed *bool `protobuf:"varint,2,opt"`
@ -136,13 +115,6 @@ type StChannelInfo struct {
IconUrl *string `protobuf:"bytes,3,opt"` IconUrl *string `protobuf:"bytes,3,opt"`
} }
func (x *StChannelInfo) GetSign() *StChannelSign {
if x != nil {
return x.Sign
}
return nil
}
func (x *StChannelInfo) GetName() string { func (x *StChannelInfo) GetName() string {
if x != nil && x.Name != nil { if x != nil && x.Name != nil {
return *x.Name return *x.Name
@ -188,26 +160,12 @@ func (x *StEmotionReactionInfo) GetId() string {
return "" return ""
} }
func (x *StEmotionReactionInfo) GetEmojiReactionList() []*EmojiReaction {
if x != nil {
return x.EmojiReactionList
}
return nil
}
type StCommonExt struct { type StCommonExt struct {
MapInfo []*CommonEntry `protobuf:"bytes,1,rep"` MapInfo []*CommonEntry `protobuf:"bytes,1,rep"`
AttachInfo *string `protobuf:"bytes,2,opt"` AttachInfo *string `protobuf:"bytes,2,opt"`
MapBytesInfo []*BytesEntry `protobuf:"bytes,3,rep"` MapBytesInfo []*BytesEntry `protobuf:"bytes,3,rep"`
} }
func (x *StCommonExt) GetMapInfo() []*CommonEntry {
if x != nil {
return x.MapInfo
}
return nil
}
func (x *StCommonExt) GetAttachInfo() string { func (x *StCommonExt) GetAttachInfo() string {
if x != nil && x.AttachInfo != nil { if x != nil && x.AttachInfo != nil {
return *x.AttachInfo return *x.AttachInfo
@ -215,13 +173,6 @@ func (x *StCommonExt) GetAttachInfo() string {
return "" return ""
} }
func (x *StCommonExt) GetMapBytesInfo() []*BytesEntry {
if x != nil {
return x.MapBytesInfo
}
return nil
}
type BytesEntry struct { type BytesEntry struct {
Key *string `protobuf:"bytes,1,opt"` Key *string `protobuf:"bytes,1,opt"`
Value []byte `protobuf:"bytes,2,opt"` Value []byte `protobuf:"bytes,2,opt"`
@ -234,13 +185,6 @@ func (x *BytesEntry) GetKey() string {
return "" return ""
} }
func (x *BytesEntry) GetValue() []byte {
if x != nil {
return x.Value
}
return nil
}
type CommonEntry struct { type CommonEntry struct {
Key *string `protobuf:"bytes,1,opt"` Key *string `protobuf:"bytes,1,opt"`
Value *string `protobuf:"bytes,2,opt"` Value *string `protobuf:"bytes,2,opt"`

View File

@ -2,7 +2,7 @@ syntax = "proto2";
package channel; package channel;
option go_package = "pb/channel;channel"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel";
import "pb/channel/MsgResponsesSvr.proto"; import "pb/channel/MsgResponsesSvr.proto";

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@ syntax = "proto2";
package channel; package channel;
option go_package = "pb/channel;channel"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel";
import "pb/channel/GuildChannelBase.proto"; import "pb/channel/GuildChannelBase.proto";

View File

@ -9,13 +9,6 @@ type GetNoticesReq struct {
AttachInfo *string `protobuf:"bytes,3,opt"` AttachInfo *string `protobuf:"bytes,3,opt"`
} }
func (x *GetNoticesReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *GetNoticesReq) GetPageNum() uint32 { func (x *GetNoticesReq) GetPageNum() uint32 {
if x != nil && x.PageNum != nil { if x != nil && x.PageNum != nil {
return *x.PageNum return *x.PageNum
@ -38,20 +31,6 @@ type GetNoticesRsp struct {
AttachInfo *string `protobuf:"bytes,5,opt"` AttachInfo *string `protobuf:"bytes,5,opt"`
} }
func (x *GetNoticesRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *GetNoticesRsp) GetNotices() []*StNotice {
if x != nil {
return x.Notices
}
return nil
}
func (x *GetNoticesRsp) GetTotalNum() uint32 { func (x *GetNoticesRsp) GetTotalNum() uint32 {
if x != nil && x.TotalNum != nil { if x != nil && x.TotalNum != nil {
return *x.TotalNum return *x.TotalNum
@ -103,13 +82,6 @@ type StGetChannelFeedsReq struct {
FeedAttchInfo *string `protobuf:"bytes,5,opt"` FeedAttchInfo *string `protobuf:"bytes,5,opt"`
} }
func (x *StGetChannelFeedsReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StGetChannelFeedsReq) GetCount() uint32 { func (x *StGetChannelFeedsReq) GetCount() uint32 {
if x != nil && x.Count != nil { if x != nil && x.Count != nil {
return *x.Count return *x.Count
@ -124,13 +96,6 @@ func (x *StGetChannelFeedsReq) GetFrom() uint32 {
return 0 return 0
} }
func (x *StGetChannelFeedsReq) GetChannelSign() *StChannelSign {
if x != nil {
return x.ChannelSign
}
return nil
}
func (x *StGetChannelFeedsReq) GetFeedAttchInfo() string { func (x *StGetChannelFeedsReq) GetFeedAttchInfo() string {
if x != nil && x.FeedAttchInfo != nil { if x != nil && x.FeedAttchInfo != nil {
return *x.FeedAttchInfo return *x.FeedAttchInfo
@ -147,20 +112,6 @@ type StGetChannelFeedsRsp struct {
RefreshToast *RefreshToast `protobuf:"bytes,6,opt"` RefreshToast *RefreshToast `protobuf:"bytes,6,opt"`
} }
func (x *StGetChannelFeedsRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StGetChannelFeedsRsp) GetVecFeed() []*StFeed {
if x != nil {
return x.VecFeed
}
return nil
}
func (x *StGetChannelFeedsRsp) GetIsFinish() uint32 { func (x *StGetChannelFeedsRsp) GetIsFinish() uint32 {
if x != nil && x.IsFinish != nil { if x != nil && x.IsFinish != nil {
return *x.IsFinish return *x.IsFinish
@ -168,13 +119,6 @@ func (x *StGetChannelFeedsRsp) GetIsFinish() uint32 {
return 0 return 0
} }
func (x *StGetChannelFeedsRsp) GetUser() *StUser {
if x != nil {
return x.User
}
return nil
}
func (x *StGetChannelFeedsRsp) GetFeedAttchInfo() string { func (x *StGetChannelFeedsRsp) GetFeedAttchInfo() string {
if x != nil && x.FeedAttchInfo != nil { if x != nil && x.FeedAttchInfo != nil {
return *x.FeedAttchInfo return *x.FeedAttchInfo
@ -182,26 +126,12 @@ func (x *StGetChannelFeedsRsp) GetFeedAttchInfo() string {
return "" return ""
} }
func (x *StGetChannelFeedsRsp) GetRefreshToast() *RefreshToast {
if x != nil {
return x.RefreshToast
}
return nil
}
type StGetChannelShareFeedReq struct { type StGetChannelShareFeedReq struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
From *uint32 `protobuf:"varint,2,opt"` From *uint32 `protobuf:"varint,2,opt"`
ChannelShareInfo *StChannelShareInfo `protobuf:"bytes,3,opt"` ChannelShareInfo *StChannelShareInfo `protobuf:"bytes,3,opt"`
} }
func (x *StGetChannelShareFeedReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StGetChannelShareFeedReq) GetFrom() uint32 { func (x *StGetChannelShareFeedReq) GetFrom() uint32 {
if x != nil && x.From != nil { if x != nil && x.From != nil {
return *x.From return *x.From
@ -209,32 +139,11 @@ func (x *StGetChannelShareFeedReq) GetFrom() uint32 {
return 0 return 0
} }
func (x *StGetChannelShareFeedReq) GetChannelShareInfo() *StChannelShareInfo {
if x != nil {
return x.ChannelShareInfo
}
return nil
}
type StGetChannelShareFeedRsp struct { type StGetChannelShareFeedRsp struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
Feed *StFeed `protobuf:"bytes,2,opt"` Feed *StFeed `protobuf:"bytes,2,opt"`
} }
func (x *StGetChannelShareFeedRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StGetChannelShareFeedRsp) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
type StGetFeedCommentsReq struct { type StGetFeedCommentsReq struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
UserId *string `protobuf:"bytes,2,opt"` UserId *string `protobuf:"bytes,2,opt"`
@ -245,13 +154,6 @@ type StGetFeedCommentsReq struct {
EntrySchema *string `protobuf:"bytes,7,opt"` EntrySchema *string `protobuf:"bytes,7,opt"`
} }
func (x *StGetFeedCommentsReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StGetFeedCommentsReq) GetUserId() string { func (x *StGetFeedCommentsReq) GetUserId() string {
if x != nil && x.UserId != nil { if x != nil && x.UserId != nil {
return *x.UserId return *x.UserId
@ -302,20 +204,6 @@ type StGetFeedCommentsRsp struct {
AttchInfo *string `protobuf:"bytes,5,opt"` AttchInfo *string `protobuf:"bytes,5,opt"`
} }
func (x *StGetFeedCommentsRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StGetFeedCommentsRsp) GetVecComment() []*StComment {
if x != nil {
return x.VecComment
}
return nil
}
func (x *StGetFeedCommentsRsp) GetTotalNum() uint32 { func (x *StGetFeedCommentsRsp) GetTotalNum() uint32 {
if x != nil && x.TotalNum != nil { if x != nil && x.TotalNum != nil {
return *x.TotalNum return *x.TotalNum
@ -347,13 +235,6 @@ type StGetFeedDetailReq struct {
ChannelSign *StChannelSign `protobuf:"bytes,7,opt"` ChannelSign *StChannelSign `protobuf:"bytes,7,opt"`
} }
func (x *StGetFeedDetailReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StGetFeedDetailReq) GetFrom() uint32 { func (x *StGetFeedDetailReq) GetFrom() uint32 {
if x != nil && x.From != nil { if x != nil && x.From != nil {
return *x.From return *x.From
@ -389,36 +270,8 @@ func (x *StGetFeedDetailReq) GetDetailType() uint32 {
return 0 return 0
} }
func (x *StGetFeedDetailReq) GetChannelSign() *StChannelSign {
if x != nil {
return x.ChannelSign
}
return nil
}
type StGetFeedDetailRsp struct { type StGetFeedDetailRsp struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
Feed *StFeed `protobuf:"bytes,2,opt"` Feed *StFeed `protobuf:"bytes,2,opt"`
LoginUser *StUser `protobuf:"bytes,3,opt"` LoginUser *StUser `protobuf:"bytes,3,opt"`
} }
func (x *StGetFeedDetailRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StGetFeedDetailRsp) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
func (x *StGetFeedDetailRsp) GetLoginUser() *StUser {
if x != nil {
return x.LoginUser
}
return nil
}

View File

@ -2,7 +2,7 @@ syntax = "proto2";
package channel; package channel;
option go_package = "pb/channel;channel"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel";
import "pb/channel/GuildFeedCloudMeta.proto"; import "pb/channel/GuildFeedCloudMeta.proto";
import "pb/channel/GuildChannelBase.proto"; import "pb/channel/GuildChannelBase.proto";

View File

@ -15,27 +15,6 @@ type StAlterFeedReq struct {
ClientContent *StClientContent `protobuf:"bytes,9,opt"` ClientContent *StClientContent `protobuf:"bytes,9,opt"`
} }
func (x *StAlterFeedReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StAlterFeedReq) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
func (x *StAlterFeedReq) GetBusiReqData() []byte {
if x != nil {
return x.BusiReqData
}
return nil
}
func (x *StAlterFeedReq) GetMBitmap() uint64 { func (x *StAlterFeedReq) GetMBitmap() uint64 {
if x != nil && x.MBitmap != nil { if x != nil && x.MBitmap != nil {
return *x.MBitmap return *x.MBitmap
@ -57,13 +36,6 @@ func (x *StAlterFeedReq) GetSrc() int32 {
return 0 return 0
} }
func (x *StAlterFeedReq) GetAlterFeedExtInfo() []*CommonEntry {
if x != nil {
return x.AlterFeedExtInfo
}
return nil
}
func (x *StAlterFeedReq) GetJsonFeed() string { func (x *StAlterFeedReq) GetJsonFeed() string {
if x != nil && x.JsonFeed != nil { if x != nil && x.JsonFeed != nil {
return *x.JsonFeed return *x.JsonFeed
@ -71,59 +43,17 @@ func (x *StAlterFeedReq) GetJsonFeed() string {
return "" return ""
} }
func (x *StAlterFeedReq) GetClientContent() *StClientContent {
if x != nil {
return x.ClientContent
}
return nil
}
type StAlterFeedRsp struct { type StAlterFeedRsp struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
Feed *StFeed `protobuf:"bytes,2,opt"` Feed *StFeed `protobuf:"bytes,2,opt"`
BusiRspData []byte `protobuf:"bytes,3,opt"` BusiRspData []byte `protobuf:"bytes,3,opt"`
} }
func (x *StAlterFeedRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StAlterFeedRsp) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
func (x *StAlterFeedRsp) GetBusiRspData() []byte {
if x != nil {
return x.BusiRspData
}
return nil
}
type StClientContent struct { type StClientContent struct {
ClientImageContents []*StClientImageContent `protobuf:"bytes,1,rep"` ClientImageContents []*StClientImageContent `protobuf:"bytes,1,rep"`
ClientVideoContents []*StClientVideoContent `protobuf:"bytes,2,rep"` ClientVideoContents []*StClientVideoContent `protobuf:"bytes,2,rep"`
} }
func (x *StClientContent) GetClientImageContents() []*StClientImageContent {
if x != nil {
return x.ClientImageContents
}
return nil
}
func (x *StClientContent) GetClientVideoContents() []*StClientVideoContent {
if x != nil {
return x.ClientVideoContents
}
return nil
}
type StClientImageContent struct { type StClientImageContent struct {
TaskId *string `protobuf:"bytes,1,opt"` TaskId *string `protobuf:"bytes,1,opt"`
PicId *string `protobuf:"bytes,2,opt"` PicId *string `protobuf:"bytes,2,opt"`
@ -193,20 +123,6 @@ type StDelFeedReq struct {
Src *int32 `protobuf:"varint,4,opt"` Src *int32 `protobuf:"varint,4,opt"`
} }
func (x *StDelFeedReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StDelFeedReq) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
func (x *StDelFeedReq) GetFrom() int32 { func (x *StDelFeedReq) GetFrom() int32 {
if x != nil && x.From != nil { if x != nil && x.From != nil {
return *x.From return *x.From
@ -225,13 +141,6 @@ type StDelFeedRsp struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
} }
func (x *StDelFeedRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
type StDoCommentReq struct { type StDoCommentReq struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
CommentType *uint32 `protobuf:"varint,2,opt"` CommentType *uint32 `protobuf:"varint,2,opt"`
@ -242,13 +151,6 @@ type StDoCommentReq struct {
Src *int32 `protobuf:"varint,7,opt"` Src *int32 `protobuf:"varint,7,opt"`
} }
func (x *StDoCommentReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StDoCommentReq) GetCommentType() uint32 { func (x *StDoCommentReq) GetCommentType() uint32 {
if x != nil && x.CommentType != nil { if x != nil && x.CommentType != nil {
return *x.CommentType return *x.CommentType
@ -256,20 +158,6 @@ func (x *StDoCommentReq) GetCommentType() uint32 {
return 0 return 0
} }
func (x *StDoCommentReq) GetComment() *StComment {
if x != nil {
return x.Comment
}
return nil
}
func (x *StDoCommentReq) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
func (x *StDoCommentReq) GetFrom() int32 { func (x *StDoCommentReq) GetFrom() int32 {
if x != nil && x.From != nil { if x != nil && x.From != nil {
return *x.From return *x.From
@ -277,13 +165,6 @@ func (x *StDoCommentReq) GetFrom() int32 {
return 0 return 0
} }
func (x *StDoCommentReq) GetBusiReqData() []byte {
if x != nil {
return x.BusiReqData
}
return nil
}
func (x *StDoCommentReq) GetSrc() int32 { func (x *StDoCommentReq) GetSrc() int32 {
if x != nil && x.Src != nil { if x != nil && x.Src != nil {
return *x.Src return *x.Src
@ -297,27 +178,6 @@ type StDoCommentRsp struct {
BusiRspData []byte `protobuf:"bytes,3,opt"` BusiRspData []byte `protobuf:"bytes,3,opt"`
} }
func (x *StDoCommentRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StDoCommentRsp) GetComment() *StComment {
if x != nil {
return x.Comment
}
return nil
}
func (x *StDoCommentRsp) GetBusiRspData() []byte {
if x != nil {
return x.BusiRspData
}
return nil
}
type StDoLikeReq struct { type StDoLikeReq struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
LikeType *uint32 `protobuf:"varint,2,opt"` LikeType *uint32 `protobuf:"varint,2,opt"`
@ -331,13 +191,6 @@ type StDoLikeReq struct {
EmotionReaction *StEmotionReactionInfo `protobuf:"bytes,10,opt"` EmotionReaction *StEmotionReactionInfo `protobuf:"bytes,10,opt"`
} }
func (x *StDoLikeReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StDoLikeReq) GetLikeType() uint32 { func (x *StDoLikeReq) GetLikeType() uint32 {
if x != nil && x.LikeType != nil { if x != nil && x.LikeType != nil {
return *x.LikeType return *x.LikeType
@ -345,41 +198,6 @@ func (x *StDoLikeReq) GetLikeType() uint32 {
return 0 return 0
} }
func (x *StDoLikeReq) GetLike() *StLike {
if x != nil {
return x.Like
}
return nil
}
func (x *StDoLikeReq) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
func (x *StDoLikeReq) GetBusiReqData() []byte {
if x != nil {
return x.BusiReqData
}
return nil
}
func (x *StDoLikeReq) GetComment() *StComment {
if x != nil {
return x.Comment
}
return nil
}
func (x *StDoLikeReq) GetReply() *StReply {
if x != nil {
return x.Reply
}
return nil
}
func (x *StDoLikeReq) GetFrom() int32 { func (x *StDoLikeReq) GetFrom() int32 {
if x != nil && x.From != nil { if x != nil && x.From != nil {
return *x.From return *x.From
@ -394,13 +212,6 @@ func (x *StDoLikeReq) GetSrc() int32 {
return 0 return 0
} }
func (x *StDoLikeReq) GetEmotionReaction() *StEmotionReactionInfo {
if x != nil {
return x.EmotionReaction
}
return nil
}
type StDoLikeRsp struct { type StDoLikeRsp struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
Like *StLike `protobuf:"bytes,2,opt"` Like *StLike `protobuf:"bytes,2,opt"`
@ -408,34 +219,6 @@ type StDoLikeRsp struct {
EmotionReaction *StEmotionReactionInfo `protobuf:"bytes,4,opt"` EmotionReaction *StEmotionReactionInfo `protobuf:"bytes,4,opt"`
} }
func (x *StDoLikeRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StDoLikeRsp) GetLike() *StLike {
if x != nil {
return x.Like
}
return nil
}
func (x *StDoLikeRsp) GetBusiRspData() []byte {
if x != nil {
return x.BusiRspData
}
return nil
}
func (x *StDoLikeRsp) GetEmotionReaction() *StEmotionReactionInfo {
if x != nil {
return x.EmotionReaction
}
return nil
}
type StDoReplyReq struct { type StDoReplyReq struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
ReplyType *uint32 `protobuf:"varint,2,opt"` ReplyType *uint32 `protobuf:"varint,2,opt"`
@ -447,13 +230,6 @@ type StDoReplyReq struct {
Src *int32 `protobuf:"varint,8,opt"` Src *int32 `protobuf:"varint,8,opt"`
} }
func (x *StDoReplyReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StDoReplyReq) GetReplyType() uint32 { func (x *StDoReplyReq) GetReplyType() uint32 {
if x != nil && x.ReplyType != nil { if x != nil && x.ReplyType != nil {
return *x.ReplyType return *x.ReplyType
@ -461,27 +237,6 @@ func (x *StDoReplyReq) GetReplyType() uint32 {
return 0 return 0
} }
func (x *StDoReplyReq) GetReply() *StReply {
if x != nil {
return x.Reply
}
return nil
}
func (x *StDoReplyReq) GetComment() *StComment {
if x != nil {
return x.Comment
}
return nil
}
func (x *StDoReplyReq) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
func (x *StDoReplyReq) GetFrom() int32 { func (x *StDoReplyReq) GetFrom() int32 {
if x != nil && x.From != nil { if x != nil && x.From != nil {
return *x.From return *x.From
@ -489,13 +244,6 @@ func (x *StDoReplyReq) GetFrom() int32 {
return 0 return 0
} }
func (x *StDoReplyReq) GetBusiReqData() []byte {
if x != nil {
return x.BusiReqData
}
return nil
}
func (x *StDoReplyReq) GetSrc() int32 { func (x *StDoReplyReq) GetSrc() int32 {
if x != nil && x.Src != nil { if x != nil && x.Src != nil {
return *x.Src return *x.Src
@ -509,27 +257,6 @@ type StDoReplyRsp struct {
BusiRspData []byte `protobuf:"bytes,3,opt"` BusiRspData []byte `protobuf:"bytes,3,opt"`
} }
func (x *StDoReplyRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StDoReplyRsp) GetReply() *StReply {
if x != nil {
return x.Reply
}
return nil
}
func (x *StDoReplyRsp) GetBusiRspData() []byte {
if x != nil {
return x.BusiRspData
}
return nil
}
type StDoSecurityReq struct { type StDoSecurityReq struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
Feed *StFeed `protobuf:"bytes,2,opt"` Feed *StFeed `protobuf:"bytes,2,opt"`
@ -539,41 +266,6 @@ type StDoSecurityReq struct {
SecType *int32 `protobuf:"varint,6,opt"` SecType *int32 `protobuf:"varint,6,opt"`
} }
func (x *StDoSecurityReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StDoSecurityReq) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
func (x *StDoSecurityReq) GetComment() *StComment {
if x != nil {
return x.Comment
}
return nil
}
func (x *StDoSecurityReq) GetReply() *StReply {
if x != nil {
return x.Reply
}
return nil
}
func (x *StDoSecurityReq) GetPoster() *StUser {
if x != nil {
return x.Poster
}
return nil
}
func (x *StDoSecurityReq) GetSecType() int32 { func (x *StDoSecurityReq) GetSecType() int32 {
if x != nil && x.SecType != nil { if x != nil && x.SecType != nil {
return *x.SecType return *x.SecType
@ -585,13 +277,6 @@ type StDoSecurityRsp struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
} }
func (x *StDoSecurityRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
type StModifyFeedReq struct { type StModifyFeedReq struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
Feed *StFeed `protobuf:"bytes,2,opt"` Feed *StFeed `protobuf:"bytes,2,opt"`
@ -601,20 +286,6 @@ type StModifyFeedReq struct {
ModifyFeedExtInfo []*CommonEntry `protobuf:"bytes,6,rep"` ModifyFeedExtInfo []*CommonEntry `protobuf:"bytes,6,rep"`
} }
func (x *StModifyFeedReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StModifyFeedReq) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
func (x *StModifyFeedReq) GetMBitmap() uint64 { func (x *StModifyFeedReq) GetMBitmap() uint64 {
if x != nil && x.MBitmap != nil { if x != nil && x.MBitmap != nil {
return *x.MBitmap return *x.MBitmap
@ -636,40 +307,12 @@ func (x *StModifyFeedReq) GetSrc() int32 {
return 0 return 0
} }
func (x *StModifyFeedReq) GetModifyFeedExtInfo() []*CommonEntry {
if x != nil {
return x.ModifyFeedExtInfo
}
return nil
}
type StModifyFeedRsp struct { type StModifyFeedRsp struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
Feed *StFeed `protobuf:"bytes,2,opt"` Feed *StFeed `protobuf:"bytes,2,opt"`
BusiRspData []byte `protobuf:"bytes,3,opt"` BusiRspData []byte `protobuf:"bytes,3,opt"`
} }
func (x *StModifyFeedRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StModifyFeedRsp) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
func (x *StModifyFeedRsp) GetBusiRspData() []byte {
if x != nil {
return x.BusiRspData
}
return nil
}
type StPublishFeedReq struct { type StPublishFeedReq struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
Feed *StFeed `protobuf:"bytes,2,opt"` Feed *StFeed `protobuf:"bytes,2,opt"`
@ -681,27 +324,6 @@ type StPublishFeedReq struct {
ClientContent *StClientContent `protobuf:"bytes,8,opt"` ClientContent *StClientContent `protobuf:"bytes,8,opt"`
} }
func (x *StPublishFeedReq) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StPublishFeedReq) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
func (x *StPublishFeedReq) GetBusiReqData() []byte {
if x != nil {
return x.BusiReqData
}
return nil
}
func (x *StPublishFeedReq) GetFrom() int32 { func (x *StPublishFeedReq) GetFrom() int32 {
if x != nil && x.From != nil { if x != nil && x.From != nil {
return *x.From return *x.From
@ -716,13 +338,6 @@ func (x *StPublishFeedReq) GetSrc() int32 {
return 0 return 0
} }
func (x *StPublishFeedReq) GetStoreFeedExtInfo() []*CommonEntry {
if x != nil {
return x.StoreFeedExtInfo
}
return nil
}
func (x *StPublishFeedReq) GetJsonFeed() string { func (x *StPublishFeedReq) GetJsonFeed() string {
if x != nil && x.JsonFeed != nil { if x != nil && x.JsonFeed != nil {
return *x.JsonFeed return *x.JsonFeed
@ -730,36 +345,8 @@ func (x *StPublishFeedReq) GetJsonFeed() string {
return "" return ""
} }
func (x *StPublishFeedReq) GetClientContent() *StClientContent {
if x != nil {
return x.ClientContent
}
return nil
}
type StPublishFeedRsp struct { type StPublishFeedRsp struct {
ExtInfo *StCommonExt `protobuf:"bytes,1,opt"` ExtInfo *StCommonExt `protobuf:"bytes,1,opt"`
Feed *StFeed `protobuf:"bytes,2,opt"` Feed *StFeed `protobuf:"bytes,2,opt"`
BusiRspData []byte `protobuf:"bytes,3,opt"` BusiRspData []byte `protobuf:"bytes,3,opt"`
} }
func (x *StPublishFeedRsp) GetExtInfo() *StCommonExt {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *StPublishFeedRsp) GetFeed() *StFeed {
if x != nil {
return x.Feed
}
return nil
}
func (x *StPublishFeedRsp) GetBusiRspData() []byte {
if x != nil {
return x.BusiRspData
}
return nil
}

View File

@ -2,7 +2,7 @@ syntax = "proto2";
package channel; package channel;
option go_package = "pb/channel;channel"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel";
import "pb/channel/GuildFeedCloudMeta.proto"; import "pb/channel/GuildFeedCloudMeta.proto";
import "pb/channel/GuildChannelBase.proto"; import "pb/channel/GuildChannelBase.proto";

View File

@ -7,24 +7,10 @@ type BatchGetMsgRspCountReq struct {
GuildMsgList []*GuildMsg `protobuf:"bytes,1,rep"` GuildMsgList []*GuildMsg `protobuf:"bytes,1,rep"`
} }
func (x *BatchGetMsgRspCountReq) GetGuildMsgList() []*GuildMsg {
if x != nil {
return x.GuildMsgList
}
return nil
}
type BatchGetMsgRspCountRsp struct { type BatchGetMsgRspCountRsp struct {
GuildMsgInfoList []*GuildMsgInfo `protobuf:"bytes,1,rep"` GuildMsgInfoList []*GuildMsgInfo `protobuf:"bytes,1,rep"`
} }
func (x *BatchGetMsgRspCountRsp) GetGuildMsgInfoList() []*GuildMsgInfo {
if x != nil {
return x.GuildMsgInfoList
}
return nil
}
type SvrChannelMsg struct { type SvrChannelMsg struct {
ChannelId *uint64 `protobuf:"varint,1,opt"` ChannelId *uint64 `protobuf:"varint,1,opt"`
Id []*MsgId `protobuf:"bytes,2,rep"` Id []*MsgId `protobuf:"bytes,2,rep"`
@ -37,13 +23,6 @@ func (x *SvrChannelMsg) GetChannelId() uint64 {
return 0 return 0
} }
func (x *SvrChannelMsg) GetId() []*MsgId {
if x != nil {
return x.Id
}
return nil
}
type ChannelMsgInfo struct { type ChannelMsgInfo struct {
ChannelId *uint64 `protobuf:"varint,1,opt"` ChannelId *uint64 `protobuf:"varint,1,opt"`
RespData []*MsgRespData `protobuf:"bytes,2,rep"` RespData []*MsgRespData `protobuf:"bytes,2,rep"`
@ -56,13 +35,6 @@ func (x *ChannelMsgInfo) GetChannelId() uint64 {
return 0 return 0
} }
func (x *ChannelMsgInfo) GetRespData() []*MsgRespData {
if x != nil {
return x.RespData
}
return nil
}
type EmojiReaction struct { type EmojiReaction struct {
EmojiId *string `protobuf:"bytes,1,opt"` EmojiId *string `protobuf:"bytes,1,opt"`
EmojiType *uint64 `protobuf:"varint,2,opt"` EmojiType *uint64 `protobuf:"varint,2,opt"`
@ -118,13 +90,6 @@ func (x *GuildMsg) GetGuildId() uint64 {
return 0 return 0
} }
func (x *GuildMsg) GetChannelMsgList() []*SvrChannelMsg {
if x != nil {
return x.ChannelMsgList
}
return nil
}
type GuildMsgInfo struct { type GuildMsgInfo struct {
GuildId *uint64 `protobuf:"varint,1,opt"` GuildId *uint64 `protobuf:"varint,1,opt"`
ChannelMsgInfoList []*ChannelMsgInfo `protobuf:"bytes,2,rep"` ChannelMsgInfoList []*ChannelMsgInfo `protobuf:"bytes,2,rep"`
@ -137,32 +102,11 @@ func (x *GuildMsgInfo) GetGuildId() uint64 {
return 0 return 0
} }
func (x *GuildMsgInfo) GetChannelMsgInfoList() []*ChannelMsgInfo {
if x != nil {
return x.ChannelMsgInfoList
}
return nil
}
type MsgCnt struct { type MsgCnt struct {
Id *MsgId `protobuf:"bytes,1,opt"` Id *MsgId `protobuf:"bytes,1,opt"`
EmojiReaction []*EmojiReaction `protobuf:"bytes,2,rep"` EmojiReaction []*EmojiReaction `protobuf:"bytes,2,rep"`
} }
func (x *MsgCnt) GetId() *MsgId {
if x != nil {
return x.Id
}
return nil
}
func (x *MsgCnt) GetEmojiReaction() []*EmojiReaction {
if x != nil {
return x.EmojiReaction
}
return nil
}
type MsgId struct { type MsgId struct {
Version *uint64 `protobuf:"varint,1,opt"` Version *uint64 `protobuf:"varint,1,opt"`
Seq *uint64 `protobuf:"varint,2,opt"` Seq *uint64 `protobuf:"varint,2,opt"`
@ -186,17 +130,3 @@ type MsgRespData struct {
Id *MsgId `protobuf:"bytes,1,opt"` Id *MsgId `protobuf:"bytes,1,opt"`
Cnt []byte `protobuf:"bytes,2,opt"` Cnt []byte `protobuf:"bytes,2,opt"`
} }
func (x *MsgRespData) GetId() *MsgId {
if x != nil {
return x.Id
}
return nil
}
func (x *MsgRespData) GetCnt() []byte {
if x != nil {
return x.Cnt
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "pb/channel;channel"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel";
message BatchGetMsgRspCountReq { message BatchGetMsgRspCountReq {
repeated GuildMsg guildMsgList = 1; repeated GuildMsg guildMsgList = 1;

View File

@ -59,13 +59,6 @@ func (x *ChannelContentHead) GetTime() uint64 {
return 0 return 0
} }
func (x *ChannelContentHead) GetMeta() []byte {
if x != nil {
return x.Meta
}
return nil
}
type DirectMessageMember struct { type DirectMessageMember struct {
Uin *uint64 `protobuf:"varint,1,opt"` Uin *uint64 `protobuf:"varint,1,opt"`
Tinyid *uint64 `protobuf:"varint,2,opt"` Tinyid *uint64 `protobuf:"varint,2,opt"`
@ -97,27 +90,6 @@ func (x *DirectMessageMember) GetSourceGuildId() uint64 {
return 0 return 0
} }
func (x *DirectMessageMember) GetSourceGuildName() []byte {
if x != nil {
return x.SourceGuildName
}
return nil
}
func (x *DirectMessageMember) GetNickName() []byte {
if x != nil {
return x.NickName
}
return nil
}
func (x *DirectMessageMember) GetMemberName() []byte {
if x != nil {
return x.MemberName
}
return nil
}
func (x *DirectMessageMember) GetNotifyType() uint32 { func (x *DirectMessageMember) GetNotifyType() uint32 {
if x != nil && x.NotifyType != nil { if x != nil && x.NotifyType != nil {
return *x.NotifyType return *x.NotifyType
@ -145,13 +117,6 @@ func (x *ChannelEvent) GetVersion() uint64 {
return 0 return 0
} }
func (x *ChannelEvent) GetOpInfo() *ChannelMsgOpInfo {
if x != nil {
return x.OpInfo
}
return nil
}
type ChannelExtInfo struct { type ChannelExtInfo struct {
FromNick []byte `protobuf:"bytes,1,opt"` FromNick []byte `protobuf:"bytes,1,opt"`
GuildName []byte `protobuf:"bytes,2,opt"` GuildName []byte `protobuf:"bytes,2,opt"`
@ -169,27 +134,6 @@ type ChannelExtInfo struct {
DirectMessageMember []*DirectMessageMember `protobuf:"bytes,14,rep"` DirectMessageMember []*DirectMessageMember `protobuf:"bytes,14,rep"`
} }
func (x *ChannelExtInfo) GetFromNick() []byte {
if x != nil {
return x.FromNick
}
return nil
}
func (x *ChannelExtInfo) GetGuildName() []byte {
if x != nil {
return x.GuildName
}
return nil
}
func (x *ChannelExtInfo) GetChannelName() []byte {
if x != nil {
return x.ChannelName
}
return nil
}
func (x *ChannelExtInfo) GetVisibility() uint32 { func (x *ChannelExtInfo) GetVisibility() uint32 {
if x != nil && x.Visibility != nil { if x != nil && x.Visibility != nil {
return *x.Visibility return *x.Visibility
@ -218,13 +162,6 @@ func (x *ChannelExtInfo) GetNameType() uint32 {
return 0 return 0
} }
func (x *ChannelExtInfo) GetMemberName() []byte {
if x != nil {
return x.MemberName
}
return nil
}
func (x *ChannelExtInfo) GetTimestamp() uint32 { func (x *ChannelExtInfo) GetTimestamp() uint32 {
if x != nil && x.Timestamp != nil { if x != nil && x.Timestamp != nil {
return *x.Timestamp return *x.Timestamp
@ -239,34 +176,6 @@ func (x *ChannelExtInfo) GetEventVersion() uint64 {
return 0 return 0
} }
func (x *ChannelExtInfo) GetEvents() []*ChannelEvent {
if x != nil {
return x.Events
}
return nil
}
func (x *ChannelExtInfo) GetFromRoleInfo() *ChannelRole {
if x != nil {
return x.FromRoleInfo
}
return nil
}
func (x *ChannelExtInfo) GetFreqLimitInfo() *ChannelFreqLimitInfo {
if x != nil {
return x.FreqLimitInfo
}
return nil
}
func (x *ChannelExtInfo) GetDirectMessageMember() []*DirectMessageMember {
if x != nil {
return x.DirectMessageMember
}
return nil
}
type ChannelFreqLimitInfo struct { type ChannelFreqLimitInfo struct {
IsLimited *uint32 `protobuf:"varint,1,opt"` IsLimited *uint32 `protobuf:"varint,1,opt"`
LeftCount *uint32 `protobuf:"varint,2,opt"` LeftCount *uint32 `protobuf:"varint,2,opt"`
@ -308,13 +217,6 @@ func (x *ChannelInfo) GetId() uint64 {
return 0 return 0
} }
func (x *ChannelInfo) GetName() []byte {
if x != nil {
return x.Name
}
return nil
}
func (x *ChannelInfo) GetColor() uint32 { func (x *ChannelInfo) GetColor() uint32 {
if x != nil && x.Color != nil { if x != nil && x.Color != nil {
return *x.Color return *x.Color
@ -342,13 +244,6 @@ func (x *ChannelLoginSig) GetType() uint32 {
return 0 return 0
} }
func (x *ChannelLoginSig) GetSig() []byte {
if x != nil {
return x.Sig
}
return nil
}
func (x *ChannelLoginSig) GetAppid() uint32 { func (x *ChannelLoginSig) GetAppid() uint32 {
if x != nil && x.Appid != nil { if x != nil && x.Appid != nil {
return *x.Appid return *x.Appid
@ -368,13 +263,6 @@ func (x *ChannelMeta) GetFromUin() uint64 {
return 0 return 0
} }
func (x *ChannelMeta) GetLoginSig() *ChannelLoginSig {
if x != nil {
return x.LoginSig
}
return nil
}
type ChannelMsgContent struct { type ChannelMsgContent struct {
Head *ChannelMsgHead `protobuf:"bytes,1,opt"` Head *ChannelMsgHead `protobuf:"bytes,1,opt"`
CtrlHead *ChannelMsgCtrlHead `protobuf:"bytes,2,opt"` CtrlHead *ChannelMsgCtrlHead `protobuf:"bytes,2,opt"`
@ -382,34 +270,6 @@ type ChannelMsgContent struct {
ExtInfo *ChannelExtInfo `protobuf:"bytes,4,opt"` ExtInfo *ChannelExtInfo `protobuf:"bytes,4,opt"`
} }
func (x *ChannelMsgContent) GetHead() *ChannelMsgHead {
if x != nil {
return x.Head
}
return nil
}
func (x *ChannelMsgContent) GetCtrlHead() *ChannelMsgCtrlHead {
if x != nil {
return x.CtrlHead
}
return nil
}
func (x *ChannelMsgContent) GetBody() *msg.MessageBody {
if x != nil {
return x.Body
}
return nil
}
func (x *ChannelMsgContent) GetExtInfo() *ChannelExtInfo {
if x != nil {
return x.ExtInfo
}
return nil
}
type ChannelMsgCtrlHead struct { type ChannelMsgCtrlHead struct {
IncludeUin [][]byte `protobuf:"bytes,1,rep"` IncludeUin [][]byte `protobuf:"bytes,1,rep"`
// repeated uint64 excludeUin = 2; // bytes? // repeated uint64 excludeUin = 2; // bytes?
@ -426,13 +286,6 @@ type ChannelMsgCtrlHead struct {
PrivateType *uint32 `protobuf:"varint,13,opt"` PrivateType *uint32 `protobuf:"varint,13,opt"`
} }
func (x *ChannelMsgCtrlHead) GetIncludeUin() [][]byte {
if x != nil {
return x.IncludeUin
}
return nil
}
func (x *ChannelMsgCtrlHead) GetOfflineFlag() uint32 { func (x *ChannelMsgCtrlHead) GetOfflineFlag() uint32 {
if x != nil && x.OfflineFlag != nil { if x != nil && x.OfflineFlag != nil {
return *x.OfflineFlag return *x.OfflineFlag
@ -454,13 +307,6 @@ func (x *ChannelMsgCtrlHead) GetCtrlFlag() uint64 {
return 0 return 0
} }
func (x *ChannelMsgCtrlHead) GetEvents() []*ChannelEvent {
if x != nil {
return x.Events
}
return nil
}
func (x *ChannelMsgCtrlHead) GetLevel() uint64 { func (x *ChannelMsgCtrlHead) GetLevel() uint64 {
if x != nil && x.Level != nil { if x != nil && x.Level != nil {
return *x.Level return *x.Level
@ -468,13 +314,6 @@ func (x *ChannelMsgCtrlHead) GetLevel() uint64 {
return 0 return 0
} }
func (x *ChannelMsgCtrlHead) GetPersonalLevels() []*PersonalLevel {
if x != nil {
return x.PersonalLevels
}
return nil
}
func (x *ChannelMsgCtrlHead) GetGuildSyncSeq() uint64 { func (x *ChannelMsgCtrlHead) GetGuildSyncSeq() uint64 {
if x != nil && x.GuildSyncSeq != nil { if x != nil && x.GuildSyncSeq != nil {
return *x.GuildSyncSeq return *x.GuildSyncSeq
@ -508,20 +347,6 @@ type ChannelMsgHead struct {
ContentHead *ChannelContentHead `protobuf:"bytes,2,opt"` ContentHead *ChannelContentHead `protobuf:"bytes,2,opt"`
} }
func (x *ChannelMsgHead) GetRoutingHead() *ChannelRoutingHead {
if x != nil {
return x.RoutingHead
}
return nil
}
func (x *ChannelMsgHead) GetContentHead() *ChannelContentHead {
if x != nil {
return x.ContentHead
}
return nil
}
type ChannelMsgMeta struct { type ChannelMsgMeta struct {
AtAllSeq *uint64 `protobuf:"varint,1,opt"` AtAllSeq *uint64 `protobuf:"varint,1,opt"`
} }
@ -608,13 +433,6 @@ func (x *ChannelRole) GetId() uint64 {
return 0 return 0
} }
func (x *ChannelRole) GetInfo() []byte {
if x != nil {
return x.Info
}
return nil
}
func (x *ChannelRole) GetFlag() uint32 { func (x *ChannelRole) GetFlag() uint32 {
if x != nil && x.Flag != nil { if x != nil && x.Flag != nil {
return *x.Flag return *x.Flag

View File

@ -2,7 +2,7 @@ syntax = "proto2";
package channel; package channel;
option go_package = "pb/channel;channel"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel;channel";
import "pb/msg/msg.proto"; import "pb/msg/msg.proto";

View File

@ -7,13 +7,6 @@ type FocusInfo struct {
ChannelIdList []uint64 `protobuf:"varint,1,rep"` ChannelIdList []uint64 `protobuf:"varint,1,rep"`
} }
func (x *FocusInfo) GetChannelIdList() []uint64 {
if x != nil {
return x.ChannelIdList
}
return nil
}
type MsgOnlinePush struct { type MsgOnlinePush struct {
Msgs []*ChannelMsgContent `protobuf:"bytes,1,rep"` Msgs []*ChannelMsgContent `protobuf:"bytes,1,rep"`
GeneralFlag *uint32 `protobuf:"varint,2,opt"` GeneralFlag *uint32 `protobuf:"varint,2,opt"`
@ -25,13 +18,6 @@ type MsgOnlinePush struct {
HugeFlag *uint32 `protobuf:"varint,8,opt"` HugeFlag *uint32 `protobuf:"varint,8,opt"`
} }
func (x *MsgOnlinePush) GetMsgs() []*ChannelMsgContent {
if x != nil {
return x.Msgs
}
return nil
}
func (x *MsgOnlinePush) GetGeneralFlag() uint32 { func (x *MsgOnlinePush) GetGeneralFlag() uint32 {
if x != nil && x.GeneralFlag != nil { if x != nil && x.GeneralFlag != nil {
return *x.GeneralFlag return *x.GeneralFlag
@ -46,13 +32,6 @@ func (x *MsgOnlinePush) GetNeedResp() uint32 {
return 0 return 0
} }
func (x *MsgOnlinePush) GetServerBuf() []byte {
if x != nil {
return x.ServerBuf
}
return nil
}
func (x *MsgOnlinePush) GetCompressFlag() uint32 { func (x *MsgOnlinePush) GetCompressFlag() uint32 {
if x != nil && x.CompressFlag != nil { if x != nil && x.CompressFlag != nil {
return *x.CompressFlag return *x.CompressFlag
@ -60,20 +39,6 @@ func (x *MsgOnlinePush) GetCompressFlag() uint32 {
return 0 return 0
} }
func (x *MsgOnlinePush) GetCompressMsg() []byte {
if x != nil {
return x.CompressMsg
}
return nil
}
func (x *MsgOnlinePush) GetFocusInfo() *FocusInfo {
if x != nil {
return x.FocusInfo
}
return nil
}
func (x *MsgOnlinePush) GetHugeFlag() uint32 { func (x *MsgOnlinePush) GetHugeFlag() uint32 {
if x != nil && x.HugeFlag != nil { if x != nil && x.HugeFlag != nil {
return *x.HugeFlag return *x.HugeFlag
@ -85,24 +50,10 @@ type MsgPushResp struct {
ServerBuf []byte `protobuf:"bytes,1,opt"` ServerBuf []byte `protobuf:"bytes,1,opt"`
} }
func (x *MsgPushResp) GetServerBuf() []byte {
if x != nil {
return x.ServerBuf
}
return nil
}
type PressMsg struct { type PressMsg struct {
Msgs []*ChannelMsgContent `protobuf:"bytes,1,rep"` Msgs []*ChannelMsgContent `protobuf:"bytes,1,rep"`
} }
func (x *PressMsg) GetMsgs() []*ChannelMsgContent {
if x != nil {
return x.Msgs
}
return nil
}
type ServerBuf struct { type ServerBuf struct {
SvrIp *uint32 `protobuf:"varint,1,opt"` SvrIp *uint32 `protobuf:"varint,1,opt"`
SvrPort *uint32 `protobuf:"varint,2,opt"` SvrPort *uint32 `protobuf:"varint,2,opt"`
@ -122,10 +73,3 @@ func (x *ServerBuf) GetSvrPort() uint32 {
} }
return 0 return 0
} }
func (x *ServerBuf) GetEchoKey() []byte {
if x != nil {
return x.EchoKey
}
return nil
}

View File

@ -2,7 +2,7 @@ syntax = "proto2";
package channel; package channel;
option go_package = "pb/channel;channel"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel";
import "pb/channel/common.proto"; import "pb/channel/common.proto";

View File

@ -11,13 +11,6 @@ type DF62ReqBody struct {
Msg *ChannelMsgContent `protobuf:"bytes,1,opt"` Msg *ChannelMsgContent `protobuf:"bytes,1,opt"`
} }
func (x *DF62ReqBody) GetMsg() *ChannelMsgContent {
if x != nil {
return x.Msg
}
return nil
}
type DF62RspBody struct { type DF62RspBody struct {
Result *uint32 `protobuf:"varint,1,opt"` Result *uint32 `protobuf:"varint,1,opt"`
Errmsg []byte `protobuf:"bytes,2,opt"` Errmsg []byte `protobuf:"bytes,2,opt"`
@ -36,13 +29,6 @@ func (x *DF62RspBody) GetResult() uint32 {
return 0 return 0
} }
func (x *DF62RspBody) GetErrmsg() []byte {
if x != nil {
return x.Errmsg
}
return nil
}
func (x *DF62RspBody) GetSendTime() uint32 { func (x *DF62RspBody) GetSendTime() uint32 {
if x != nil && x.SendTime != nil { if x != nil && x.SendTime != nil {
return *x.SendTime return *x.SendTime
@ -50,13 +36,6 @@ func (x *DF62RspBody) GetSendTime() uint32 {
return 0 return 0
} }
func (x *DF62RspBody) GetHead() *ChannelMsgHead {
if x != nil {
return x.Head
}
return nil
}
func (x *DF62RspBody) GetErrType() uint32 { func (x *DF62RspBody) GetErrType() uint32 {
if x != nil && x.ErrType != nil { if x != nil && x.ErrType != nil {
return *x.ErrType return *x.ErrType
@ -64,27 +43,6 @@ func (x *DF62RspBody) GetErrType() uint32 {
return 0 return 0
} }
func (x *DF62RspBody) GetTransSvrInfo() *TransSvrInfo {
if x != nil {
return x.TransSvrInfo
}
return nil
}
func (x *DF62RspBody) GetFreqLimitInfo() *ChannelFreqLimitInfo {
if x != nil {
return x.FreqLimitInfo
}
return nil
}
func (x *DF62RspBody) GetBody() *msg.MessageBody {
if x != nil {
return x.Body
}
return nil
}
type TransSvrInfo struct { type TransSvrInfo struct {
SubType *uint32 `protobuf:"varint,1,opt"` SubType *uint32 `protobuf:"varint,1,opt"`
RetCode *int32 `protobuf:"varint,2,opt"` RetCode *int32 `protobuf:"varint,2,opt"`
@ -105,17 +63,3 @@ func (x *TransSvrInfo) GetRetCode() int32 {
} }
return 0 return 0
} }
func (x *TransSvrInfo) GetErrMsg() []byte {
if x != nil {
return x.ErrMsg
}
return nil
}
func (x *TransSvrInfo) GetTransInfo() []byte {
if x != nil {
return x.TransInfo
}
return nil
}

View File

@ -2,7 +2,7 @@ syntax = "proto2";
package channel; package channel;
option go_package = "pb/channel;channel"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel";
import "pb/channel/common.proto"; import "pb/channel/common.proto";
import "pb/msg/msg.proto"; import "pb/msg/msg.proto";

View File

@ -79,20 +79,6 @@ func (x *CategoryInfo) GetCategoryIndex() uint32 {
return 0 return 0
} }
func (x *CategoryInfo) GetChannelInfo() []*CategoryChannelInfo {
if x != nil {
return x.ChannelInfo
}
return nil
}
func (x *CategoryInfo) GetCategoryName() []byte {
if x != nil {
return x.CategoryName
}
return nil
}
func (x *CategoryInfo) GetCategoryId() uint64 { func (x *CategoryInfo) GetCategoryId() uint64 {
if x != nil && x.CategoryId != nil { if x != nil && x.CategoryId != nil {
return *x.CategoryId return *x.CategoryId
@ -178,20 +164,6 @@ func (x *ChanInfoFilter) GetLastCntMsgSeq() uint32 {
return 0 return 0
} }
func (x *ChanInfoFilter) GetVoiceChannelInfoFilter() *VoiceChannelInfoFilter {
if x != nil {
return x.VoiceChannelInfoFilter
}
return nil
}
func (x *ChanInfoFilter) GetLiveChannelInfoFilter() *LiveChannelInfoFilter {
if x != nil {
return x.LiveChannelInfoFilter
}
return nil
}
func (x *ChanInfoFilter) GetBannedSpeak() uint32 { func (x *ChanInfoFilter) GetBannedSpeak() uint32 {
if x != nil && x.BannedSpeak != nil { if x != nil && x.BannedSpeak != nil {
return *x.BannedSpeak return *x.BannedSpeak
@ -230,13 +202,6 @@ func (x *ChangeChanInfo) GetOperatorId() uint64 {
return 0 return 0
} }
func (x *ChangeChanInfo) GetInfoSeq() *MsgSeq {
if x != nil {
return x.InfoSeq
}
return nil
}
func (x *ChangeChanInfo) GetUpdateType() uint32 { func (x *ChangeChanInfo) GetUpdateType() uint32 {
if x != nil && x.UpdateType != nil { if x != nil && x.UpdateType != nil {
return *x.UpdateType return *x.UpdateType
@ -244,20 +209,6 @@ func (x *ChangeChanInfo) GetUpdateType() uint32 {
return 0 return 0
} }
func (x *ChangeChanInfo) GetChanInfoFilter() *ChanInfoFilter {
if x != nil {
return x.ChanInfoFilter
}
return nil
}
func (x *ChangeChanInfo) GetChanInfo() *ServChannelInfo {
if x != nil {
return x.ChanInfo
}
return nil
}
type ChangeGuildInfo struct { type ChangeGuildInfo struct {
GuildId *uint64 `protobuf:"varint,1,opt"` GuildId *uint64 `protobuf:"varint,1,opt"`
OperatorId *uint64 `protobuf:"varint,2,opt"` OperatorId *uint64 `protobuf:"varint,2,opt"`
@ -282,20 +233,6 @@ func (x *ChangeGuildInfo) GetOperatorId() uint64 {
return 0 return 0
} }
func (x *ChangeGuildInfo) GetInfoSeq() *MsgSeq {
if x != nil {
return x.InfoSeq
}
return nil
}
func (x *ChangeGuildInfo) GetFaceSeq() *MsgSeq {
if x != nil {
return x.FaceSeq
}
return nil
}
func (x *ChangeGuildInfo) GetUpdateType() uint32 { func (x *ChangeGuildInfo) GetUpdateType() uint32 {
if x != nil && x.UpdateType != nil { if x != nil && x.UpdateType != nil {
return *x.UpdateType return *x.UpdateType
@ -303,20 +240,6 @@ func (x *ChangeGuildInfo) GetUpdateType() uint32 {
return 0 return 0
} }
func (x *ChangeGuildInfo) GetGuildInfoFilter() *GuildInfoFilter {
if x != nil {
return x.GuildInfoFilter
}
return nil
}
func (x *ChangeGuildInfo) GetGuildInfo() *GuildInfo {
if x != nil {
return x.GuildInfo
}
return nil
}
type ChannelID struct { type ChannelID struct {
ChanId *uint64 `protobuf:"varint,1,opt"` ChanId *uint64 `protobuf:"varint,1,opt"`
} }
@ -351,13 +274,6 @@ func (x *ServChannelInfo) GetChannelId() uint64 {
return 0 return 0
} }
func (x *ServChannelInfo) GetChannelName() []byte {
if x != nil {
return x.ChannelName
}
return nil
}
func (x *ServChannelInfo) GetCreatorId() uint64 { func (x *ServChannelInfo) GetCreatorId() uint64 {
if x != nil && x.CreatorId != nil { if x != nil && x.CreatorId != nil {
return *x.CreatorId return *x.CreatorId
@ -400,34 +316,6 @@ func (x *ServChannelInfo) GetSpeakPermission() uint32 {
return 0 return 0
} }
func (x *ServChannelInfo) GetLastMsgSeq() *MsgSeq {
if x != nil {
return x.LastMsgSeq
}
return nil
}
func (x *ServChannelInfo) GetLastCntMsgSeq() *MsgSeq {
if x != nil {
return x.LastCntMsgSeq
}
return nil
}
func (x *ServChannelInfo) GetVoiceChannelInfo() *VoiceChannelInfo {
if x != nil {
return x.VoiceChannelInfo
}
return nil
}
func (x *ServChannelInfo) GetLiveChannelInfo() *LiveChannelInfo {
if x != nil {
return x.LiveChannelInfo
}
return nil
}
func (x *ServChannelInfo) GetBannedSpeak() uint32 { func (x *ServChannelInfo) GetBannedSpeak() uint32 {
if x != nil && x.BannedSpeak != nil { if x != nil && x.BannedSpeak != nil {
return *x.BannedSpeak return *x.BannedSpeak
@ -474,20 +362,6 @@ func (x *CommGrayTips) GetTemplId() uint64 {
return 0 return 0
} }
func (x *CommGrayTips) GetTemplParam() []*CommGrayTips_TemplParam {
if x != nil {
return x.TemplParam
}
return nil
}
func (x *CommGrayTips) GetContent() []byte {
if x != nil {
return x.Content
}
return nil
}
func (x *CommGrayTips) GetTipsSeqId() uint64 { func (x *CommGrayTips) GetTipsSeqId() uint64 {
if x != nil && x.TipsSeqId != nil { if x != nil && x.TipsSeqId != nil {
return *x.TipsSeqId return *x.TipsSeqId
@ -495,13 +369,6 @@ func (x *CommGrayTips) GetTipsSeqId() uint64 {
return 0 return 0
} }
func (x *CommGrayTips) GetPbReserv() []byte {
if x != nil {
return x.PbReserv
}
return nil
}
type CreateChan struct { type CreateChan struct {
GuildId *uint64 `protobuf:"varint,1,opt"` GuildId *uint64 `protobuf:"varint,1,opt"`
OperatorId *uint64 `protobuf:"varint,3,opt"` OperatorId *uint64 `protobuf:"varint,3,opt"`
@ -522,13 +389,6 @@ func (x *CreateChan) GetOperatorId() uint64 {
return 0 return 0
} }
func (x *CreateChan) GetCreateId() []*ChannelID {
if x != nil {
return x.CreateId
}
return nil
}
type CreateGuild struct { type CreateGuild struct {
OperatorId *uint64 `protobuf:"varint,1,opt"` OperatorId *uint64 `protobuf:"varint,1,opt"`
GuildId *uint64 `protobuf:"varint,2,opt"` GuildId *uint64 `protobuf:"varint,2,opt"`
@ -568,13 +428,6 @@ func (x *DestroyChan) GetOperatorId() uint64 {
return 0 return 0
} }
func (x *DestroyChan) GetDeleteId() []*ChannelID {
if x != nil {
return x.DeleteId
}
return nil
}
type DestroyGuild struct { type DestroyGuild struct {
OperatorId *uint64 `protobuf:"varint,1,opt"` OperatorId *uint64 `protobuf:"varint,1,opt"`
GuildId *uint64 `protobuf:"varint,2,opt"` GuildId *uint64 `protobuf:"varint,2,opt"`
@ -624,195 +477,6 @@ type EventBody struct {
ReadFeedNotify *ReadFeedNotify `protobuf:"bytes,48,opt"` ReadFeedNotify *ReadFeedNotify `protobuf:"bytes,48,opt"`
} }
func (x *EventBody) GetReadNotify() *ReadNotify {
if x != nil {
return x.ReadNotify
}
return nil
}
func (x *EventBody) GetCommGrayTips() *CommGrayTips {
if x != nil {
return x.CommGrayTips
}
return nil
}
func (x *EventBody) GetCreateGuild() *CreateGuild {
if x != nil {
return x.CreateGuild
}
return nil
}
func (x *EventBody) GetDestroyGuild() *DestroyGuild {
if x != nil {
return x.DestroyGuild
}
return nil
}
func (x *EventBody) GetJoinGuild() *JoinGuild {
if x != nil {
return x.JoinGuild
}
return nil
}
func (x *EventBody) GetKickOffGuild() *KickOffGuild {
if x != nil {
return x.KickOffGuild
}
return nil
}
func (x *EventBody) GetQuitGuild() *QuitGuild {
if x != nil {
return x.QuitGuild
}
return nil
}
func (x *EventBody) GetChangeGuildInfo() *ChangeGuildInfo {
if x != nil {
return x.ChangeGuildInfo
}
return nil
}
func (x *EventBody) GetCreateChan() *CreateChan {
if x != nil {
return x.CreateChan
}
return nil
}
func (x *EventBody) GetDestroyChan() *DestroyChan {
if x != nil {
return x.DestroyChan
}
return nil
}
func (x *EventBody) GetChangeChanInfo() *ChangeChanInfo {
if x != nil {
return x.ChangeChanInfo
}
return nil
}
func (x *EventBody) GetSetAdmin() *SetAdmin {
if x != nil {
return x.SetAdmin
}
return nil
}
func (x *EventBody) GetSetMsgRecvType() *SetMsgRecvType {
if x != nil {
return x.SetMsgRecvType
}
return nil
}
func (x *EventBody) GetUpdateMsg() *UpdateMsg {
if x != nil {
return x.UpdateMsg
}
return nil
}
func (x *EventBody) GetSetTop() *SetTop {
if x != nil {
return x.SetTop
}
return nil
}
func (x *EventBody) GetSwitchChannel() *SwitchVoiceChannel {
if x != nil {
return x.SwitchChannel
}
return nil
}
func (x *EventBody) GetUpdateCategory() *UpdateCategory {
if x != nil {
return x.UpdateCategory
}
return nil
}
func (x *EventBody) GetUpdateVoiceBlockList() *UpdateVoiceBlockList {
if x != nil {
return x.UpdateVoiceBlockList
}
return nil
}
func (x *EventBody) GetSetMute() *SetMute {
if x != nil {
return x.SetMute
}
return nil
}
func (x *EventBody) GetLiveStatusChangeRoom() *LiveRoomStatusChangeMsg {
if x != nil {
return x.LiveStatusChangeRoom
}
return nil
}
func (x *EventBody) GetSwitchLiveRoom() *SwitchLiveRoom {
if x != nil {
return x.SwitchLiveRoom
}
return nil
}
func (x *EventBody) GetEvents() []*MsgEvent {
if x != nil {
return x.Events
}
return nil
}
func (x *EventBody) GetScheduler() *SchedulerMsg {
if x != nil {
return x.Scheduler
}
return nil
}
func (x *EventBody) GetAppChannel() *AppChannelMsg {
if x != nil {
return x.AppChannel
}
return nil
}
func (x *EventBody) GetFeedEvent() *FeedEvent {
if x != nil {
return x.FeedEvent
}
return nil
}
func (x *EventBody) GetWeakMsgAppChannel() *AppChannelMsg {
if x != nil {
return x.WeakMsgAppChannel
}
return nil
}
func (x *EventBody) GetReadFeedNotify() *ReadFeedNotify {
if x != nil {
return x.ReadFeedNotify
}
return nil
}
type FeedEvent struct { type FeedEvent struct {
GuildId *uint64 `protobuf:"varint,1,opt"` GuildId *uint64 `protobuf:"varint,1,opt"`
ChannelId *uint64 `protobuf:"varint,2,opt"` ChannelId *uint64 `protobuf:"varint,2,opt"`
@ -957,27 +621,6 @@ func (x *GuildInfo) GetGuildType() uint32 {
return 0 return 0
} }
func (x *GuildInfo) GetGuildName() []byte {
if x != nil {
return x.GuildName
}
return nil
}
func (x *GuildInfo) GetRobotList() []uint64 {
if x != nil {
return x.RobotList
}
return nil
}
func (x *GuildInfo) GetAdminList() []uint64 {
if x != nil {
return x.AdminList
}
return nil
}
func (x *GuildInfo) GetRobotMaxNum() uint32 { func (x *GuildInfo) GetRobotMaxNum() uint32 {
if x != nil && x.RobotMaxNum != nil { if x != nil && x.RobotMaxNum != nil {
return *x.RobotMaxNum return *x.RobotMaxNum
@ -992,13 +635,6 @@ func (x *GuildInfo) GetAdminMaxNum() uint32 {
return 0 return 0
} }
func (x *GuildInfo) GetProfile() []byte {
if x != nil {
return x.Profile
}
return nil
}
func (x *GuildInfo) GetFaceSeq() uint64 { func (x *GuildInfo) GetFaceSeq() uint64 {
if x != nil && x.FaceSeq != nil { if x != nil && x.FaceSeq != nil {
return *x.FaceSeq return *x.FaceSeq
@ -1006,13 +642,6 @@ func (x *GuildInfo) GetFaceSeq() uint64 {
return 0 return 0
} }
func (x *GuildInfo) GetGuildStatus() *GroupProStatus {
if x != nil {
return x.GuildStatus
}
return nil
}
func (x *GuildInfo) GetChannelNum() uint32 { func (x *GuildInfo) GetChannelNum() uint32 {
if x != nil && x.ChannelNum != nil { if x != nil && x.ChannelNum != nil {
return *x.ChannelNum return *x.ChannelNum
@ -1020,27 +649,6 @@ func (x *GuildInfo) GetChannelNum() uint32 {
return 0 return 0
} }
func (x *GuildInfo) GetMemberChangeSeq() *MsgSeq {
if x != nil {
return x.MemberChangeSeq
}
return nil
}
func (x *GuildInfo) GetGuildInfoChangeSeq() *MsgSeq {
if x != nil {
return x.GuildInfoChangeSeq
}
return nil
}
func (x *GuildInfo) GetChannelChangeSeq() *MsgSeq {
if x != nil {
return x.ChannelChangeSeq
}
return nil
}
type GuildInfoFilter struct { type GuildInfoFilter struct {
GuildCode *uint32 `protobuf:"varint,2,opt"` GuildCode *uint32 `protobuf:"varint,2,opt"`
OwnerId *uint32 `protobuf:"varint,3,opt"` OwnerId *uint32 `protobuf:"varint,3,opt"`
@ -1262,13 +870,6 @@ func (x *LiveChannelInfo) GetAnchorUin() uint64 {
return 0 return 0
} }
func (x *LiveChannelInfo) GetName() []byte {
if x != nil {
return x.Name
}
return nil
}
type LiveChannelInfoFilter struct { type LiveChannelInfoFilter struct {
IsNeedRoomId *uint32 `protobuf:"varint,1,opt"` IsNeedRoomId *uint32 `protobuf:"varint,1,opt"`
IsNeedAnchorUin *uint32 `protobuf:"varint,2,opt"` IsNeedAnchorUin *uint32 `protobuf:"varint,2,opt"`
@ -1410,40 +1011,12 @@ func (x *ReadNotify) GetGuildId() uint64 {
return 0 return 0
} }
func (x *ReadNotify) GetReadMsgSeq() *MsgSeq {
if x != nil {
return x.ReadMsgSeq
}
return nil
}
func (x *ReadNotify) GetReadCntMsgSeq() *MsgSeq {
if x != nil {
return x.ReadCntMsgSeq
}
return nil
}
func (x *ReadNotify) GetReadMsgMeta() []byte {
if x != nil {
return x.ReadMsgMeta
}
return nil
}
type SchedulerMsg struct { type SchedulerMsg struct {
CreatorHeadUrl []byte `protobuf:"bytes,1,opt"` CreatorHeadUrl []byte `protobuf:"bytes,1,opt"`
Wording *string `protobuf:"bytes,2,opt"` Wording *string `protobuf:"bytes,2,opt"`
ExpireTimeMs *uint64 `protobuf:"varint,3,opt"` ExpireTimeMs *uint64 `protobuf:"varint,3,opt"`
} }
func (x *SchedulerMsg) GetCreatorHeadUrl() []byte {
if x != nil {
return x.CreatorHeadUrl
}
return nil
}
func (x *SchedulerMsg) GetWording() string { func (x *SchedulerMsg) GetWording() string {
if x != nil && x.Wording != nil { if x != nil && x.Wording != nil {
return *x.Wording return *x.Wording
@ -1624,13 +1197,6 @@ func (x *SwitchLiveRoom) GetChannelId() uint64 {
return 0 return 0
} }
func (x *SwitchLiveRoom) GetUserInfo() *SwitchLiveRoomUserInfo {
if x != nil {
return x.UserInfo
}
return nil
}
func (x *SwitchLiveRoom) GetAction() uint32 { func (x *SwitchLiveRoom) GetAction() uint32 {
if x != nil && x.Action != nil { if x != nil && x.Action != nil {
return *x.Action return *x.Action
@ -1670,39 +1236,11 @@ func (x *SwitchVoiceChannel) GetMemberId() uint64 {
return 0 return 0
} }
func (x *SwitchVoiceChannel) GetEnterDetail() *SwitchDetail {
if x != nil {
return x.EnterDetail
}
return nil
}
func (x *SwitchVoiceChannel) GetLeaveDetail() *SwitchDetail {
if x != nil {
return x.LeaveDetail
}
return nil
}
type UpdateCategory struct { type UpdateCategory struct {
CategoryInfo []*CategoryInfo `protobuf:"bytes,1,rep"` CategoryInfo []*CategoryInfo `protobuf:"bytes,1,rep"`
NoClassifyCategoryInfo *CategoryInfo `protobuf:"bytes,2,opt"` NoClassifyCategoryInfo *CategoryInfo `protobuf:"bytes,2,opt"`
} }
func (x *UpdateCategory) GetCategoryInfo() []*CategoryInfo {
if x != nil {
return x.CategoryInfo
}
return nil
}
func (x *UpdateCategory) GetNoClassifyCategoryInfo() *CategoryInfo {
if x != nil {
return x.NoClassifyCategoryInfo
}
return nil
}
type UpdateMsg struct { type UpdateMsg struct {
MsgSeq *uint64 `protobuf:"varint,1,opt"` MsgSeq *uint64 `protobuf:"varint,1,opt"`
OrigMsgUncountable *bool `protobuf:"varint,2,opt"` OrigMsgUncountable *bool `protobuf:"varint,2,opt"`
@ -1815,17 +1353,3 @@ type CommGrayTips_TemplParam struct {
Name []byte `protobuf:"bytes,1,opt"` Name []byte `protobuf:"bytes,1,opt"`
Value []byte `protobuf:"bytes,2,opt"` Value []byte `protobuf:"bytes,2,opt"`
} }
func (x *CommGrayTips_TemplParam) GetName() []byte {
if x != nil {
return x.Name
}
return nil
}
func (x *CommGrayTips_TemplParam) GetValue() []byte {
if x != nil {
return x.Value
}
return nil
}

View File

@ -2,7 +2,7 @@ syntax = "proto2";
package channel; package channel;
option go_package = "pb/channel;channel"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel";
message AppChannelMsg { message AppChannelMsg {
optional string summary = 1; optional string summary = 1;

View File

@ -47,26 +47,12 @@ func (x *ChannelMsg) GetRspEndSeq() uint64 {
return 0 return 0
} }
func (x *ChannelMsg) GetMsgs() []*ChannelMsgContent {
if x != nil {
return x.Msgs
}
return nil
}
type ChannelMsgReq struct { type ChannelMsgReq struct {
ChannelParam *ChannelParam `protobuf:"bytes,1,opt"` ChannelParam *ChannelParam `protobuf:"bytes,1,opt"`
WithVersionFlag *uint32 `protobuf:"varint,2,opt"` WithVersionFlag *uint32 `protobuf:"varint,2,opt"`
DirectMessageFlag *uint32 `protobuf:"varint,3,opt"` DirectMessageFlag *uint32 `protobuf:"varint,3,opt"`
} }
func (x *ChannelMsgReq) GetChannelParam() *ChannelParam {
if x != nil {
return x.ChannelParam
}
return nil
}
func (x *ChannelMsgReq) GetWithVersionFlag() uint32 { func (x *ChannelMsgReq) GetWithVersionFlag() uint32 {
if x != nil && x.WithVersionFlag != nil { if x != nil && x.WithVersionFlag != nil {
return *x.WithVersionFlag return *x.WithVersionFlag
@ -96,20 +82,6 @@ func (x *ChannelMsgRsp) GetResult() uint32 {
return 0 return 0
} }
func (x *ChannelMsgRsp) GetErrMsg() []byte {
if x != nil {
return x.ErrMsg
}
return nil
}
func (x *ChannelMsgRsp) GetChannelMsg() *ChannelMsg {
if x != nil {
return x.ChannelMsg
}
return nil
}
func (x *ChannelMsgRsp) GetWithVersionFlag() uint32 { func (x *ChannelMsgRsp) GetWithVersionFlag() uint32 {
if x != nil && x.WithVersionFlag != nil { if x != nil && x.WithVersionFlag != nil {
return *x.WithVersionFlag return *x.WithVersionFlag
@ -188,13 +160,6 @@ func (x *ChannelNode) GetNotifyType() uint32 {
return 0 return 0
} }
func (x *ChannelNode) GetChannelName() []byte {
if x != nil {
return x.ChannelName
}
return nil
}
func (x *ChannelNode) GetChannelType() uint32 { func (x *ChannelNode) GetChannelType() uint32 {
if x != nil && x.ChannelType != nil { if x != nil && x.ChannelType != nil {
return *x.ChannelType return *x.ChannelType
@ -202,20 +167,6 @@ func (x *ChannelNode) GetChannelType() uint32 {
return 0 return 0
} }
func (x *ChannelNode) GetMeta() []byte {
if x != nil {
return x.Meta
}
return nil
}
func (x *ChannelNode) GetReadMsgMeta() []byte {
if x != nil {
return x.ReadMsgMeta
}
return nil
}
func (x *ChannelNode) GetEventTime() uint32 { func (x *ChannelNode) GetEventTime() uint32 {
if x != nil && x.EventTime != nil { if x != nil && x.EventTime != nil {
return *x.EventTime return *x.EventTime
@ -268,20 +219,6 @@ func (x *ChannelParam) GetTime() uint64 {
return 0 return 0
} }
func (x *ChannelParam) GetVersion() []uint64 {
if x != nil {
return x.Version
}
return nil
}
func (x *ChannelParam) GetSeqs() []*MsgCond {
if x != nil {
return x.Seqs
}
return nil
}
type DirectMessageSource struct { type DirectMessageSource struct {
TinyId *uint64 `protobuf:"varint,1,opt"` TinyId *uint64 `protobuf:"varint,1,opt"`
GuildId *uint64 `protobuf:"varint,2,opt"` GuildId *uint64 `protobuf:"varint,2,opt"`
@ -304,27 +241,6 @@ func (x *DirectMessageSource) GetGuildId() uint64 {
return 0 return 0
} }
func (x *DirectMessageSource) GetGuildName() []byte {
if x != nil {
return x.GuildName
}
return nil
}
func (x *DirectMessageSource) GetMemberName() []byte {
if x != nil {
return x.MemberName
}
return nil
}
func (x *DirectMessageSource) GetNickName() []byte {
if x != nil {
return x.NickName
}
return nil
}
type FirstViewMsg struct { type FirstViewMsg struct {
PushFlag *uint32 `protobuf:"varint,1,opt"` PushFlag *uint32 `protobuf:"varint,1,opt"`
Seq *uint32 `protobuf:"varint,2,opt"` Seq *uint32 `protobuf:"varint,2,opt"`
@ -348,20 +264,6 @@ func (x *FirstViewMsg) GetSeq() uint32 {
return 0 return 0
} }
func (x *FirstViewMsg) GetGuildNodes() []*GuildNode {
if x != nil {
return x.GuildNodes
}
return nil
}
func (x *FirstViewMsg) GetChannelMsgs() []*ChannelMsg {
if x != nil {
return x.ChannelMsgs
}
return nil
}
func (x *FirstViewMsg) GetGetMsgTime() uint64 { func (x *FirstViewMsg) GetGetMsgTime() uint64 {
if x != nil && x.GetMsgTime != nil { if x != nil && x.GetMsgTime != nil {
return *x.GetMsgTime return *x.GetMsgTime
@ -369,13 +271,6 @@ func (x *FirstViewMsg) GetGetMsgTime() uint64 {
return 0 return 0
} }
func (x *FirstViewMsg) GetDirectMessageGuildNodes() []*GuildNode {
if x != nil {
return x.DirectMessageGuildNodes
}
return nil
}
type FirstViewReq struct { type FirstViewReq struct {
LastMsgTime *uint64 `protobuf:"varint,1,opt"` LastMsgTime *uint64 `protobuf:"varint,1,opt"`
UdcFlag *uint32 `protobuf:"varint,2,opt"` UdcFlag *uint32 `protobuf:"varint,2,opt"`
@ -429,13 +324,6 @@ func (x *FirstViewRsp) GetResult() uint32 {
return 0 return 0
} }
func (x *FirstViewRsp) GetErrMsg() []byte {
if x != nil {
return x.ErrMsg
}
return nil
}
func (x *FirstViewRsp) GetSeq() uint32 { func (x *FirstViewRsp) GetSeq() uint32 {
if x != nil && x.Seq != nil { if x != nil && x.Seq != nil {
return *x.Seq return *x.Seq
@ -500,27 +388,6 @@ func (x *GuildNode) GetGuildCode() uint64 {
return 0 return 0
} }
func (x *GuildNode) GetChannelNodes() []*ChannelNode {
if x != nil {
return x.ChannelNodes
}
return nil
}
func (x *GuildNode) GetGuildName() []byte {
if x != nil {
return x.GuildName
}
return nil
}
func (x *GuildNode) GetPeerSource() *DirectMessageSource {
if x != nil {
return x.PeerSource
}
return nil
}
type MsgCond struct { type MsgCond struct {
Seq *uint64 `protobuf:"varint,1,opt"` Seq *uint64 `protobuf:"varint,1,opt"`
EventVersion *uint64 `protobuf:"varint,2,opt"` EventVersion *uint64 `protobuf:"varint,2,opt"`
@ -561,13 +428,6 @@ func (x *MultiChannelMsg) GetSeq() uint32 {
return 0 return 0
} }
func (x *MultiChannelMsg) GetChannelMsgs() []*ChannelMsg {
if x != nil {
return x.ChannelMsgs
}
return nil
}
func (x *MultiChannelMsg) GetGetMsgTime() uint64 { func (x *MultiChannelMsg) GetGetMsgTime() uint64 {
if x != nil && x.GetMsgTime != nil { if x != nil && x.GetMsgTime != nil {
return *x.GetMsgTime return *x.GetMsgTime
@ -581,13 +441,6 @@ type MultiChannelMsgReq struct {
DirectMessageFlag *uint32 `protobuf:"varint,3,opt"` DirectMessageFlag *uint32 `protobuf:"varint,3,opt"`
} }
func (x *MultiChannelMsgReq) GetChannelParams() []*ChannelParam {
if x != nil {
return x.ChannelParams
}
return nil
}
func (x *MultiChannelMsgReq) GetSeq() uint32 { func (x *MultiChannelMsgReq) GetSeq() uint32 {
if x != nil && x.Seq != nil { if x != nil && x.Seq != nil {
return *x.Seq return *x.Seq
@ -615,13 +468,6 @@ func (x *MultiChannelMsgRsp) GetResult() uint32 {
return 0 return 0
} }
func (x *MultiChannelMsgRsp) GetErrMsg() []byte {
if x != nil {
return x.ErrMsg
}
return nil
}
func (x *MultiChannelMsgRsp) GetSeq() uint32 { func (x *MultiChannelMsgRsp) GetSeq() uint32 {
if x != nil && x.Seq != nil { if x != nil && x.Seq != nil {
return *x.Seq return *x.Seq
@ -634,13 +480,6 @@ type ReqBody struct {
DirectMessageFlag *uint32 `protobuf:"varint,2,opt"` DirectMessageFlag *uint32 `protobuf:"varint,2,opt"`
} }
func (x *ReqBody) GetChannelParam() *ChannelParam {
if x != nil {
return x.ChannelParam
}
return nil
}
func (x *ReqBody) GetDirectMessageFlag() uint32 { func (x *ReqBody) GetDirectMessageFlag() uint32 {
if x != nil && x.DirectMessageFlag != nil { if x != nil && x.DirectMessageFlag != nil {
return *x.DirectMessageFlag return *x.DirectMessageFlag
@ -660,17 +499,3 @@ func (x *RspBody) GetResult() uint32 {
} }
return 0 return 0
} }
func (x *RspBody) GetErrMsg() []byte {
if x != nil {
return x.ErrMsg
}
return nil
}
func (x *RspBody) GetChannelMsg() *ChannelMsg {
if x != nil {
return x.ChannelMsg
}
return nil
}

View File

@ -2,7 +2,7 @@ syntax = "proto2";
package channel; package channel;
option go_package = "pb/channel;channel"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel";
import "pb/channel/common.proto"; import "pb/channel/common.proto";

View File

@ -22,20 +22,6 @@ func (x *ChannelOidb0Xf5BRsp) GetGuildId() uint64 {
return 0 return 0
} }
func (x *ChannelOidb0Xf5BRsp) GetBots() []*GuildMemberInfo {
if x != nil {
return x.Bots
}
return nil
}
func (x *ChannelOidb0Xf5BRsp) GetMembers() []*GuildMemberInfo {
if x != nil {
return x.Members
}
return nil
}
func (x *ChannelOidb0Xf5BRsp) GetNextIndex() uint32 { func (x *ChannelOidb0Xf5BRsp) GetNextIndex() uint32 {
if x != nil && x.NextIndex != nil { if x != nil && x.NextIndex != nil {
return *x.NextIndex return *x.NextIndex
@ -57,13 +43,6 @@ func (x *ChannelOidb0Xf5BRsp) GetNextQueryParam() string {
return "" return ""
} }
func (x *ChannelOidb0Xf5BRsp) GetMemberWithRoles() []*GuildGroupMembersInfo {
if x != nil {
return x.MemberWithRoles
}
return nil
}
func (x *ChannelOidb0Xf5BRsp) GetNextRoleIdIndex() uint64 { func (x *ChannelOidb0Xf5BRsp) GetNextRoleIdIndex() uint64 {
if x != nil && x.NextRoleIdIndex != nil { if x != nil && x.NextRoleIdIndex != nil {
return *x.NextRoleIdIndex return *x.NextRoleIdIndex
@ -75,68 +54,26 @@ type ChannelOidb0Xf88Rsp struct {
Profile *GuildUserProfile `protobuf:"bytes,1,opt"` Profile *GuildUserProfile `protobuf:"bytes,1,opt"`
} }
func (x *ChannelOidb0Xf88Rsp) GetProfile() *GuildUserProfile {
if x != nil {
return x.Profile
}
return nil
}
type ChannelOidb0Xfc9Rsp struct { type ChannelOidb0Xfc9Rsp struct {
Profile *GuildUserProfile `protobuf:"bytes,1,opt"` Profile *GuildUserProfile `protobuf:"bytes,1,opt"`
} }
func (x *ChannelOidb0Xfc9Rsp) GetProfile() *GuildUserProfile {
if x != nil {
return x.Profile
}
return nil
}
type ChannelOidb0Xf57Rsp struct { type ChannelOidb0Xf57Rsp struct {
Rsp *GuildMetaRsp `protobuf:"bytes,1,opt"` Rsp *GuildMetaRsp `protobuf:"bytes,1,opt"`
} }
func (x *ChannelOidb0Xf57Rsp) GetRsp() *GuildMetaRsp {
if x != nil {
return x.Rsp
}
return nil
}
type ChannelOidb0Xf55Rsp struct { type ChannelOidb0Xf55Rsp struct {
Info *GuildChannelInfo `protobuf:"bytes,1,opt"` Info *GuildChannelInfo `protobuf:"bytes,1,opt"`
} }
func (x *ChannelOidb0Xf55Rsp) GetInfo() *GuildChannelInfo {
if x != nil {
return x.Info
}
return nil
}
type ChannelOidb0Xf5DRsp struct { type ChannelOidb0Xf5DRsp struct {
Rsp *ChannelListRsp `protobuf:"bytes,1,opt"` Rsp *ChannelListRsp `protobuf:"bytes,1,opt"`
} }
func (x *ChannelOidb0Xf5DRsp) GetRsp() *ChannelListRsp {
if x != nil {
return x.Rsp
}
return nil
}
type ChannelOidb0X1017Rsp struct { type ChannelOidb0X1017Rsp struct {
P1 *P10X1017 `protobuf:"bytes,1,opt"` P1 *P10X1017 `protobuf:"bytes,1,opt"`
} }
func (x *ChannelOidb0X1017Rsp) GetP1() *P10X1017 {
if x != nil {
return x.P1
}
return nil
}
type P10X1017 struct { type P10X1017 struct {
TinyId *uint64 `protobuf:"varint,1,opt"` TinyId *uint64 `protobuf:"varint,1,opt"`
Roles []*GuildUserRole `protobuf:"bytes,3,rep"` Roles []*GuildUserRole `protobuf:"bytes,3,rep"`
@ -149,13 +86,6 @@ func (x *P10X1017) GetTinyId() uint64 {
return 0 return 0
} }
func (x *P10X1017) GetRoles() []*GuildUserRole {
if x != nil {
return x.Roles
}
return nil
}
type ChannelOidb0X1019Rsp struct { type ChannelOidb0X1019Rsp struct {
GuildId *uint64 `protobuf:"varint,1,opt"` GuildId *uint64 `protobuf:"varint,1,opt"`
Roles []*GuildRole `protobuf:"bytes,2,rep"` Roles []*GuildRole `protobuf:"bytes,2,rep"`
@ -168,13 +98,6 @@ func (x *ChannelOidb0X1019Rsp) GetGuildId() uint64 {
return 0 return 0
} }
func (x *ChannelOidb0X1019Rsp) GetRoles() []*GuildRole {
if x != nil {
return x.Roles
}
return nil
}
type ChannelOidb0X1016Rsp struct { type ChannelOidb0X1016Rsp struct {
RoleId *uint64 `protobuf:"varint,2,opt"` RoleId *uint64 `protobuf:"varint,2,opt"`
} }
@ -198,13 +121,6 @@ func (x *GuildMetaRsp) GetGuildId() uint64 {
return 0 return 0
} }
func (x *GuildMetaRsp) GetMeta() *GuildMeta {
if x != nil {
return x.Meta
}
return nil
}
type ChannelListRsp struct { type ChannelListRsp struct {
GuildId *uint64 `protobuf:"varint,1,opt"` GuildId *uint64 `protobuf:"varint,1,opt"`
Channels []*GuildChannelInfo `protobuf:"bytes,2,rep"` // 5: Category infos Channels []*GuildChannelInfo `protobuf:"bytes,2,rep"` // 5: Category infos
@ -217,13 +133,6 @@ func (x *ChannelListRsp) GetGuildId() uint64 {
return 0 return 0
} }
func (x *ChannelListRsp) GetChannels() []*GuildChannelInfo {
if x != nil {
return x.Channels
}
return nil
}
type GuildGroupMembersInfo struct { type GuildGroupMembersInfo struct {
RoleId *uint64 `protobuf:"varint,1,opt"` RoleId *uint64 `protobuf:"varint,1,opt"`
Members []*GuildMemberInfo `protobuf:"bytes,2,rep"` Members []*GuildMemberInfo `protobuf:"bytes,2,rep"`
@ -238,13 +147,6 @@ func (x *GuildGroupMembersInfo) GetRoleId() uint64 {
return 0 return 0
} }
func (x *GuildGroupMembersInfo) GetMembers() []*GuildMemberInfo {
if x != nil {
return x.Members
}
return nil
}
func (x *GuildGroupMembersInfo) GetRoleName() string { func (x *GuildGroupMembersInfo) GetRoleName() string {
if x != nil && x.RoleName != nil { if x != nil && x.RoleName != nil {
return *x.RoleName return *x.RoleName
@ -629,13 +531,6 @@ func (x *GuildChannelInfo) GetVisibleType() int32 {
return 0 return 0
} }
func (x *GuildChannelInfo) GetTopMsg() *GuildChannelTopMsgInfo {
if x != nil {
return x.TopMsg
}
return nil
}
func (x *GuildChannelInfo) GetCurrentSlowModeKey() int32 { func (x *GuildChannelInfo) GetCurrentSlowModeKey() int32 {
if x != nil && x.CurrentSlowModeKey != nil { if x != nil && x.CurrentSlowModeKey != nil {
return *x.CurrentSlowModeKey return *x.CurrentSlowModeKey
@ -643,13 +538,6 @@ func (x *GuildChannelInfo) GetCurrentSlowModeKey() int32 {
return 0 return 0
} }
func (x *GuildChannelInfo) GetSlowModeInfos() []*GuildChannelSlowModeInfo {
if x != nil {
return x.SlowModeInfos
}
return nil
}
type GuildChannelSlowModeInfo struct { type GuildChannelSlowModeInfo struct {
SlowModeKey *int32 `protobuf:"varint,1,opt"` SlowModeKey *int32 `protobuf:"varint,1,opt"`
SpeakFrequency *int32 `protobuf:"varint,2,opt"` SpeakFrequency *int32 `protobuf:"varint,2,opt"`

View File

@ -3,7 +3,7 @@ syntax = "proto2";
package channel; package channel;
option go_package = "pb/channel;channel"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel";
// see sub_37628C // see sub_37628C
message ChannelOidb0xf5bRsp { message ChannelOidb0xf5bRsp {

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "./;cmd0x346"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/cmd0x346";
message ApplyCleanTrafficRsp { message ApplyCleanTrafficRsp {
int32 retCode = 10; int32 retCode = 10;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: cmd0x352.proto // source: pb/cmd0x352/cmd0x352.proto
package cmd0x352 package cmd0x352
@ -18,13 +18,6 @@ func (x *ReqBody) GetSubcmd() uint32 {
return 0 return 0
} }
func (x *ReqBody) GetTryupImgReq() []*D352TryUpImgReq {
if x != nil {
return x.TryupImgReq
}
return nil
}
func (x *ReqBody) GetNetType() uint32 { func (x *ReqBody) GetNetType() uint32 {
if x != nil && x.NetType != nil { if x != nil && x.NetType != nil {
return *x.NetType return *x.NetType
@ -48,13 +41,6 @@ func (x *RspBody) GetSubcmd() uint32 {
return 0 return 0
} }
func (x *RspBody) GetTryupImgRsp() []*TryUpImgRsp {
if x != nil {
return x.TryupImgRsp
}
return nil
}
func (x *RspBody) GetNewBigchan() bool { func (x *RspBody) GetNewBigchan() bool {
if x != nil && x.NewBigchan != nil { if x != nil && x.NewBigchan != nil {
return *x.NewBigchan return *x.NewBigchan
@ -62,13 +48,6 @@ func (x *RspBody) GetNewBigchan() bool {
return false return false
} }
func (x *RspBody) GetFailMsg() []byte {
if x != nil {
return x.FailMsg
}
return nil
}
type D352TryUpImgReq struct { type D352TryUpImgReq struct {
SrcUin *uint64 `protobuf:"varint,1,opt"` SrcUin *uint64 `protobuf:"varint,1,opt"`
DstUin *uint64 `protobuf:"varint,2,opt"` DstUin *uint64 `protobuf:"varint,2,opt"`
@ -116,13 +95,6 @@ func (x *D352TryUpImgReq) GetFileId() uint64 {
return 0 return 0
} }
func (x *D352TryUpImgReq) GetFileMd5() []byte {
if x != nil {
return x.FileMd5
}
return nil
}
func (x *D352TryUpImgReq) GetFileSize() uint64 { func (x *D352TryUpImgReq) GetFileSize() uint64 {
if x != nil && x.FileSize != nil { if x != nil && x.FileSize != nil {
return *x.FileSize return *x.FileSize
@ -130,13 +102,6 @@ func (x *D352TryUpImgReq) GetFileSize() uint64 {
return 0 return 0
} }
func (x *D352TryUpImgReq) GetFileName() []byte {
if x != nil {
return x.FileName
}
return nil
}
func (x *D352TryUpImgReq) GetSrcTerm() uint32 { func (x *D352TryUpImgReq) GetSrcTerm() uint32 {
if x != nil && x.SrcTerm != nil { if x != nil && x.SrcTerm != nil {
return *x.SrcTerm return *x.SrcTerm
@ -207,20 +172,6 @@ func (x *D352TryUpImgReq) GetPicType() uint32 {
return 0 return 0
} }
func (x *D352TryUpImgReq) GetBuildVer() []byte {
if x != nil {
return x.BuildVer
}
return nil
}
func (x *D352TryUpImgReq) GetFileIndex() []byte {
if x != nil {
return x.FileIndex
}
return nil
}
func (x *D352TryUpImgReq) GetStoreDays() uint32 { func (x *D352TryUpImgReq) GetStoreDays() uint32 {
if x != nil && x.StoreDays != nil { if x != nil && x.StoreDays != nil {
return *x.StoreDays return *x.StoreDays
@ -249,13 +200,6 @@ func (x *D352TryUpImgReq) GetSrvUpload() uint32 {
return 0 return 0
} }
func (x *D352TryUpImgReq) GetTransferUrl() []byte {
if x != nil {
return x.TransferUrl
}
return nil
}
type TryUpImgRsp struct { type TryUpImgRsp struct {
FileId *uint64 `protobuf:"varint,1,opt"` FileId *uint64 `protobuf:"varint,1,opt"`
ClientIp *uint32 `protobuf:"varint,2,opt"` ClientIp *uint32 `protobuf:"varint,2,opt"`
@ -303,13 +247,6 @@ func (x *TryUpImgRsp) GetResult() uint32 {
return 0 return 0
} }
func (x *TryUpImgRsp) GetFailMsg() []byte {
if x != nil {
return x.FailMsg
}
return nil
}
func (x *TryUpImgRsp) GetFileExit() bool { func (x *TryUpImgRsp) GetFileExit() bool {
if x != nil && x.FileExit != nil { if x != nil && x.FileExit != nil {
return *x.FileExit return *x.FileExit
@ -317,41 +254,6 @@ func (x *TryUpImgRsp) GetFileExit() bool {
return false return false
} }
func (x *TryUpImgRsp) GetUpIp() []uint32 {
if x != nil {
return x.UpIp
}
return nil
}
func (x *TryUpImgRsp) GetUpPort() []uint32 {
if x != nil {
return x.UpPort
}
return nil
}
func (x *TryUpImgRsp) GetUpUkey() []byte {
if x != nil {
return x.UpUkey
}
return nil
}
func (x *TryUpImgRsp) GetUpResid() []byte {
if x != nil {
return x.UpResid
}
return nil
}
func (x *TryUpImgRsp) GetUpUuid() []byte {
if x != nil {
return x.UpUuid
}
return nil
}
func (x *TryUpImgRsp) GetUpOffset() uint64 { func (x *TryUpImgRsp) GetUpOffset() uint64 {
if x != nil && x.UpOffset != nil { if x != nil && x.UpOffset != nil {
return *x.UpOffset return *x.UpOffset
@ -366,13 +268,6 @@ func (x *TryUpImgRsp) GetBlockSize() uint64 {
return 0 return 0
} }
func (x *TryUpImgRsp) GetEncryptDstip() []byte {
if x != nil {
return x.EncryptDstip
}
return nil
}
func (x *TryUpImgRsp) GetRoamdays() uint32 { func (x *TryUpImgRsp) GetRoamdays() uint32 {
if x != nil && x.Roamdays != nil { if x != nil && x.Roamdays != nil {
return *x.Roamdays return *x.Roamdays
@ -380,48 +275,6 @@ func (x *TryUpImgRsp) GetRoamdays() uint32 {
return 0 return 0
} }
func (x *TryUpImgRsp) GetClientIp6() []byte {
if x != nil {
return x.ClientIp6
}
return nil
}
func (x *TryUpImgRsp) GetThumbDownPara() []byte {
if x != nil {
return x.ThumbDownPara
}
return nil
}
func (x *TryUpImgRsp) GetOriginalDownPara() []byte {
if x != nil {
return x.OriginalDownPara
}
return nil
}
func (x *TryUpImgRsp) GetDownDomain() []byte {
if x != nil {
return x.DownDomain
}
return nil
}
func (x *TryUpImgRsp) GetBigDownPara() []byte {
if x != nil {
return x.BigDownPara
}
return nil
}
func (x *TryUpImgRsp) GetBigThumbDownPara() []byte {
if x != nil {
return x.BigThumbDownPara
}
return nil
}
func (x *TryUpImgRsp) GetHttpsUrlFlag() uint32 { func (x *TryUpImgRsp) GetHttpsUrlFlag() uint32 {
if x != nil && x.HttpsUrlFlag != nil { if x != nil && x.HttpsUrlFlag != nil {
return *x.HttpsUrlFlag return *x.HttpsUrlFlag

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;cmd0x352"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/cmd0x352";
/* /*
message DelImgReq { message DelImgReq {
optional uint64 srcUin = 1; optional uint64 srcUin = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: cmd0x388.proto // source: pb/cmd0x388/cmd0x388.proto
package cmd0x388 package cmd0x388
@ -50,20 +50,6 @@ func (x *DelImgReq) GetBuType() uint32 {
return 0 return 0
} }
func (x *DelImgReq) GetBuildVer() []byte {
if x != nil {
return x.BuildVer
}
return nil
}
func (x *DelImgReq) GetFileResid() []byte {
if x != nil {
return x.FileResid
}
return nil
}
func (x *DelImgReq) GetPicWidth() uint32 { func (x *DelImgReq) GetPicWidth() uint32 {
if x != nil && x.PicWidth != nil { if x != nil && x.PicWidth != nil {
return *x.PicWidth return *x.PicWidth
@ -91,31 +77,10 @@ func (x *DelImgRsp) GetResult() uint32 {
return 0 return 0
} }
func (x *DelImgRsp) GetFailMsg() []byte {
if x != nil {
return x.FailMsg
}
return nil
}
func (x *DelImgRsp) GetFileResid() []byte {
if x != nil {
return x.FileResid
}
return nil
}
type ExpRoamExtendInfo struct { type ExpRoamExtendInfo struct {
Resid []byte `protobuf:"bytes,1,opt"` Resid []byte `protobuf:"bytes,1,opt"`
} }
func (x *ExpRoamExtendInfo) GetResid() []byte {
if x != nil {
return x.Resid
}
return nil
}
type ExpRoamPicInfo struct { type ExpRoamPicInfo struct {
ShopFlag *uint32 `protobuf:"varint,1,opt"` ShopFlag *uint32 `protobuf:"varint,1,opt"`
PkgId *uint32 `protobuf:"varint,2,opt"` PkgId *uint32 `protobuf:"varint,2,opt"`
@ -136,35 +101,14 @@ func (x *ExpRoamPicInfo) GetPkgId() uint32 {
return 0 return 0
} }
func (x *ExpRoamPicInfo) GetPicId() []byte {
if x != nil {
return x.PicId
}
return nil
}
type ExtensionCommPicTryUp struct { type ExtensionCommPicTryUp struct {
Extinfo [][]byte `protobuf:"bytes,1,rep"` Extinfo [][]byte `protobuf:"bytes,1,rep"`
} }
func (x *ExtensionCommPicTryUp) GetExtinfo() [][]byte {
if x != nil {
return x.Extinfo
}
return nil
}
type ExtensionExpRoamTryUp struct { type ExtensionExpRoamTryUp struct {
ExproamPicInfo []*ExpRoamPicInfo `protobuf:"bytes,1,rep"` ExproamPicInfo []*ExpRoamPicInfo `protobuf:"bytes,1,rep"`
} }
func (x *ExtensionExpRoamTryUp) GetExproamPicInfo() []*ExpRoamPicInfo {
if x != nil {
return x.ExproamPicInfo
}
return nil
}
type GetImgUrlReq struct { type GetImgUrlReq struct {
GroupCode *uint64 `protobuf:"varint,1,opt"` GroupCode *uint64 `protobuf:"varint,1,opt"`
DstUin *uint64 `protobuf:"varint,2,opt"` DstUin *uint64 `protobuf:"varint,2,opt"`
@ -212,13 +156,6 @@ func (x *GetImgUrlReq) GetFileid() uint64 {
return 0 return 0
} }
func (x *GetImgUrlReq) GetFileMd5() []byte {
if x != nil {
return x.FileMd5
}
return nil
}
func (x *GetImgUrlReq) GetUrlFlag() uint32 { func (x *GetImgUrlReq) GetUrlFlag() uint32 {
if x != nil && x.UrlFlag != nil { if x != nil && x.UrlFlag != nil {
return *x.UrlFlag return *x.UrlFlag
@ -261,13 +198,6 @@ func (x *GetImgUrlReq) GetBuType() uint32 {
return 0 return 0
} }
func (x *GetImgUrlReq) GetBuildVer() []byte {
if x != nil {
return x.BuildVer
}
return nil
}
func (x *GetImgUrlReq) GetFileId() uint64 { func (x *GetImgUrlReq) GetFileId() uint64 {
if x != nil && x.FileId != nil { if x != nil && x.FileId != nil {
return *x.FileId return *x.FileId
@ -345,13 +275,6 @@ func (x *GetImgUrlReq) GetQqmeetChannelId() uint64 {
return 0 return 0
} }
func (x *GetImgUrlReq) GetDownloadIndex() []byte {
if x != nil {
return x.DownloadIndex
}
return nil
}
type GetImgUrlRsp struct { type GetImgUrlRsp struct {
Fileid *uint64 `protobuf:"varint,1,opt"` Fileid *uint64 `protobuf:"varint,1,opt"`
FileMd5 []byte `protobuf:"bytes,2,opt"` FileMd5 []byte `protobuf:"bytes,2,opt"`
@ -383,13 +306,6 @@ func (x *GetImgUrlRsp) GetFileid() uint64 {
return 0 return 0
} }
func (x *GetImgUrlRsp) GetFileMd5() []byte {
if x != nil {
return x.FileMd5
}
return nil
}
func (x *GetImgUrlRsp) GetResult() uint32 { func (x *GetImgUrlRsp) GetResult() uint32 {
if x != nil && x.Result != nil { if x != nil && x.Result != nil {
return *x.Result return *x.Result
@ -397,83 +313,6 @@ func (x *GetImgUrlRsp) GetResult() uint32 {
return 0 return 0
} }
func (x *GetImgUrlRsp) GetFailMsg() []byte {
if x != nil {
return x.FailMsg
}
return nil
}
func (x *GetImgUrlRsp) GetImgInfo() *ImgInfo {
if x != nil {
return x.ImgInfo
}
return nil
}
func (x *GetImgUrlRsp) GetThumbDownUrl() [][]byte {
if x != nil {
return x.ThumbDownUrl
}
return nil
}
func (x *GetImgUrlRsp) GetOriginalDownUrl() [][]byte {
if x != nil {
return x.OriginalDownUrl
}
return nil
}
func (x *GetImgUrlRsp) GetBigDownUrl() [][]byte {
if x != nil {
return x.BigDownUrl
}
return nil
}
func (x *GetImgUrlRsp) GetDownIp() []uint32 {
if x != nil {
return x.DownIp
}
return nil
}
func (x *GetImgUrlRsp) GetDownPort() []uint32 {
if x != nil {
return x.DownPort
}
return nil
}
func (x *GetImgUrlRsp) GetDownDomain() []byte {
if x != nil {
return x.DownDomain
}
return nil
}
func (x *GetImgUrlRsp) GetThumbDownPara() []byte {
if x != nil {
return x.ThumbDownPara
}
return nil
}
func (x *GetImgUrlRsp) GetOriginalDownPara() []byte {
if x != nil {
return x.OriginalDownPara
}
return nil
}
func (x *GetImgUrlRsp) GetBigDownPara() []byte {
if x != nil {
return x.BigDownPara
}
return nil
}
func (x *GetImgUrlRsp) GetFileId() uint64 { func (x *GetImgUrlRsp) GetFileId() uint64 {
if x != nil && x.FileId != nil { if x != nil && x.FileId != nil {
return *x.FileId return *x.FileId
@ -488,20 +327,6 @@ func (x *GetImgUrlRsp) GetAutoDownType() uint32 {
return 0 return 0
} }
func (x *GetImgUrlRsp) GetOrderDownType() []uint32 {
if x != nil {
return x.OrderDownType
}
return nil
}
func (x *GetImgUrlRsp) GetBigThumbDownPara() []byte {
if x != nil {
return x.BigThumbDownPara
}
return nil
}
func (x *GetImgUrlRsp) GetHttpsUrlFlag() uint32 { func (x *GetImgUrlRsp) GetHttpsUrlFlag() uint32 {
if x != nil && x.HttpsUrlFlag != nil { if x != nil && x.HttpsUrlFlag != nil {
return *x.HttpsUrlFlag return *x.HttpsUrlFlag
@ -509,20 +334,6 @@ func (x *GetImgUrlRsp) GetHttpsUrlFlag() uint32 {
return 0 return 0
} }
func (x *GetImgUrlRsp) GetDownIp6() []*IPv6Info {
if x != nil {
return x.DownIp6
}
return nil
}
func (x *GetImgUrlRsp) GetClientIp6() []byte {
if x != nil {
return x.ClientIp6
}
return nil
}
type GetPttUrlReq struct { type GetPttUrlReq struct {
GroupCode *uint64 `protobuf:"varint,1,opt"` GroupCode *uint64 `protobuf:"varint,1,opt"`
DstUin *uint64 `protobuf:"varint,2,opt"` DstUin *uint64 `protobuf:"varint,2,opt"`
@ -562,13 +373,6 @@ func (x *GetPttUrlReq) GetFileid() uint64 {
return 0 return 0
} }
func (x *GetPttUrlReq) GetFileMd5() []byte {
if x != nil {
return x.FileMd5
}
return nil
}
func (x *GetPttUrlReq) GetReqTerm() uint32 { func (x *GetPttUrlReq) GetReqTerm() uint32 {
if x != nil && x.ReqTerm != nil { if x != nil && x.ReqTerm != nil {
return *x.ReqTerm return *x.ReqTerm
@ -597,13 +401,6 @@ func (x *GetPttUrlReq) GetBuType() uint32 {
return 0 return 0
} }
func (x *GetPttUrlReq) GetBuildVer() []byte {
if x != nil {
return x.BuildVer
}
return nil
}
func (x *GetPttUrlReq) GetFileId() uint64 { func (x *GetPttUrlReq) GetFileId() uint64 {
if x != nil && x.FileId != nil { if x != nil && x.FileId != nil {
return *x.FileId return *x.FileId
@ -611,13 +408,6 @@ func (x *GetPttUrlReq) GetFileId() uint64 {
return 0 return 0
} }
func (x *GetPttUrlReq) GetFileKey() []byte {
if x != nil {
return x.FileKey
}
return nil
}
func (x *GetPttUrlReq) GetCodec() uint32 { func (x *GetPttUrlReq) GetCodec() uint32 {
if x != nil && x.Codec != nil { if x != nil && x.Codec != nil {
return *x.Codec return *x.Codec
@ -671,13 +461,6 @@ func (x *GetPttUrlRsp) GetFileid() uint64 {
return 0 return 0
} }
func (x *GetPttUrlRsp) GetFileMd5() []byte {
if x != nil {
return x.FileMd5
}
return nil
}
func (x *GetPttUrlRsp) GetResult() uint32 { func (x *GetPttUrlRsp) GetResult() uint32 {
if x != nil && x.Result != nil { if x != nil && x.Result != nil {
return *x.Result return *x.Result
@ -685,48 +468,6 @@ func (x *GetPttUrlRsp) GetResult() uint32 {
return 0 return 0
} }
func (x *GetPttUrlRsp) GetFailMsg() []byte {
if x != nil {
return x.FailMsg
}
return nil
}
func (x *GetPttUrlRsp) GetDownUrl() [][]byte {
if x != nil {
return x.DownUrl
}
return nil
}
func (x *GetPttUrlRsp) GetDownIp() []uint32 {
if x != nil {
return x.DownIp
}
return nil
}
func (x *GetPttUrlRsp) GetDownPort() []uint32 {
if x != nil {
return x.DownPort
}
return nil
}
func (x *GetPttUrlRsp) GetDownDomain() []byte {
if x != nil {
return x.DownDomain
}
return nil
}
func (x *GetPttUrlRsp) GetDownPara() []byte {
if x != nil {
return x.DownPara
}
return nil
}
func (x *GetPttUrlRsp) GetFileId() uint64 { func (x *GetPttUrlRsp) GetFileId() uint64 {
if x != nil && x.FileId != nil { if x != nil && x.FileId != nil {
return *x.FileId return *x.FileId
@ -748,20 +489,6 @@ func (x *GetPttUrlRsp) GetAllowRetry() uint32 {
return 0 return 0
} }
func (x *GetPttUrlRsp) GetDownIp6() []*IPv6Info {
if x != nil {
return x.DownIp6
}
return nil
}
func (x *GetPttUrlRsp) GetClientIp6() []byte {
if x != nil {
return x.ClientIp6
}
return nil
}
func (x *GetPttUrlRsp) GetDomain() string { func (x *GetPttUrlRsp) GetDomain() string {
if x != nil && x.Domain != nil { if x != nil && x.Domain != nil {
return *x.Domain return *x.Domain
@ -774,13 +501,6 @@ type IPv6Info struct {
Port *uint32 `protobuf:"varint,2,opt"` Port *uint32 `protobuf:"varint,2,opt"`
} }
func (x *IPv6Info) GetIp6() []byte {
if x != nil {
return x.Ip6
}
return nil
}
func (x *IPv6Info) GetPort() uint32 { func (x *IPv6Info) GetPort() uint32 {
if x != nil && x.Port != nil { if x != nil && x.Port != nil {
return *x.Port return *x.Port
@ -796,13 +516,6 @@ type ImgInfo struct {
FileHeight *uint32 `protobuf:"varint,5,opt"` FileHeight *uint32 `protobuf:"varint,5,opt"`
} }
func (x *ImgInfo) GetFileMd5() []byte {
if x != nil {
return x.FileMd5
}
return nil
}
func (x *ImgInfo) GetFileType() uint32 { func (x *ImgInfo) GetFileType() uint32 {
if x != nil && x.FileType != nil { if x != nil && x.FileType != nil {
return *x.FileType return *x.FileType
@ -884,34 +597,6 @@ func (x *D388ReqBody) GetSubcmd() uint32 {
return 0 return 0
} }
func (x *D388ReqBody) GetTryupImgReq() []*TryUpImgReq {
if x != nil {
return x.TryupImgReq
}
return nil
}
func (x *D388ReqBody) GetGetimgUrlReq() []*GetImgUrlReq {
if x != nil {
return x.GetimgUrlReq
}
return nil
}
func (x *D388ReqBody) GetTryupPttReq() []*TryUpPttReq {
if x != nil {
return x.TryupPttReq
}
return nil
}
func (x *D388ReqBody) GetGetpttUrlReq() []*GetPttUrlReq {
if x != nil {
return x.GetpttUrlReq
}
return nil
}
func (x *D388ReqBody) GetCommandId() uint32 { func (x *D388ReqBody) GetCommandId() uint32 {
if x != nil && x.CommandId != nil { if x != nil && x.CommandId != nil {
return *x.CommandId return *x.CommandId
@ -919,20 +604,6 @@ func (x *D388ReqBody) GetCommandId() uint32 {
return 0 return 0
} }
func (x *D388ReqBody) GetDelImgReq() []*DelImgReq {
if x != nil {
return x.DelImgReq
}
return nil
}
func (x *D388ReqBody) GetExtension() []byte {
if x != nil {
return x.Extension
}
return nil
}
type D388RspBody struct { type D388RspBody struct {
ClientIp *uint32 `protobuf:"varint,1,opt"` ClientIp *uint32 `protobuf:"varint,1,opt"`
Subcmd *uint32 `protobuf:"varint,2,opt"` Subcmd *uint32 `protobuf:"varint,2,opt"`
@ -957,41 +628,6 @@ func (x *D388RspBody) GetSubcmd() uint32 {
return 0 return 0
} }
func (x *D388RspBody) GetTryupImgRsp() []*D388TryUpImgRsp {
if x != nil {
return x.TryupImgRsp
}
return nil
}
func (x *D388RspBody) GetGetimgUrlRsp() []*GetImgUrlRsp {
if x != nil {
return x.GetimgUrlRsp
}
return nil
}
func (x *D388RspBody) GetTryupPttRsp() []*TryUpPttRsp {
if x != nil {
return x.TryupPttRsp
}
return nil
}
func (x *D388RspBody) GetGetpttUrlRsp() []*GetPttUrlRsp {
if x != nil {
return x.GetpttUrlRsp
}
return nil
}
func (x *D388RspBody) GetDelImgRsp() []*DelImgRsp {
if x != nil {
return x.DelImgRsp
}
return nil
}
type TryUpImgReq struct { type TryUpImgReq struct {
GroupCode *uint64 `protobuf:"varint,1,opt"` GroupCode *uint64 `protobuf:"varint,1,opt"`
SrcUin *uint64 `protobuf:"varint,2,opt"` SrcUin *uint64 `protobuf:"varint,2,opt"`
@ -1038,13 +674,6 @@ func (x *TryUpImgReq) GetFileId() uint64 {
return 0 return 0
} }
func (x *TryUpImgReq) GetFileMd5() []byte {
if x != nil {
return x.FileMd5
}
return nil
}
func (x *TryUpImgReq) GetFileSize() uint64 { func (x *TryUpImgReq) GetFileSize() uint64 {
if x != nil && x.FileSize != nil { if x != nil && x.FileSize != nil {
return *x.FileSize return *x.FileSize
@ -1052,13 +681,6 @@ func (x *TryUpImgReq) GetFileSize() uint64 {
return 0 return 0
} }
func (x *TryUpImgReq) GetFileName() []byte {
if x != nil {
return x.FileName
}
return nil
}
func (x *TryUpImgReq) GetSrcTerm() uint32 { func (x *TryUpImgReq) GetSrcTerm() uint32 {
if x != nil && x.SrcTerm != nil { if x != nil && x.SrcTerm != nil {
return *x.SrcTerm return *x.SrcTerm
@ -1101,13 +723,6 @@ func (x *TryUpImgReq) GetPicType() uint32 {
return 0 return 0
} }
func (x *TryUpImgReq) GetBuildVer() []byte {
if x != nil {
return x.BuildVer
}
return nil
}
func (x *TryUpImgReq) GetInnerIp() uint32 { func (x *TryUpImgReq) GetInnerIp() uint32 {
if x != nil && x.InnerIp != nil { if x != nil && x.InnerIp != nil {
return *x.InnerIp return *x.InnerIp
@ -1129,13 +744,6 @@ func (x *TryUpImgReq) GetOriginalPic() uint32 {
return 0 return 0
} }
func (x *TryUpImgReq) GetFileIndex() []byte {
if x != nil {
return x.FileIndex
}
return nil
}
func (x *TryUpImgReq) GetDstUin() uint64 { func (x *TryUpImgReq) GetDstUin() uint64 {
if x != nil && x.DstUin != nil { if x != nil && x.DstUin != nil {
return *x.DstUin return *x.DstUin
@ -1150,13 +758,6 @@ func (x *TryUpImgReq) GetSrvUpload() uint32 {
return 0 return 0
} }
func (x *TryUpImgReq) GetTransferUrl() []byte {
if x != nil {
return x.TransferUrl
}
return nil
}
func (x *TryUpImgReq) GetQqmeetGuildId() uint64 { func (x *TryUpImgReq) GetQqmeetGuildId() uint64 {
if x != nil && x.QqmeetGuildId != nil { if x != nil && x.QqmeetGuildId != nil {
return *x.QqmeetGuildId return *x.QqmeetGuildId
@ -1204,13 +805,6 @@ func (x *D388TryUpImgRsp) GetResult() uint32 {
return 0 return 0
} }
func (x *D388TryUpImgRsp) GetFailMsg() []byte {
if x != nil {
return x.FailMsg
}
return nil
}
func (x *D388TryUpImgRsp) GetFileExit() bool { func (x *D388TryUpImgRsp) GetFileExit() bool {
if x != nil && x.FileExit != nil { if x != nil && x.FileExit != nil {
return *x.FileExit return *x.FileExit
@ -1218,34 +812,6 @@ func (x *D388TryUpImgRsp) GetFileExit() bool {
return false return false
} }
func (x *D388TryUpImgRsp) GetImgInfo() *ImgInfo {
if x != nil {
return x.ImgInfo
}
return nil
}
func (x *D388TryUpImgRsp) GetUpIp() []uint32 {
if x != nil {
return x.UpIp
}
return nil
}
func (x *D388TryUpImgRsp) GetUpPort() []uint32 {
if x != nil {
return x.UpPort
}
return nil
}
func (x *D388TryUpImgRsp) GetUpUkey() []byte {
if x != nil {
return x.UpUkey
}
return nil
}
func (x *D388TryUpImgRsp) GetFileid() uint64 { func (x *D388TryUpImgRsp) GetFileid() uint64 {
if x != nil && x.Fileid != nil { if x != nil && x.Fileid != nil {
return *x.Fileid return *x.Fileid
@ -1274,34 +840,6 @@ func (x *D388TryUpImgRsp) GetNewBigChan() bool {
return false return false
} }
func (x *D388TryUpImgRsp) GetUpIp6() []*IPv6Info {
if x != nil {
return x.UpIp6
}
return nil
}
func (x *D388TryUpImgRsp) GetClientIp6() []byte {
if x != nil {
return x.ClientIp6
}
return nil
}
func (x *D388TryUpImgRsp) GetDownloadIndex() []byte {
if x != nil {
return x.DownloadIndex
}
return nil
}
func (x *D388TryUpImgRsp) GetInfo4Busi() *TryUpInfo4Busi {
if x != nil {
return x.Info4Busi
}
return nil
}
type TryUpInfo4Busi struct { type TryUpInfo4Busi struct {
DownDomain []byte `protobuf:"bytes,1,opt"` DownDomain []byte `protobuf:"bytes,1,opt"`
ThumbDownUrl []byte `protobuf:"bytes,2,opt"` ThumbDownUrl []byte `protobuf:"bytes,2,opt"`
@ -1310,41 +848,6 @@ type TryUpInfo4Busi struct {
FileResid []byte `protobuf:"bytes,5,opt"` FileResid []byte `protobuf:"bytes,5,opt"`
} }
func (x *TryUpInfo4Busi) GetDownDomain() []byte {
if x != nil {
return x.DownDomain
}
return nil
}
func (x *TryUpInfo4Busi) GetThumbDownUrl() []byte {
if x != nil {
return x.ThumbDownUrl
}
return nil
}
func (x *TryUpInfo4Busi) GetOriginalDownUrl() []byte {
if x != nil {
return x.OriginalDownUrl
}
return nil
}
func (x *TryUpInfo4Busi) GetBigDownUrl() []byte {
if x != nil {
return x.BigDownUrl
}
return nil
}
func (x *TryUpInfo4Busi) GetFileResid() []byte {
if x != nil {
return x.FileResid
}
return nil
}
type TryUpPttReq struct { type TryUpPttReq struct {
GroupCode *uint64 `protobuf:"varint,1,opt"` GroupCode *uint64 `protobuf:"varint,1,opt"`
SrcUin *uint64 `protobuf:"varint,2,opt"` SrcUin *uint64 `protobuf:"varint,2,opt"`
@ -1385,13 +888,6 @@ func (x *TryUpPttReq) GetFileId() uint64 {
return 0 return 0
} }
func (x *TryUpPttReq) GetFileMd5() []byte {
if x != nil {
return x.FileMd5
}
return nil
}
func (x *TryUpPttReq) GetFileSize() uint64 { func (x *TryUpPttReq) GetFileSize() uint64 {
if x != nil && x.FileSize != nil { if x != nil && x.FileSize != nil {
return *x.FileSize return *x.FileSize
@ -1399,13 +895,6 @@ func (x *TryUpPttReq) GetFileSize() uint64 {
return 0 return 0
} }
func (x *TryUpPttReq) GetFileName() []byte {
if x != nil {
return x.FileName
}
return nil
}
func (x *TryUpPttReq) GetSrcTerm() uint32 { func (x *TryUpPttReq) GetSrcTerm() uint32 {
if x != nil && x.SrcTerm != nil { if x != nil && x.SrcTerm != nil {
return *x.SrcTerm return *x.SrcTerm
@ -1427,13 +916,6 @@ func (x *TryUpPttReq) GetBuType() uint32 {
return 0 return 0
} }
func (x *TryUpPttReq) GetBuildVer() []byte {
if x != nil {
return x.BuildVer
}
return nil
}
func (x *TryUpPttReq) GetInnerIp() uint32 { func (x *TryUpPttReq) GetInnerIp() uint32 {
if x != nil && x.InnerIp != nil { if x != nil && x.InnerIp != nil {
return *x.InnerIp return *x.InnerIp
@ -1507,13 +989,6 @@ func (x *TryUpPttRsp) GetResult() uint32 {
return 0 return 0
} }
func (x *TryUpPttRsp) GetFailMsg() []byte {
if x != nil {
return x.FailMsg
}
return nil
}
func (x *TryUpPttRsp) GetFileExit() bool { func (x *TryUpPttRsp) GetFileExit() bool {
if x != nil && x.FileExit != nil { if x != nil && x.FileExit != nil {
return *x.FileExit return *x.FileExit
@ -1521,27 +996,6 @@ func (x *TryUpPttRsp) GetFileExit() bool {
return false return false
} }
func (x *TryUpPttRsp) GetUpIp() []uint32 {
if x != nil {
return x.UpIp
}
return nil
}
func (x *TryUpPttRsp) GetUpPort() []uint32 {
if x != nil {
return x.UpPort
}
return nil
}
func (x *TryUpPttRsp) GetUpUkey() []byte {
if x != nil {
return x.UpUkey
}
return nil
}
func (x *TryUpPttRsp) GetFileid() uint64 { func (x *TryUpPttRsp) GetFileid() uint64 {
if x != nil && x.Fileid != nil { if x != nil && x.Fileid != nil {
return *x.Fileid return *x.Fileid
@ -1563,30 +1017,9 @@ func (x *TryUpPttRsp) GetBlockSize() uint64 {
return 0 return 0
} }
func (x *TryUpPttRsp) GetFileKey() []byte {
if x != nil {
return x.FileKey
}
return nil
}
func (x *TryUpPttRsp) GetChannelType() uint32 { func (x *TryUpPttRsp) GetChannelType() uint32 {
if x != nil && x.ChannelType != nil { if x != nil && x.ChannelType != nil {
return *x.ChannelType return *x.ChannelType
} }
return 0 return 0
} }
func (x *TryUpPttRsp) GetUpIp6() []*IPv6Info {
if x != nil {
return x.UpIp6
}
return nil
}
func (x *TryUpPttRsp) GetClientIp6() []byte {
if x != nil {
return x.ClientIp6
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;cmd0x388"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/cmd0x388";
message DelImgReq { message DelImgReq {
optional uint64 srcUin = 1; optional uint64 srcUin = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: cmd0x3f6.proto // source: pb/cmd0x3f6/cmd0x3f6.proto
package cmd0x3f6 package cmd0x3f6
@ -16,20 +16,6 @@ func (x *C3F6ReqBody) GetSubCmd() uint32 {
return 0 return 0
} }
func (x *C3F6ReqBody) GetCrmCommonHead() *C3F6CRMMsgHead {
if x != nil {
return x.CrmCommonHead
}
return nil
}
func (x *C3F6ReqBody) GetSubcmdLoginProcessCompleteReqBody() *QDUserLoginProcessCompleteReqBody {
if x != nil {
return x.SubcmdLoginProcessCompleteReqBody
}
return nil
}
type C3F6RspBody struct { type C3F6RspBody struct {
SubCmd *uint32 `protobuf:"varint,1,opt"` SubCmd *uint32 `protobuf:"varint,1,opt"`
CrmCommonHead *C3F6CRMMsgHead `protobuf:"bytes,2,opt"` CrmCommonHead *C3F6CRMMsgHead `protobuf:"bytes,2,opt"`
@ -43,20 +29,6 @@ func (x *C3F6RspBody) GetSubCmd() uint32 {
return 0 return 0
} }
func (x *C3F6RspBody) GetCrmCommonHead() *C3F6CRMMsgHead {
if x != nil {
return x.CrmCommonHead
}
return nil
}
func (x *C3F6RspBody) GetSubcmdLoginProcessCompleteRspBody() *QDUserLoginProcessCompleteRspBody {
if x != nil {
return x.SubcmdLoginProcessCompleteRspBody
}
return nil
}
type QDUserLoginProcessCompleteReqBody struct { type QDUserLoginProcessCompleteReqBody struct {
Kfext *uint64 `protobuf:"varint,1,opt"` Kfext *uint64 `protobuf:"varint,1,opt"`
Pubno *uint32 `protobuf:"varint,2,opt"` Pubno *uint32 `protobuf:"varint,2,opt"`
@ -127,13 +99,6 @@ func (x *QDUserLoginProcessCompleteReqBody) GetSoftwareInfo() string {
return "" return ""
} }
func (x *QDUserLoginProcessCompleteReqBody) GetGuid() []byte {
if x != nil {
return x.Guid
}
return nil
}
func (x *QDUserLoginProcessCompleteReqBody) GetAppName() string { func (x *QDUserLoginProcessCompleteReqBody) GetAppName() string {
if x != nil && x.AppName != nil { if x != nil && x.AppName != nil {
return *x.AppName return *x.AppName
@ -171,13 +136,6 @@ type QDUserLoginProcessCompleteRspBody struct {
OpenAccountTime *uint32 `protobuf:"varint,20,opt"` OpenAccountTime *uint32 `protobuf:"varint,20,opt"`
} }
func (x *QDUserLoginProcessCompleteRspBody) GetRet() *RetInfo {
if x != nil {
return x.Ret
}
return nil
}
func (x *QDUserLoginProcessCompleteRspBody) GetUrl() string { func (x *QDUserLoginProcessCompleteRspBody) GetUrl() string {
if x != nil && x.Url != nil { if x != nil && x.Url != nil {
return *x.Url return *x.Url
@ -220,13 +178,6 @@ func (x *QDUserLoginProcessCompleteRspBody) GetModulePrivilege() uint64 {
return 0 return 0
} }
func (x *QDUserLoginProcessCompleteRspBody) GetModuleSubPrivilege() []uint32 {
if x != nil {
return x.ModuleSubPrivilege
}
return nil
}
func (x *QDUserLoginProcessCompleteRspBody) GetMasterSet() uint32 { func (x *QDUserLoginProcessCompleteRspBody) GetMasterSet() uint32 {
if x != nil && x.MasterSet != nil { if x != nil && x.MasterSet != nil {
return *x.MasterSet return *x.MasterSet

View File

@ -1,5 +1,5 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;cmd0x3f6"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/cmd0x3f6";
message C3F6ReqBody { message C3F6ReqBody {
optional uint32 subCmd = 1; optional uint32 subCmd = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: smbcmd0x519.proto // source: pb/cmd0x6ff/smbcmd0x519.proto
package cmd0x6ff package cmd0x6ff
@ -144,13 +144,6 @@ type GetNavigationMenuRspBody struct {
VerNo *uint32 `protobuf:"varint,4,opt"` VerNo *uint32 `protobuf:"varint,4,opt"`
} }
func (x *GetNavigationMenuRspBody) GetRet() *C519RetInfo {
if x != nil {
return x.Ret
}
return nil
}
func (x *GetNavigationMenuRspBody) GetIsShow() int32 { func (x *GetNavigationMenuRspBody) GetIsShow() int32 {
if x != nil && x.IsShow != nil { if x != nil && x.IsShow != nil {
return *x.IsShow return *x.IsShow
@ -186,27 +179,6 @@ func (x *C519ReqBody) GetSubCmd() uint32 {
return 0 return 0
} }
func (x *C519ReqBody) GetCrmCommonHead() *C519CRMMsgHead {
if x != nil {
return x.CrmCommonHead
}
return nil
}
func (x *C519ReqBody) GetGetAddressDetailListReqBody() *GetAddressDetailListReqBody {
if x != nil {
return x.GetAddressDetailListReqBody
}
return nil
}
func (x *C519ReqBody) GetGetNavigationMenuReq() *GetNavigationMenuReqBody {
if x != nil {
return x.GetNavigationMenuReq
}
return nil
}
type C519RetInfo struct { type C519RetInfo struct {
RetCode *uint32 `protobuf:"varint,1,opt"` RetCode *uint32 `protobuf:"varint,1,opt"`
ErrorMsg *string `protobuf:"bytes,2,opt"` ErrorMsg *string `protobuf:"bytes,2,opt"`
@ -240,27 +212,6 @@ func (x *C519RspBody) GetSubCmd() uint32 {
return 0 return 0
} }
func (x *C519RspBody) GetCrmCommonHead() *C519CRMMsgHead {
if x != nil {
return x.CrmCommonHead
}
return nil
}
func (x *C519RspBody) GetGetAddressDetailListRspBody() *GetAddressDetailListRspBody {
if x != nil {
return x.GetAddressDetailListRspBody
}
return nil
}
func (x *C519RspBody) GetGetNavigationMenuRsp() *GetNavigationMenuRspBody {
if x != nil {
return x.GetNavigationMenuRsp
}
return nil
}
type GetAddressDetailListReqBody struct { type GetAddressDetailListReqBody struct {
Timestamp *uint32 `protobuf:"fixed32,1,opt"` Timestamp *uint32 `protobuf:"fixed32,1,opt"`
Timestamp2 *uint64 `protobuf:"fixed64,2,opt"` Timestamp2 *uint64 `protobuf:"fixed64,2,opt"`
@ -288,13 +239,6 @@ type GetAddressDetailListRspBody struct {
Timestamp2 *uint64 `protobuf:"fixed64,5,opt"` Timestamp2 *uint64 `protobuf:"fixed64,5,opt"`
} }
func (x *GetAddressDetailListRspBody) GetRet() *C519RetInfo {
if x != nil {
return x.Ret
}
return nil
}
func (x *GetAddressDetailListRspBody) GetTimestamp() uint32 { func (x *GetAddressDetailListRspBody) GetTimestamp() uint32 {
if x != nil && x.Timestamp != nil { if x != nil && x.Timestamp != nil {
return *x.Timestamp return *x.Timestamp
@ -309,13 +253,6 @@ func (x *GetAddressDetailListRspBody) GetFull() bool {
return false return false
} }
func (x *GetAddressDetailListRspBody) GetAddressDetail() []*AddressDetail {
if x != nil {
return x.AddressDetail
}
return nil
}
func (x *GetAddressDetailListRspBody) GetTimestamp2() uint64 { func (x *GetAddressDetailListRspBody) GetTimestamp2() uint64 {
if x != nil && x.Timestamp2 != nil { if x != nil && x.Timestamp2 != nil {
return *x.Timestamp2 return *x.Timestamp2
@ -389,20 +326,6 @@ func (x *AddressDetail) GetGroupid() uint32 {
return 0 return 0
} }
func (x *AddressDetail) GetAddGroupName() []byte {
if x != nil {
return x.AddGroupName
}
return nil
}
func (x *AddressDetail) GetName() []byte {
if x != nil {
return x.Name
}
return nil
}
func (x *AddressDetail) GetGender() uint32 { func (x *AddressDetail) GetGender() uint32 {
if x != nil && x.Gender != nil { if x != nil && x.Gender != nil {
return *x.Gender return *x.Gender
@ -417,97 +340,6 @@ func (x *AddressDetail) GetBirthday() uint32 {
return 0 return 0
} }
func (x *AddressDetail) GetCompany0() []byte {
if x != nil {
return x.Company0
}
return nil
}
func (x *AddressDetail) GetCompanyPosition0() []byte {
if x != nil {
return x.CompanyPosition0
}
return nil
}
func (x *AddressDetail) GetCompany1() []byte {
if x != nil {
return x.Company1
}
return nil
}
func (x *AddressDetail) GetCompanyPosition1() []byte {
if x != nil {
return x.CompanyPosition1
}
return nil
}
func (x *AddressDetail) GetFixedPhone0() []byte {
if x != nil {
return x.FixedPhone0
}
return nil
}
func (x *AddressDetail) GetFixedPhone1() []byte {
if x != nil {
return x.FixedPhone1
}
return nil
}
func (x *AddressDetail) GetEmail0() []byte {
if x != nil {
return x.Email0
}
return nil
}
func (x *AddressDetail) GetEmail1() []byte {
if x != nil {
return x.Email1
}
return nil
}
func (x *AddressDetail) GetFax0() []byte {
if x != nil {
return x.Fax0
}
return nil
}
func (x *AddressDetail) GetFax1() []byte {
if x != nil {
return x.Fax1
}
return nil
}
func (x *AddressDetail) GetComment() []byte {
if x != nil {
return x.Comment
}
return nil
}
func (x *AddressDetail) GetHeadUrl() []byte {
if x != nil {
return x.HeadUrl
}
return nil
}
func (x *AddressDetail) GetMobilePhone() []*AddressMobileInfo {
if x != nil {
return x.MobilePhone
}
return nil
}
func (x *AddressDetail) GetMobilePhoneUpdated() bool { func (x *AddressDetail) GetMobilePhoneUpdated() bool {
if x != nil && x.MobilePhoneUpdated != nil { if x != nil && x.MobilePhoneUpdated != nil {
return *x.MobilePhoneUpdated return *x.MobilePhoneUpdated
@ -515,13 +347,6 @@ func (x *AddressDetail) GetMobilePhoneUpdated() bool {
return false return false
} }
func (x *AddressDetail) GetQq() []*AddressQQinfo {
if x != nil {
return x.Qq
}
return nil
}
func (x *AddressDetail) GetQqPhoneUpdated() bool { func (x *AddressDetail) GetQqPhoneUpdated() bool {
if x != nil && x.QqPhoneUpdated != nil { if x != nil && x.QqPhoneUpdated != nil {
return *x.QqPhoneUpdated return *x.QqPhoneUpdated
@ -536,20 +361,6 @@ func (x *AddressDetail) GetModifyTime2() uint64 {
return 0 return 0
} }
func (x *AddressDetail) GetClientRegion() *NewBizClientRegion {
if x != nil {
return x.ClientRegion
}
return nil
}
func (x *AddressDetail) GetClientRegionCode() *NewBizClientRegionCode {
if x != nil {
return x.ClientRegionCode
}
return nil
}
type AddressMobileInfo struct { type AddressMobileInfo struct {
Index *uint32 `protobuf:"varint,1,opt"` Index *uint32 `protobuf:"varint,1,opt"`
Account []byte `protobuf:"bytes,2,opt"` Account []byte `protobuf:"bytes,2,opt"`
@ -563,20 +374,6 @@ func (x *AddressMobileInfo) GetIndex() uint32 {
return 0 return 0
} }
func (x *AddressMobileInfo) GetAccount() []byte {
if x != nil {
return x.Account
}
return nil
}
func (x *AddressMobileInfo) GetFormattedAccount() []byte {
if x != nil {
return x.FormattedAccount
}
return nil
}
type AddressQQinfo struct { type AddressQQinfo struct {
Index *uint32 `protobuf:"varint,1,opt"` Index *uint32 `protobuf:"varint,1,opt"`
Account *uint64 `protobuf:"varint,2,opt"` Account *uint64 `protobuf:"varint,2,opt"`

View File

@ -1,5 +1,5 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;cmd0x6ff"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/cmd0x6ff";
message C519CRMMsgHead { message C519CRMMsgHead {
optional uint32 crmSubCmd = 1; optional uint32 crmSubCmd = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: subcmd0x501.proto // source: pb/cmd0x6ff/subcmd0x501.proto
package cmd0x6ff package cmd0x6ff
@ -7,24 +7,10 @@ type C501ReqBody struct {
ReqBody *SubCmd0X501ReqBody `protobuf:"bytes,1281,opt"` ReqBody *SubCmd0X501ReqBody `protobuf:"bytes,1281,opt"`
} }
func (x *C501ReqBody) GetReqBody() *SubCmd0X501ReqBody {
if x != nil {
return x.ReqBody
}
return nil
}
type C501RspBody struct { type C501RspBody struct {
RspBody *SubCmd0X501RspBody `protobuf:"bytes,1281,opt"` RspBody *SubCmd0X501RspBody `protobuf:"bytes,1281,opt"`
} }
func (x *C501RspBody) GetRspBody() *SubCmd0X501RspBody {
if x != nil {
return x.RspBody
}
return nil
}
type SubCmd0X501ReqBody struct { type SubCmd0X501ReqBody struct {
Uin *uint64 `protobuf:"varint,1,opt"` Uin *uint64 `protobuf:"varint,1,opt"`
IdcId *uint32 `protobuf:"varint,2,opt"` IdcId *uint32 `protobuf:"varint,2,opt"`
@ -64,13 +50,6 @@ func (x *SubCmd0X501ReqBody) GetLoginSigType() uint32 {
return 0 return 0
} }
func (x *SubCmd0X501ReqBody) GetLoginSigTicket() []byte {
if x != nil {
return x.LoginSigTicket
}
return nil
}
func (x *SubCmd0X501ReqBody) GetRequestFlag() uint32 { func (x *SubCmd0X501ReqBody) GetRequestFlag() uint32 {
if x != nil && x.RequestFlag != nil { if x != nil && x.RequestFlag != nil {
return *x.RequestFlag return *x.RequestFlag
@ -78,13 +57,6 @@ func (x *SubCmd0X501ReqBody) GetRequestFlag() uint32 {
return 0 return 0
} }
func (x *SubCmd0X501ReqBody) GetServiceTypes() []uint32 {
if x != nil {
return x.ServiceTypes
}
return nil
}
func (x *SubCmd0X501ReqBody) GetBid() uint32 { func (x *SubCmd0X501ReqBody) GetBid() uint32 {
if x != nil && x.Bid != nil { if x != nil && x.Bid != nil {
return *x.Bid return *x.Bid
@ -98,27 +70,6 @@ type SubCmd0X501RspBody struct {
Addrs []*SrvAddrs `protobuf:"bytes,3,rep"` Addrs []*SrvAddrs `protobuf:"bytes,3,rep"`
} }
func (x *SubCmd0X501RspBody) GetSigSession() []byte {
if x != nil {
return x.SigSession
}
return nil
}
func (x *SubCmd0X501RspBody) GetSessionKey() []byte {
if x != nil {
return x.SessionKey
}
return nil
}
func (x *SubCmd0X501RspBody) GetAddrs() []*SrvAddrs {
if x != nil {
return x.Addrs
}
return nil
}
type SrvAddrs struct { type SrvAddrs struct {
ServiceType *uint32 `protobuf:"varint,1,opt"` ServiceType *uint32 `protobuf:"varint,1,opt"`
Addrs []*IpAddr `protobuf:"bytes,2,rep"` Addrs []*IpAddr `protobuf:"bytes,2,rep"`
@ -131,13 +82,6 @@ func (x *SrvAddrs) GetServiceType() uint32 {
return 0 return 0
} }
func (x *SrvAddrs) GetAddrs() []*IpAddr {
if x != nil {
return x.Addrs
}
return nil
}
type IpAddr struct { type IpAddr struct {
Type *uint32 `protobuf:"varint,1,opt"` Type *uint32 `protobuf:"varint,1,opt"`
Ip *uint32 `protobuf:"fixed32,2,opt"` Ip *uint32 `protobuf:"fixed32,2,opt"`

View File

@ -1,5 +1,5 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;cmd0x6ff"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/cmd0x6ff";
message C501ReqBody { message C501ReqBody {
optional SubCmd0x501ReqBody ReqBody = 1281; optional SubCmd0x501ReqBody ReqBody = 1281;

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "./;pb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/pb";
message DeviceInfo { message DeviceInfo {
string bootloader = 1; string bootloader = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: group.proto // source: pb/exciting/group.proto
package exciting package exciting
@ -24,13 +24,6 @@ func (x *GroupFileUploadExt) GetUnknown2() int32 {
return 0 return 0
} }
func (x *GroupFileUploadExt) GetEntry() *GroupFileUploadEntry {
if x != nil {
return x.Entry
}
return nil
}
func (x *GroupFileUploadExt) GetUnknown3() int32 { func (x *GroupFileUploadExt) GetUnknown3() int32 {
if x != nil && x.Unknown3 != nil { if x != nil && x.Unknown3 != nil {
return *x.Unknown3 return *x.Unknown3
@ -46,41 +39,6 @@ type GroupFileUploadEntry struct {
Host *ExcitingHostConfig `protobuf:"bytes,500,opt"` Host *ExcitingHostConfig `protobuf:"bytes,500,opt"`
} }
func (x *GroupFileUploadEntry) GetBusiBuff() *ExcitingBusiInfo {
if x != nil {
return x.BusiBuff
}
return nil
}
func (x *GroupFileUploadEntry) GetFileEntry() *ExcitingFileEntry {
if x != nil {
return x.FileEntry
}
return nil
}
func (x *GroupFileUploadEntry) GetClientInfo() *ExcitingClientInfo {
if x != nil {
return x.ClientInfo
}
return nil
}
func (x *GroupFileUploadEntry) GetFileNameInfo() *ExcitingFileNameInfo {
if x != nil {
return x.FileNameInfo
}
return nil
}
func (x *GroupFileUploadEntry) GetHost() *ExcitingHostConfig {
if x != nil {
return x.Host
}
return nil
}
type ExcitingBusiInfo struct { type ExcitingBusiInfo struct {
BusId *int32 `protobuf:"varint,1,opt"` BusId *int32 `protobuf:"varint,1,opt"`
SenderUin *int64 `protobuf:"varint,100,opt"` SenderUin *int64 `protobuf:"varint,100,opt"`
@ -131,34 +89,6 @@ func (x *ExcitingFileEntry) GetFileSize() int64 {
return 0 return 0
} }
func (x *ExcitingFileEntry) GetMd5() []byte {
if x != nil {
return x.Md5
}
return nil
}
func (x *ExcitingFileEntry) GetSha1() []byte {
if x != nil {
return x.Sha1
}
return nil
}
func (x *ExcitingFileEntry) GetFileId() []byte {
if x != nil {
return x.FileId
}
return nil
}
func (x *ExcitingFileEntry) GetUploadKey() []byte {
if x != nil {
return x.UploadKey
}
return nil
}
type ExcitingClientInfo struct { type ExcitingClientInfo struct {
ClientType *int32 `protobuf:"varint,100,opt"` // probable ClientType *int32 `protobuf:"varint,100,opt"` // probable
AppId *string `protobuf:"bytes,200,opt"` AppId *string `protobuf:"bytes,200,opt"`
@ -217,25 +147,11 @@ type ExcitingHostConfig struct {
Hosts []*ExcitingHostInfo `protobuf:"bytes,200,rep"` Hosts []*ExcitingHostInfo `protobuf:"bytes,200,rep"`
} }
func (x *ExcitingHostConfig) GetHosts() []*ExcitingHostInfo {
if x != nil {
return x.Hosts
}
return nil
}
type ExcitingHostInfo struct { type ExcitingHostInfo struct {
Url *ExcitingUrlInfo `protobuf:"bytes,1,opt"` Url *ExcitingUrlInfo `protobuf:"bytes,1,opt"`
Port *int32 `protobuf:"varint,2,opt"` Port *int32 `protobuf:"varint,2,opt"`
} }
func (x *ExcitingHostInfo) GetUrl() *ExcitingUrlInfo {
if x != nil {
return x.Url
}
return nil
}
func (x *ExcitingHostInfo) GetPort() int32 { func (x *ExcitingHostInfo) GetPort() int32 {
if x != nil && x.Port != nil { if x != nil && x.Port != nil {
return *x.Port return *x.Port

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;exciting"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/exciting";
message GroupFileUploadExt { message GroupFileUploadExt {
optional int32 unknown1 = 1; optional int32 unknown1 = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: faceroam.proto // source: pb/faceroam/faceroam.proto
package faceroam package faceroam
@ -38,13 +38,6 @@ type FaceroamReqBody struct {
ReqDeleteItem *ReqDeleteItem `protobuf:"bytes,5,opt"` ReqDeleteItem *ReqDeleteItem `protobuf:"bytes,5,opt"`
} }
func (x *FaceroamReqBody) GetComm() *PlatInfo {
if x != nil {
return x.Comm
}
return nil
}
func (x *FaceroamReqBody) GetUin() uint64 { func (x *FaceroamReqBody) GetUin() uint64 {
if x != nil && x.Uin != nil { if x != nil && x.Uin != nil {
return *x.Uin return *x.Uin
@ -59,31 +52,10 @@ func (x *FaceroamReqBody) GetSubCmd() uint32 {
return 0 return 0
} }
func (x *FaceroamReqBody) GetReqUserInfo() *ReqUserInfo {
if x != nil {
return x.ReqUserInfo
}
return nil
}
func (x *FaceroamReqBody) GetReqDeleteItem() *ReqDeleteItem {
if x != nil {
return x.ReqDeleteItem
}
return nil
}
type ReqDeleteItem struct { type ReqDeleteItem struct {
Filename []string `protobuf:"bytes,1,rep"` Filename []string `protobuf:"bytes,1,rep"`
} }
func (x *ReqDeleteItem) GetFilename() []string {
if x != nil {
return x.Filename
}
return nil
}
type ReqUserInfo struct { type ReqUserInfo struct {
} }
@ -116,39 +88,11 @@ func (x *FaceroamRspBody) GetSubCmd() uint32 {
return 0 return 0
} }
func (x *FaceroamRspBody) GetRspUserInfo() *RspUserInfo {
if x != nil {
return x.RspUserInfo
}
return nil
}
func (x *FaceroamRspBody) GetRspDeleteItem() *RspDeleteItem {
if x != nil {
return x.RspDeleteItem
}
return nil
}
type RspDeleteItem struct { type RspDeleteItem struct {
Filename []string `protobuf:"bytes,1,rep"` Filename []string `protobuf:"bytes,1,rep"`
Ret []int64 `protobuf:"varint,2,rep"` Ret []int64 `protobuf:"varint,2,rep"`
} }
func (x *RspDeleteItem) GetFilename() []string {
if x != nil {
return x.Filename
}
return nil
}
func (x *RspDeleteItem) GetRet() []int64 {
if x != nil {
return x.Ret
}
return nil
}
type RspUserInfo struct { type RspUserInfo struct {
Filename []string `protobuf:"bytes,1,rep"` Filename []string `protobuf:"bytes,1,rep"`
DeleteFile []string `protobuf:"bytes,2,rep"` DeleteFile []string `protobuf:"bytes,2,rep"`
@ -157,20 +101,6 @@ type RspUserInfo struct {
EmojiType []uint32 `protobuf:"varint,5,rep"` EmojiType []uint32 `protobuf:"varint,5,rep"`
} }
func (x *RspUserInfo) GetFilename() []string {
if x != nil {
return x.Filename
}
return nil
}
func (x *RspUserInfo) GetDeleteFile() []string {
if x != nil {
return x.DeleteFile
}
return nil
}
func (x *RspUserInfo) GetBid() string { func (x *RspUserInfo) GetBid() string {
if x != nil && x.Bid != nil { if x != nil && x.Bid != nil {
return *x.Bid return *x.Bid
@ -184,10 +114,3 @@ func (x *RspUserInfo) GetMaxRoamSize() uint32 {
} }
return 0 return 0
} }
func (x *RspUserInfo) GetEmojiType() []uint32 {
if x != nil {
return x.EmojiType
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;faceroam"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/faceroam";
message PlatInfo { message PlatInfo {
optional int64 implat = 1; optional int64 implat = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: bdhExtInfo.proto // source: pb/highway/bdhExtInfo.proto
package highway package highway
@ -15,13 +15,6 @@ func (x *CommFileExtReq) GetActionType() uint32 {
return 0 return 0
} }
func (x *CommFileExtReq) GetUuid() []byte {
if x != nil {
return x.Uuid
}
return nil
}
type CommFileExtRsp struct { type CommFileExtRsp struct {
Retcode *int32 `protobuf:"varint,1,opt"` Retcode *int32 `protobuf:"varint,1,opt"`
DownloadUrl []byte `protobuf:"bytes,2,opt"` DownloadUrl []byte `protobuf:"bytes,2,opt"`
@ -34,13 +27,6 @@ func (x *CommFileExtRsp) GetRetcode() int32 {
return 0 return 0
} }
func (x *CommFileExtRsp) GetDownloadUrl() []byte {
if x != nil {
return x.DownloadUrl
}
return nil
}
type PicInfo struct { type PicInfo struct {
Idx *uint32 `protobuf:"varint,1,opt"` Idx *uint32 `protobuf:"varint,1,opt"`
Size *uint32 `protobuf:"varint,2,opt"` Size *uint32 `protobuf:"varint,2,opt"`
@ -62,13 +48,6 @@ func (x *PicInfo) GetSize() uint32 {
return 0 return 0
} }
func (x *PicInfo) GetBinMd5() []byte {
if x != nil {
return x.BinMd5
}
return nil
}
func (x *PicInfo) GetType() uint32 { func (x *PicInfo) GetType() uint32 {
if x != nil && x.Type != nil { if x != nil && x.Type != nil {
return *x.Type return *x.Type
@ -85,13 +64,6 @@ type QQVoiceExtReq struct {
Pinyin *uint32 `protobuf:"varint,6,opt"` Pinyin *uint32 `protobuf:"varint,6,opt"`
} }
func (x *QQVoiceExtReq) GetQid() []byte {
if x != nil {
return x.Qid
}
return nil
}
func (x *QQVoiceExtReq) GetFmt() uint32 { func (x *QQVoiceExtReq) GetFmt() uint32 {
if x != nil && x.Fmt != nil { if x != nil && x.Fmt != nil {
return *x.Fmt return *x.Fmt
@ -133,13 +105,6 @@ type QQVoiceExtRsp struct {
Result []*QQVoiceResult `protobuf:"bytes,3,rep"` Result []*QQVoiceResult `protobuf:"bytes,3,rep"`
} }
func (x *QQVoiceExtRsp) GetQid() []byte {
if x != nil {
return x.Qid
}
return nil
}
func (x *QQVoiceExtRsp) GetRetcode() int32 { func (x *QQVoiceExtRsp) GetRetcode() int32 {
if x != nil && x.Retcode != nil { if x != nil && x.Retcode != nil {
return *x.Retcode return *x.Retcode
@ -147,33 +112,12 @@ func (x *QQVoiceExtRsp) GetRetcode() int32 {
return 0 return 0
} }
func (x *QQVoiceExtRsp) GetResult() []*QQVoiceResult {
if x != nil {
return x.Result
}
return nil
}
type QQVoiceResult struct { type QQVoiceResult struct {
Text []byte `protobuf:"bytes,1,opt"` Text []byte `protobuf:"bytes,1,opt"`
Pinyin []byte `protobuf:"bytes,2,opt"` Pinyin []byte `protobuf:"bytes,2,opt"`
Source *uint32 `protobuf:"varint,3,opt"` Source *uint32 `protobuf:"varint,3,opt"`
} }
func (x *QQVoiceResult) GetText() []byte {
if x != nil {
return x.Text
}
return nil
}
func (x *QQVoiceResult) GetPinyin() []byte {
if x != nil {
return x.Pinyin
}
return nil
}
func (x *QQVoiceResult) GetSource() uint32 { func (x *QQVoiceResult) GetSource() uint32 {
if x != nil && x.Source != nil { if x != nil && x.Source != nil {
return *x.Source return *x.Source
@ -204,27 +148,6 @@ func (x *ShortVideoReqExtInfo) GetSessionId() uint64 {
return 0 return 0
} }
func (x *ShortVideoReqExtInfo) GetThumbinfo() *PicInfo {
if x != nil {
return x.Thumbinfo
}
return nil
}
func (x *ShortVideoReqExtInfo) GetVideoinfo() *VideoInfo {
if x != nil {
return x.Videoinfo
}
return nil
}
func (x *ShortVideoReqExtInfo) GetShortvideoSureReq() *ShortVideoSureReqInfo {
if x != nil {
return x.ShortvideoSureReq
}
return nil
}
func (x *ShortVideoReqExtInfo) GetIsMergeCmdBeforeData() bool { func (x *ShortVideoReqExtInfo) GetIsMergeCmdBeforeData() bool {
if x != nil && x.IsMergeCmdBeforeData != nil { if x != nil && x.IsMergeCmdBeforeData != nil {
return *x.IsMergeCmdBeforeData return *x.IsMergeCmdBeforeData
@ -264,34 +187,6 @@ func (x *ShortVideoRspExtInfo) GetRetcode() int32 {
return 0 return 0
} }
func (x *ShortVideoRspExtInfo) GetErrinfo() []byte {
if x != nil {
return x.Errinfo
}
return nil
}
func (x *ShortVideoRspExtInfo) GetThumbinfo() *PicInfo {
if x != nil {
return x.Thumbinfo
}
return nil
}
func (x *ShortVideoRspExtInfo) GetVideoinfo() *VideoInfo {
if x != nil {
return x.Videoinfo
}
return nil
}
func (x *ShortVideoRspExtInfo) GetShortvideoSureRsp() *ShortVideoSureRspInfo {
if x != nil {
return x.ShortvideoSureRsp
}
return nil
}
func (x *ShortVideoRspExtInfo) GetRetryFlag() uint32 { func (x *ShortVideoRspExtInfo) GetRetryFlag() uint32 {
if x != nil && x.RetryFlag != nil { if x != nil && x.RetryFlag != nil {
return *x.RetryFlag return *x.RetryFlag
@ -347,27 +242,6 @@ func (x *ShortVideoSureReqInfo) GetClientType() uint32 {
return 0 return 0
} }
func (x *ShortVideoSureReqInfo) GetThumbinfo() *PicInfo {
if x != nil {
return x.Thumbinfo
}
return nil
}
func (x *ShortVideoSureReqInfo) GetMergeVideoinfo() []*VideoInfo {
if x != nil {
return x.MergeVideoinfo
}
return nil
}
func (x *ShortVideoSureReqInfo) GetDropVideoinfo() []*VideoInfo {
if x != nil {
return x.DropVideoinfo
}
return nil
}
func (x *ShortVideoSureReqInfo) GetBusinessType() uint32 { func (x *ShortVideoSureReqInfo) GetBusinessType() uint32 {
if x != nil && x.BusinessType != nil { if x != nil && x.BusinessType != nil {
return *x.BusinessType return *x.BusinessType
@ -389,27 +263,6 @@ type ShortVideoSureRspInfo struct {
MergeCost *uint32 `protobuf:"varint,4,opt"` MergeCost *uint32 `protobuf:"varint,4,opt"`
} }
func (x *ShortVideoSureRspInfo) GetFileid() []byte {
if x != nil {
return x.Fileid
}
return nil
}
func (x *ShortVideoSureRspInfo) GetUkey() []byte {
if x != nil {
return x.Ukey
}
return nil
}
func (x *ShortVideoSureRspInfo) GetVideoinfo() *VideoInfo {
if x != nil {
return x.Videoinfo
}
return nil
}
func (x *ShortVideoSureRspInfo) GetMergeCost() uint32 { func (x *ShortVideoSureRspInfo) GetMergeCost() uint32 {
if x != nil && x.MergeCost != nil { if x != nil && x.MergeCost != nil {
return *x.MergeCost return *x.MergeCost
@ -435,61 +288,12 @@ func (x *StoryVideoExtRsp) GetRetcode() int32 {
return 0 return 0
} }
func (x *StoryVideoExtRsp) GetMsg() []byte {
if x != nil {
return x.Msg
}
return nil
}
func (x *StoryVideoExtRsp) GetCdnUrl() []byte {
if x != nil {
return x.CdnUrl
}
return nil
}
func (x *StoryVideoExtRsp) GetFileKey() []byte {
if x != nil {
return x.FileKey
}
return nil
}
func (x *StoryVideoExtRsp) GetFileId() []byte {
if x != nil {
return x.FileId
}
return nil
}
type UploadPicExtInfo struct { type UploadPicExtInfo struct {
FileResid []byte `protobuf:"bytes,1,opt"` FileResid []byte `protobuf:"bytes,1,opt"`
DownloadUrl []byte `protobuf:"bytes,2,opt"` DownloadUrl []byte `protobuf:"bytes,2,opt"`
ThumbDownloadUrl []byte `protobuf:"bytes,3,opt"` ThumbDownloadUrl []byte `protobuf:"bytes,3,opt"`
} }
func (x *UploadPicExtInfo) GetFileResid() []byte {
if x != nil {
return x.FileResid
}
return nil
}
func (x *UploadPicExtInfo) GetDownloadUrl() []byte {
if x != nil {
return x.DownloadUrl
}
return nil
}
func (x *UploadPicExtInfo) GetThumbDownloadUrl() []byte {
if x != nil {
return x.ThumbDownloadUrl
}
return nil
}
type VideoInfo struct { type VideoInfo struct {
Idx *uint32 `protobuf:"varint,1,opt"` Idx *uint32 `protobuf:"varint,1,opt"`
Size *uint32 `protobuf:"varint,2,opt"` Size *uint32 `protobuf:"varint,2,opt"`
@ -516,13 +320,6 @@ func (x *VideoInfo) GetSize() uint32 {
return 0 return 0
} }
func (x *VideoInfo) GetBinMd5() []byte {
if x != nil {
return x.BinMd5
}
return nil
}
func (x *VideoInfo) GetFormat() uint32 { func (x *VideoInfo) GetFormat() uint32 {
if x != nil && x.Format != nil { if x != nil && x.Format != nil {
return *x.Format return *x.Format

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;highway"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/highway";
message CommFileExtReq { message CommFileExtReq {
optional uint32 actionType = 1; optional uint32 actionType = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: longmsg.proto // source: pb/longmsg/longmsg.proto
package longmsg package longmsg
@ -8,39 +8,11 @@ type LongMsgDeleteReq struct {
MsgType int32 `protobuf:"varint,2,opt"` MsgType int32 `protobuf:"varint,2,opt"`
} }
func (x *LongMsgDeleteReq) GetMsgResid() []byte {
if x != nil {
return x.MsgResid
}
return nil
}
func (x *LongMsgDeleteReq) GetMsgType() int32 {
if x != nil {
return x.MsgType
}
return 0
}
type LongMsgDeleteRsp struct { type LongMsgDeleteRsp struct {
Result int32 `protobuf:"varint,1,opt"` Result int32 `protobuf:"varint,1,opt"`
MsgResid []byte `protobuf:"bytes,2,opt"` MsgResid []byte `protobuf:"bytes,2,opt"`
} }
func (x *LongMsgDeleteRsp) GetResult() int32 {
if x != nil {
return x.Result
}
return 0
}
func (x *LongMsgDeleteRsp) GetMsgResid() []byte {
if x != nil {
return x.MsgResid
}
return nil
}
type LongMsgDownReq struct { type LongMsgDownReq struct {
SrcUin int32 `protobuf:"varint,1,opt"` SrcUin int32 `protobuf:"varint,1,opt"`
MsgResid []byte `protobuf:"bytes,2,opt"` MsgResid []byte `protobuf:"bytes,2,opt"`
@ -48,61 +20,12 @@ type LongMsgDownReq struct {
NeedCache int32 `protobuf:"varint,4,opt"` NeedCache int32 `protobuf:"varint,4,opt"`
} }
func (x *LongMsgDownReq) GetSrcUin() int32 {
if x != nil {
return x.SrcUin
}
return 0
}
func (x *LongMsgDownReq) GetMsgResid() []byte {
if x != nil {
return x.MsgResid
}
return nil
}
func (x *LongMsgDownReq) GetMsgType() int32 {
if x != nil {
return x.MsgType
}
return 0
}
func (x *LongMsgDownReq) GetNeedCache() int32 {
if x != nil {
return x.NeedCache
}
return 0
}
type LongMsgDownRsp struct { type LongMsgDownRsp struct {
Result int32 `protobuf:"varint,1,opt"` Result int32 `protobuf:"varint,1,opt"`
MsgResid []byte `protobuf:"bytes,2,opt"` MsgResid []byte `protobuf:"bytes,2,opt"`
MsgContent []byte `protobuf:"bytes,3,opt"` MsgContent []byte `protobuf:"bytes,3,opt"`
} }
func (x *LongMsgDownRsp) GetResult() int32 {
if x != nil {
return x.Result
}
return 0
}
func (x *LongMsgDownRsp) GetMsgResid() []byte {
if x != nil {
return x.MsgResid
}
return nil
}
func (x *LongMsgDownRsp) GetMsgContent() []byte {
if x != nil {
return x.MsgContent
}
return nil
}
type LongMsgUpReq struct { type LongMsgUpReq struct {
MsgType int32 `protobuf:"varint,1,opt"` MsgType int32 `protobuf:"varint,1,opt"`
DstUin int64 `protobuf:"varint,2,opt"` DstUin int64 `protobuf:"varint,2,opt"`
@ -113,82 +36,12 @@ type LongMsgUpReq struct {
NeedCache int32 `protobuf:"varint,7,opt"` NeedCache int32 `protobuf:"varint,7,opt"`
} }
func (x *LongMsgUpReq) GetMsgType() int32 {
if x != nil {
return x.MsgType
}
return 0
}
func (x *LongMsgUpReq) GetDstUin() int64 {
if x != nil {
return x.DstUin
}
return 0
}
func (x *LongMsgUpReq) GetMsgId() int32 {
if x != nil {
return x.MsgId
}
return 0
}
func (x *LongMsgUpReq) GetMsgContent() []byte {
if x != nil {
return x.MsgContent
}
return nil
}
func (x *LongMsgUpReq) GetStoreType() int32 {
if x != nil {
return x.StoreType
}
return 0
}
func (x *LongMsgUpReq) GetMsgUkey() []byte {
if x != nil {
return x.MsgUkey
}
return nil
}
func (x *LongMsgUpReq) GetNeedCache() int32 {
if x != nil {
return x.NeedCache
}
return 0
}
type LongMsgUpRsp struct { type LongMsgUpRsp struct {
Result int32 `protobuf:"varint,1,opt"` Result int32 `protobuf:"varint,1,opt"`
MsgId int32 `protobuf:"varint,2,opt"` MsgId int32 `protobuf:"varint,2,opt"`
MsgResid []byte `protobuf:"bytes,3,opt"` MsgResid []byte `protobuf:"bytes,3,opt"`
} }
func (x *LongMsgUpRsp) GetResult() int32 {
if x != nil {
return x.Result
}
return 0
}
func (x *LongMsgUpRsp) GetMsgId() int32 {
if x != nil {
return x.MsgId
}
return 0
}
func (x *LongMsgUpRsp) GetMsgResid() []byte {
if x != nil {
return x.MsgResid
}
return nil
}
type LongReqBody struct { type LongReqBody struct {
Subcmd int32 `protobuf:"varint,1,opt"` Subcmd int32 `protobuf:"varint,1,opt"`
TermType int32 `protobuf:"varint,2,opt"` TermType int32 `protobuf:"varint,2,opt"`
@ -199,86 +52,9 @@ type LongReqBody struct {
AgentType int32 `protobuf:"varint,10,opt"` AgentType int32 `protobuf:"varint,10,opt"`
} }
func (x *LongReqBody) GetSubcmd() int32 {
if x != nil {
return x.Subcmd
}
return 0
}
func (x *LongReqBody) GetTermType() int32 {
if x != nil {
return x.TermType
}
return 0
}
func (x *LongReqBody) GetPlatformType() int32 {
if x != nil {
return x.PlatformType
}
return 0
}
func (x *LongReqBody) GetMsgUpReq() []*LongMsgUpReq {
if x != nil {
return x.MsgUpReq
}
return nil
}
func (x *LongReqBody) GetMsgDownReq() []*LongMsgDownReq {
if x != nil {
return x.MsgDownReq
}
return nil
}
func (x *LongReqBody) GetMsgDelReq() []*LongMsgDeleteReq {
if x != nil {
return x.MsgDelReq
}
return nil
}
func (x *LongReqBody) GetAgentType() int32 {
if x != nil {
return x.AgentType
}
return 0
}
type LongRspBody struct { type LongRspBody struct {
Subcmd int32 `protobuf:"varint,1,opt"` Subcmd int32 `protobuf:"varint,1,opt"`
MsgUpRsp []*LongMsgUpRsp `protobuf:"bytes,2,rep"` MsgUpRsp []*LongMsgUpRsp `protobuf:"bytes,2,rep"`
MsgDownRsp []*LongMsgDownRsp `protobuf:"bytes,3,rep"` MsgDownRsp []*LongMsgDownRsp `protobuf:"bytes,3,rep"`
MsgDelRsp []*LongMsgDeleteRsp `protobuf:"bytes,4,rep"` MsgDelRsp []*LongMsgDeleteRsp `protobuf:"bytes,4,rep"`
} }
func (x *LongRspBody) GetSubcmd() int32 {
if x != nil {
return x.Subcmd
}
return 0
}
func (x *LongRspBody) GetMsgUpRsp() []*LongMsgUpRsp {
if x != nil {
return x.MsgUpRsp
}
return nil
}
func (x *LongRspBody) GetMsgDownRsp() []*LongMsgDownRsp {
if x != nil {
return x.MsgDownRsp
}
return nil
}
func (x *LongRspBody) GetMsgDelRsp() []*LongMsgDeleteRsp {
if x != nil {
return x.MsgDelRsp
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "./;longmsg"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/longmsg";
message LongMsgDeleteReq { message LongMsgDeleteReq {
bytes msgResid = 1; bytes msgResid = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: register_proxy.proto // source: pb/msf/register_proxy.proto
package msf package msf
@ -181,13 +181,6 @@ func (x *SvcPbResponsePullDisMsgProxy) GetMemberSeq() uint64 {
return 0 return 0
} }
func (x *SvcPbResponsePullDisMsgProxy) GetContent() []byte {
if x != nil {
return x.Content
}
return nil
}
type SvcRegisterProxyMsgResp struct { type SvcRegisterProxyMsgResp struct {
Result *uint32 `protobuf:"varint,1,opt"` Result *uint32 `protobuf:"varint,1,opt"`
ErrMsg []byte `protobuf:"bytes,2,opt"` ErrMsg []byte `protobuf:"bytes,2,opt"`
@ -210,13 +203,6 @@ func (x *SvcRegisterProxyMsgResp) GetResult() uint32 {
return 0 return 0
} }
func (x *SvcRegisterProxyMsgResp) GetErrMsg() []byte {
if x != nil {
return x.ErrMsg
}
return nil
}
func (x *SvcRegisterProxyMsgResp) GetFlag() uint32 { func (x *SvcRegisterProxyMsgResp) GetFlag() uint32 {
if x != nil && x.Flag != nil { if x != nil && x.Flag != nil {
return *x.Flag return *x.Flag
@ -231,55 +217,6 @@ func (x *SvcRegisterProxyMsgResp) GetSeq() uint32 {
return 0 return 0
} }
func (x *SvcRegisterProxyMsgResp) GetInfo() *SvcResponseMsgInfo {
if x != nil {
return x.Info
}
return nil
}
func (x *SvcRegisterProxyMsgResp) GetGroupList() []*GroupList {
if x != nil {
return x.GroupList
}
return nil
}
func (x *SvcRegisterProxyMsgResp) GetDiscussList() []*DiscussList {
if x != nil {
return x.DiscussList
}
return nil
}
func (x *SvcRegisterProxyMsgResp) GetGroupMsg() []*SvcResponsePbPullGroupMsgProxy {
if x != nil {
return x.GroupMsg
}
return nil
}
func (x *SvcRegisterProxyMsgResp) GetDiscussMsg() []*SvcPbResponsePullDisMsgProxy {
if x != nil {
return x.DiscussMsg
}
return nil
}
func (x *SvcRegisterProxyMsgResp) GetC2CMsg() []byte {
if x != nil {
return x.C2CMsg
}
return nil
}
func (x *SvcRegisterProxyMsgResp) GetPubAccountMsg() []byte {
if x != nil {
return x.PubAccountMsg
}
return nil
}
func (x *SvcRegisterProxyMsgResp) GetDiscussListFlag() uint32 { func (x *SvcRegisterProxyMsgResp) GetDiscussListFlag() uint32 {
if x != nil && x.DiscussListFlag != nil { if x != nil && x.DiscussListFlag != nil {
return *x.DiscussListFlag return *x.DiscussListFlag
@ -317,10 +254,3 @@ func (x *SvcResponsePbPullGroupMsgProxy) GetMemberSeq() uint64 {
} }
return 0 return 0
} }
func (x *SvcResponsePbPullGroupMsgProxy) GetContent() []byte {
if x != nil {
return x.Content
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;msf"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/msf";
message DiscussList { message DiscussList {
optional uint64 discussCode = 1; optional uint64 discussCode = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: TextMsgExt.proto // source: pb/msg/TextMsgExt.proto
package msg package msg
@ -33,13 +33,6 @@ type TextResvAttr struct {
AtChannelInfo *ExtChannelInfo `protobuf:"bytes,8,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 { func (x *TextResvAttr) GetTextAnalysisResult() uint32 {
if x != nil && x.TextAnalysisResult != nil { if x != nil && x.TextAnalysisResult != nil {
return *x.TextAnalysisResult return *x.TextAnalysisResult
@ -68,27 +61,6 @@ func (x *TextResvAttr) GetAtMemberTinyid() uint64 {
return 0 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 { type ExtRoleInfo struct {
Id *uint64 `protobuf:"varint,1,opt"` Id *uint64 `protobuf:"varint,1,opt"`
Info []byte `protobuf:"bytes,2,opt"` Info []byte `protobuf:"bytes,2,opt"`
@ -102,13 +74,6 @@ func (x *ExtRoleInfo) GetId() uint64 {
return 0 return 0
} }
func (x *ExtRoleInfo) GetInfo() []byte {
if x != nil {
return x.Info
}
return nil
}
func (x *ExtRoleInfo) GetFlag() uint32 { func (x *ExtRoleInfo) GetFlag() uint32 {
if x != nil && x.Flag != nil { if x != nil && x.Flag != nil {
return *x.Flag return *x.Flag

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;msg"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/msg";
message ExtChannelInfo { message ExtChannelInfo {
optional uint64 guildId = 1; optional uint64 guildId = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: head.proto // source: pb/msg/head.proto
package msg package msg
@ -45,27 +45,6 @@ func (x *C2CHead) GetCcCmd() uint32 {
return 0 return 0
} }
func (x *C2CHead) GetAuthPicSig() []byte {
if x != nil {
return x.AuthPicSig
}
return nil
}
func (x *C2CHead) GetAuthSig() []byte {
if x != nil {
return x.AuthSig
}
return nil
}
func (x *C2CHead) GetAuthBuf() []byte {
if x != nil {
return x.AuthBuf
}
return nil
}
func (x *C2CHead) GetServerTime() uint32 { func (x *C2CHead) GetServerTime() uint32 {
if x != nil && x.ServerTime != nil { if x != nil && x.ServerTime != nil {
return *x.ServerTime return *x.ServerTime
@ -320,20 +299,6 @@ func (x *DeltaHead) GetAckOffset() uint64 {
return 0 return 0
} }
func (x *DeltaHead) GetCookie() []byte {
if x != nil {
return x.Cookie
}
return nil
}
func (x *DeltaHead) GetAckCookie() []byte {
if x != nil {
return x.AckCookie
}
return nil
}
func (x *DeltaHead) GetResult() uint32 { func (x *DeltaHead) GetResult() uint32 {
if x != nil && x.Result != nil { if x != nil && x.Result != nil {
return *x.Result return *x.Result
@ -366,27 +331,6 @@ func (x *IMHead) GetHeadType() uint32 {
return 0 return 0
} }
func (x *IMHead) GetCsHead() *CSHead {
if x != nil {
return x.CsHead
}
return nil
}
func (x *IMHead) GetS2CHead() *S2CHead {
if x != nil {
return x.S2CHead
}
return nil
}
func (x *IMHead) GetHttpconnHead() *HttpConnHead {
if x != nil {
return x.HttpconnHead
}
return nil
}
func (x *IMHead) GetPaintFlag() uint32 { func (x *IMHead) GetPaintFlag() uint32 {
if x != nil && x.PaintFlag != nil { if x != nil && x.PaintFlag != nil {
return *x.PaintFlag return *x.PaintFlag
@ -394,27 +338,6 @@ func (x *IMHead) GetPaintFlag() uint32 {
return 0 return 0
} }
func (x *IMHead) GetLoginSig() *LoginSig {
if x != nil {
return x.LoginSig
}
return nil
}
func (x *IMHead) GetDeltaHead() *DeltaHead {
if x != nil {
return x.DeltaHead
}
return nil
}
func (x *IMHead) GetC2CHead() *C2CHead {
if x != nil {
return x.C2CHead
}
return nil
}
type HttpConnHead struct { type HttpConnHead struct {
Uin *uint64 `protobuf:"varint,1,opt"` Uin *uint64 `protobuf:"varint,1,opt"`
Command *uint32 `protobuf:"varint,2,opt"` Command *uint32 `protobuf:"varint,2,opt"`
@ -562,13 +485,6 @@ func (x *HttpConnHead) GetFlag() uint32 {
return 0 return 0
} }
func (x *HttpConnHead) GetKey() []byte {
if x != nil {
return x.Key
}
return nil
}
func (x *HttpConnHead) GetCompressType() uint32 { func (x *HttpConnHead) GetCompressType() uint32 {
if x != nil && x.CompressType != nil { if x != nil && x.CompressType != nil {
return *x.CompressType return *x.CompressType
@ -590,13 +506,6 @@ func (x *HttpConnHead) GetErrorCode() uint32 {
return 0 return 0
} }
func (x *HttpConnHead) GetRedirect() *RedirectMsg {
if x != nil {
return x.Redirect
}
return nil
}
func (x *HttpConnHead) GetCommandId() uint32 { func (x *HttpConnHead) GetCommandId() uint32 {
if x != nil && x.CommandId != nil { if x != nil && x.CommandId != nil {
return *x.CommandId return *x.CommandId
@ -611,13 +520,6 @@ func (x *HttpConnHead) GetServiceCmdid() uint32 {
return 0 return 0
} }
func (x *HttpConnHead) GetOidbhead() *TransOidbHead {
if x != nil {
return x.Oidbhead
}
return nil
}
type LoginSig struct { type LoginSig struct {
Type *uint32 `protobuf:"varint,1,opt"` Type *uint32 `protobuf:"varint,1,opt"`
Sig []byte `protobuf:"bytes,2,opt"` Sig []byte `protobuf:"bytes,2,opt"`
@ -630,13 +532,6 @@ func (x *LoginSig) GetType() uint32 {
return 0 return 0
} }
func (x *LoginSig) GetSig() []byte {
if x != nil {
return x.Sig
}
return nil
}
type RedirectMsg struct { type RedirectMsg struct {
LastRedirectIp *uint32 `protobuf:"fixed32,1,opt"` LastRedirectIp *uint32 `protobuf:"fixed32,1,opt"`
LastRedirectPort *uint32 `protobuf:"varint,2,opt"` LastRedirectPort *uint32 `protobuf:"varint,2,opt"`

View File

@ -1,5 +1,5 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;msg"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/msg";
message C2CHead { message C2CHead {
optional uint64 toUin = 1; optional uint64 toUin = 1;

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@ syntax = "proto2";
package msg; package msg;
option go_package = "pb/msg;msg"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/msg";
message GetMessageRequest { message GetMessageRequest {
optional SyncFlag syncFlag = 1; optional SyncFlag syncFlag = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: objmsg.proto // source: pb/msg/objmsg.proto
package msg package msg
@ -9,27 +9,6 @@ type MsgPic struct {
LocalPicId int32 `protobuf:"varint,3,opt"` LocalPicId int32 `protobuf:"varint,3,opt"`
} }
func (x *MsgPic) GetSmallPicUrl() []byte {
if x != nil {
return x.SmallPicUrl
}
return nil
}
func (x *MsgPic) GetOriginalPicUrl() []byte {
if x != nil {
return x.OriginalPicUrl
}
return nil
}
func (x *MsgPic) GetLocalPicId() int32 {
if x != nil {
return x.LocalPicId
}
return 0
}
type ObjMsg struct { type ObjMsg struct {
MsgType int32 `protobuf:"varint,1,opt"` MsgType int32 `protobuf:"varint,1,opt"`
Title []byte `protobuf:"bytes,2,opt"` Title []byte `protobuf:"bytes,2,opt"`
@ -40,74 +19,11 @@ type ObjMsg struct {
ReportIdShow int32 `protobuf:"varint,8,opt"` ReportIdShow int32 `protobuf:"varint,8,opt"`
} }
func (x *ObjMsg) GetMsgType() int32 {
if x != nil {
return x.MsgType
}
return 0
}
func (x *ObjMsg) GetTitle() []byte {
if x != nil {
return x.Title
}
return nil
}
func (x *ObjMsg) GetBytesAbstact() []byte {
if x != nil {
return x.BytesAbstact
}
return nil
}
func (x *ObjMsg) GetTitleExt() []byte {
if x != nil {
return x.TitleExt
}
return nil
}
func (x *ObjMsg) GetMsgPic() []*MsgPic {
if x != nil {
return x.MsgPic
}
return nil
}
func (x *ObjMsg) GetMsgContentInfo() []*MsgContentInfo {
if x != nil {
return x.MsgContentInfo
}
return nil
}
func (x *ObjMsg) GetReportIdShow() int32 {
if x != nil {
return x.ReportIdShow
}
return 0
}
type MsgContentInfo struct { type MsgContentInfo struct {
ContentInfoId []byte `protobuf:"bytes,1,opt"` ContentInfoId []byte `protobuf:"bytes,1,opt"`
MsgFile *MsgFile `protobuf:"bytes,2,opt"` MsgFile *MsgFile `protobuf:"bytes,2,opt"`
} }
func (x *MsgContentInfo) GetContentInfoId() []byte {
if x != nil {
return x.ContentInfoId
}
return nil
}
func (x *MsgContentInfo) GetMsgFile() *MsgFile {
if x != nil {
return x.MsgFile
}
return nil
}
type MsgFile struct { type MsgFile struct {
BusId int32 `protobuf:"varint,1,opt"` BusId int32 `protobuf:"varint,1,opt"`
FilePath []byte `protobuf:"bytes,2,opt"` FilePath []byte `protobuf:"bytes,2,opt"`
@ -117,52 +33,3 @@ type MsgFile struct {
FileSha1 []byte `protobuf:"bytes,6,opt"` FileSha1 []byte `protobuf:"bytes,6,opt"`
Ext []byte `protobuf:"bytes,7,opt"` Ext []byte `protobuf:"bytes,7,opt"`
} }
func (x *MsgFile) GetBusId() int32 {
if x != nil {
return x.BusId
}
return 0
}
func (x *MsgFile) GetFilePath() []byte {
if x != nil {
return x.FilePath
}
return nil
}
func (x *MsgFile) GetFileSize() int64 {
if x != nil {
return x.FileSize
}
return 0
}
func (x *MsgFile) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *MsgFile) GetInt64DeadTime() int64 {
if x != nil {
return x.Int64DeadTime
}
return 0
}
func (x *MsgFile) GetFileSha1() []byte {
if x != nil {
return x.FileSha1
}
return nil
}
func (x *MsgFile) GetExt() []byte {
if x != nil {
return x.Ext
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "./;msg"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/msg";
message MsgPic { message MsgPic {
bytes smallPicUrl = 1; bytes smallPicUrl = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: report.proto // source: pb/msg/report.proto
package msg package msg
@ -9,54 +9,12 @@ type PbMsgReadedReportReq struct {
C2CReadReport *PbC2CReadedReportReq `protobuf:"bytes,3,opt"` //optional PbBindUinMsgReadedConfirmReq bindUinReadReport = 4; C2CReadReport *PbC2CReadedReportReq `protobuf:"bytes,3,opt"` //optional PbBindUinMsgReadedConfirmReq bindUinReadReport = 4;
} }
func (x *PbMsgReadedReportReq) GetGrpReadReport() []*PbGroupReadedReportReq {
if x != nil {
return x.GrpReadReport
}
return nil
}
func (x *PbMsgReadedReportReq) GetDisReadReport() []*PbDiscussReadedReportReq {
if x != nil {
return x.DisReadReport
}
return nil
}
func (x *PbMsgReadedReportReq) GetC2CReadReport() *PbC2CReadedReportReq {
if x != nil {
return x.C2CReadReport
}
return nil
}
type PbMsgReadedReportResp struct { type PbMsgReadedReportResp struct {
GrpReadReport []*PbGroupReadedReportResp `protobuf:"bytes,1,rep"` GrpReadReport []*PbGroupReadedReportResp `protobuf:"bytes,1,rep"`
DisReadReport []*PbDiscussReadedReportResp `protobuf:"bytes,2,rep"` DisReadReport []*PbDiscussReadedReportResp `protobuf:"bytes,2,rep"`
C2CReadReport *PbC2CReadedReportResp `protobuf:"bytes,3,opt"` //optional PbBindUinMsgReadedConfirmResp bindUinReadReport = 4; C2CReadReport *PbC2CReadedReportResp `protobuf:"bytes,3,opt"` //optional PbBindUinMsgReadedConfirmResp bindUinReadReport = 4;
} }
func (x *PbMsgReadedReportResp) GetGrpReadReport() []*PbGroupReadedReportResp {
if x != nil {
return x.GrpReadReport
}
return nil
}
func (x *PbMsgReadedReportResp) GetDisReadReport() []*PbDiscussReadedReportResp {
if x != nil {
return x.DisReadReport
}
return nil
}
func (x *PbMsgReadedReportResp) GetC2CReadReport() *PbC2CReadedReportResp {
if x != nil {
return x.C2CReadReport
}
return nil
}
type PbGroupReadedReportReq struct { type PbGroupReadedReportReq struct {
GroupCode *uint64 `protobuf:"varint,1,opt"` GroupCode *uint64 `protobuf:"varint,1,opt"`
LastReadSeq *uint64 `protobuf:"varint,2,opt"` LastReadSeq *uint64 `protobuf:"varint,2,opt"`
@ -100,20 +58,6 @@ type PbC2CReadedReportReq struct {
PairInfo []*UinPairReadInfo `protobuf:"bytes,2,rep"` PairInfo []*UinPairReadInfo `protobuf:"bytes,2,rep"`
} }
func (x *PbC2CReadedReportReq) GetSyncCookie() []byte {
if x != nil {
return x.SyncCookie
}
return nil
}
func (x *PbC2CReadedReportReq) GetPairInfo() []*UinPairReadInfo {
if x != nil {
return x.PairInfo
}
return nil
}
type UinPairReadInfo struct { type UinPairReadInfo struct {
PeerUin *uint64 `protobuf:"varint,1,opt"` PeerUin *uint64 `protobuf:"varint,1,opt"`
LastReadTime *uint32 `protobuf:"varint,2,opt"` LastReadTime *uint32 `protobuf:"varint,2,opt"`
@ -139,13 +83,6 @@ func (x *UinPairReadInfo) GetLastReadTime() uint32 {
return 0 return 0
} }
func (x *UinPairReadInfo) GetCrmSig() []byte {
if x != nil {
return x.CrmSig
}
return nil
}
func (x *UinPairReadInfo) GetPeerType() uint32 { func (x *UinPairReadInfo) GetPeerType() uint32 {
if x != nil && x.PeerType != nil { if x != nil && x.PeerType != nil {
return *x.PeerType return *x.PeerType
@ -286,10 +223,3 @@ func (x *PbC2CReadedReportResp) GetErrmsg() string {
} }
return "" return ""
} }
func (x *PbC2CReadedReportResp) GetSyncCookie() []byte {
if x != nil {
return x.SyncCookie
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;msg"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/msg";
message PbMsgReadedReportReq { message PbMsgReadedReportReq {
repeated PbGroupReadedReportReq grpReadReport = 1; repeated PbGroupReadedReportReq grpReadReport = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: subMsgType0x27.proto // source: pb/msgtype0x210/subMsgType0x27.proto
package msgtype0x210 package msgtype0x210
@ -23,13 +23,6 @@ func (x *AddGroup) GetSortid() uint32 {
return 0 return 0
} }
func (x *AddGroup) GetGroupname() []byte {
if x != nil {
return x.Groupname
}
return nil
}
type AppointmentNotify struct { type AppointmentNotify struct {
FromUin *uint64 `protobuf:"varint,1,opt"` FromUin *uint64 `protobuf:"varint,1,opt"`
AppointId *string `protobuf:"bytes,2,opt"` AppointId *string `protobuf:"bytes,2,opt"`
@ -93,34 +86,6 @@ func (x *AppointmentNotify) GetViewWording() string {
return "" return ""
} }
func (x *AppointmentNotify) GetSig() []byte {
if x != nil {
return x.Sig
}
return nil
}
func (x *AppointmentNotify) GetEventInfo() []byte {
if x != nil {
return x.EventInfo
}
return nil
}
func (x *AppointmentNotify) GetNearbyEventInfo() []byte {
if x != nil {
return x.NearbyEventInfo
}
return nil
}
func (x *AppointmentNotify) GetFeedEventInfo() []byte {
if x != nil {
return x.FeedEventInfo
}
return nil
}
type BinaryMsg struct { type BinaryMsg struct {
OpType *uint32 `protobuf:"varint,1,opt"` OpType *uint32 `protobuf:"varint,1,opt"`
OpValue []byte `protobuf:"bytes,2,opt"` OpValue []byte `protobuf:"bytes,2,opt"`
@ -133,13 +98,6 @@ func (x *BinaryMsg) GetOpType() uint32 {
return 0 return 0
} }
func (x *BinaryMsg) GetOpValue() []byte {
if x != nil {
return x.OpValue
}
return nil
}
type ChatMatchInfo struct { type ChatMatchInfo struct {
Sig []byte `protobuf:"bytes,1,opt"` Sig []byte `protobuf:"bytes,1,opt"`
Uin *uint64 `protobuf:"varint,2,opt"` Uin *uint64 `protobuf:"varint,2,opt"`
@ -153,13 +111,6 @@ type ChatMatchInfo struct {
Nick []byte `protobuf:"bytes,10,opt"` Nick []byte `protobuf:"bytes,10,opt"`
} }
func (x *ChatMatchInfo) GetSig() []byte {
if x != nil {
return x.Sig
}
return nil
}
func (x *ChatMatchInfo) GetUin() uint64 { func (x *ChatMatchInfo) GetUin() uint64 {
if x != nil && x.Uin != nil { if x != nil && x.Uin != nil {
return *x.Uin return *x.Uin
@ -174,13 +125,6 @@ func (x *ChatMatchInfo) GetMatchUin() uint64 {
return 0 return 0
} }
func (x *ChatMatchInfo) GetTipsWording() []byte {
if x != nil {
return x.TipsWording
}
return nil
}
func (x *ChatMatchInfo) GetLeftChatTime() uint32 { func (x *ChatMatchInfo) GetLeftChatTime() uint32 {
if x != nil && x.LeftChatTime != nil { if x != nil && x.LeftChatTime != nil {
return *x.LeftChatTime return *x.LeftChatTime
@ -216,13 +160,6 @@ func (x *ChatMatchInfo) GetMatchCount() uint32 {
return 0 return 0
} }
func (x *ChatMatchInfo) GetNick() []byte {
if x != nil {
return x.Nick
}
return nil
}
type ConfMsgRoamFlag struct { type ConfMsgRoamFlag struct {
Confid *uint64 `protobuf:"varint,1,opt"` Confid *uint64 `protobuf:"varint,1,opt"`
Flag *uint32 `protobuf:"varint,2,opt"` Flag *uint32 `protobuf:"varint,2,opt"`
@ -297,13 +234,6 @@ type DelFriend struct {
Uins []uint64 `protobuf:"varint,1,rep"` Uins []uint64 `protobuf:"varint,1,rep"`
} }
func (x *DelFriend) GetUins() []uint64 {
if x != nil {
return x.Uins
}
return nil
}
type DelGroup struct { type DelGroup struct {
Groupid *uint32 `protobuf:"varint,1,opt"` Groupid *uint32 `protobuf:"varint,1,opt"`
} }
@ -336,20 +266,6 @@ func (x *FanpaiziNotify) GetFromNick() string {
return "" return ""
} }
func (x *FanpaiziNotify) GetTipsContent() []byte {
if x != nil {
return x.TipsContent
}
return nil
}
func (x *FanpaiziNotify) GetSig() []byte {
if x != nil {
return x.Sig
}
return nil
}
type ForwardBody struct { type ForwardBody struct {
NotifyType *uint32 `protobuf:"varint,1,opt"` NotifyType *uint32 `protobuf:"varint,1,opt"`
OpType *uint32 `protobuf:"varint,2,opt"` OpType *uint32 `protobuf:"varint,2,opt"`
@ -403,244 +319,6 @@ func (x *ForwardBody) GetOpType() uint32 {
return 0 return 0
} }
func (x *ForwardBody) GetAddGroup() *AddGroup {
if x != nil {
return x.AddGroup
}
return nil
}
func (x *ForwardBody) GetDelGroup() *DelGroup {
if x != nil {
return x.DelGroup
}
return nil
}
func (x *ForwardBody) GetModGroupName() *ModGroupName {
if x != nil {
return x.ModGroupName
}
return nil
}
func (x *ForwardBody) GetModGroupSort() *ModGroupSort {
if x != nil {
return x.ModGroupSort
}
return nil
}
func (x *ForwardBody) GetModFriendGroup() *ModFriendGroup {
if x != nil {
return x.ModFriendGroup
}
return nil
}
func (x *ForwardBody) GetModProfile() *ModProfile {
if x != nil {
return x.ModProfile
}
return nil
}
func (x *ForwardBody) GetModFriendRemark() *ModFriendRemark {
if x != nil {
return x.ModFriendRemark
}
return nil
}
func (x *ForwardBody) GetModLongNick() *ModLongNick {
if x != nil {
return x.ModLongNick
}
return nil
}
func (x *ForwardBody) GetModCustomFace() *ModCustomFace {
if x != nil {
return x.ModCustomFace
}
return nil
}
func (x *ForwardBody) GetModGroupProfile() *ModGroupProfile {
if x != nil {
return x.ModGroupProfile
}
return nil
}
func (x *ForwardBody) GetModGroupMemberProfile() *ModGroupMemberProfile {
if x != nil {
return x.ModGroupMemberProfile
}
return nil
}
func (x *ForwardBody) GetDelFriend() *DelFriend {
if x != nil {
return x.DelFriend
}
return nil
}
func (x *ForwardBody) GetRoamPriv() *ModFrdRoamPriv {
if x != nil {
return x.RoamPriv
}
return nil
}
func (x *ForwardBody) GetGrpMsgRoamFlag() *GrpMsgRoamFlag {
if x != nil {
return x.GrpMsgRoamFlag
}
return nil
}
func (x *ForwardBody) GetConfMsgRoamFlag() *ConfMsgRoamFlag {
if x != nil {
return x.ConfMsgRoamFlag
}
return nil
}
func (x *ForwardBody) GetModRichLongNick() *ModLongNick {
if x != nil {
return x.ModRichLongNick
}
return nil
}
func (x *ForwardBody) GetBinPkg() *BinaryMsg {
if x != nil {
return x.BinPkg
}
return nil
}
func (x *ForwardBody) GetModFriendRings() *ModSnsGeneralInfo {
if x != nil {
return x.ModFriendRings
}
return nil
}
func (x *ForwardBody) GetModConfProfile() *ModConfProfile {
if x != nil {
return x.ModConfProfile
}
return nil
}
func (x *ForwardBody) GetModFriendFlag() *SnsUpdateFlag {
if x != nil {
return x.ModFriendFlag
}
return nil
}
func (x *ForwardBody) GetAppointmentNotify() *AppointmentNotify {
if x != nil {
return x.AppointmentNotify
}
return nil
}
func (x *ForwardBody) GetDarenNotify() *DaRenNotify {
if x != nil {
return x.DarenNotify
}
return nil
}
func (x *ForwardBody) GetNewComeinUserNotify() *NewComeinUserNotify {
if x != nil {
return x.NewComeinUserNotify
}
return nil
}
func (x *ForwardBody) GetPushSearchDev() *PushSearchDev {
if x != nil {
return x.PushSearchDev
}
return nil
}
func (x *ForwardBody) GetPushReportDev() *PushReportDev {
if x != nil {
return x.PushReportDev
}
return nil
}
func (x *ForwardBody) GetQqPayPush() *QQPayPush {
if x != nil {
return x.QqPayPush
}
return nil
}
func (x *ForwardBody) GetRedpointInfo() []byte {
if x != nil {
return x.RedpointInfo
}
return nil
}
func (x *ForwardBody) GetHotFriendNotify() *HotFriendNotify {
if x != nil {
return x.HotFriendNotify
}
return nil
}
func (x *ForwardBody) GetPraiseRankNotify() *PraiseRankNotify {
if x != nil {
return x.PraiseRankNotify
}
return nil
}
func (x *ForwardBody) GetCampusNotify() *MQQCampusNotify {
if x != nil {
return x.CampusNotify
}
return nil
}
func (x *ForwardBody) GetModRichLongNickEx() *ModLongNick {
if x != nil {
return x.ModRichLongNickEx
}
return nil
}
func (x *ForwardBody) GetChatMatchInfo() *ChatMatchInfo {
if x != nil {
return x.ChatMatchInfo
}
return nil
}
func (x *ForwardBody) GetFrdCustomOnlineStatusChange() *FrdCustomOnlineStatusChange {
if x != nil {
return x.FrdCustomOnlineStatusChange
}
return nil
}
func (x *ForwardBody) GetFanpanziNotify() *FanpaiziNotify {
if x != nil {
return x.FanpanziNotify
}
return nil
}
type FrdCustomOnlineStatusChange struct { type FrdCustomOnlineStatusChange struct {
Uin *uint64 `protobuf:"varint,1,opt"` Uin *uint64 `protobuf:"varint,1,opt"`
} }
@ -665,20 +343,6 @@ func (x *FriendGroup) GetFuin() uint64 {
return 0 return 0
} }
func (x *FriendGroup) GetOldGroupId() []uint32 {
if x != nil {
return x.OldGroupId
}
return nil
}
func (x *FriendGroup) GetNewGroupId() []uint32 {
if x != nil {
return x.NewGroupId
}
return nil
}
type FriendRemark struct { type FriendRemark struct {
Type *uint32 `protobuf:"varint,1,opt"` Type *uint32 `protobuf:"varint,1,opt"`
Fuin *uint64 `protobuf:"varint,2,opt"` Fuin *uint64 `protobuf:"varint,2,opt"`
@ -700,13 +364,6 @@ func (x *FriendRemark) GetFuin() uint64 {
return 0 return 0
} }
func (x *FriendRemark) GetRmkName() []byte {
if x != nil {
return x.RmkName
}
return nil
}
func (x *FriendRemark) GetGroupCode() uint64 { func (x *FriendRemark) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil { if x != nil && x.GroupCode != nil {
return *x.GroupCode return *x.GroupCode
@ -761,13 +418,6 @@ func (x *GroupMemberProfileInfo) GetField() uint32 {
return 0 return 0
} }
func (x *GroupMemberProfileInfo) GetValue() []byte {
if x != nil {
return x.Value
}
return nil
}
type GroupProfileInfo struct { type GroupProfileInfo struct {
Field *uint32 `protobuf:"varint,1,opt"` Field *uint32 `protobuf:"varint,1,opt"`
Value []byte `protobuf:"bytes,2,opt"` Value []byte `protobuf:"bytes,2,opt"`
@ -780,13 +430,6 @@ func (x *GroupProfileInfo) GetField() uint32 {
return 0 return 0
} }
func (x *GroupProfileInfo) GetValue() []byte {
if x != nil {
return x.Value
}
return nil
}
type GroupSort struct { type GroupSort struct {
Groupid *uint32 `protobuf:"varint,1,opt"` Groupid *uint32 `protobuf:"varint,1,opt"`
Sortid *uint32 `protobuf:"varint,2,opt"` Sortid *uint32 `protobuf:"varint,2,opt"`
@ -1035,13 +678,6 @@ func (x *ModConfProfile) GetConfUin() uint32 {
return 0 return 0
} }
func (x *ModConfProfile) GetProfileInfos() []*ProfileInfo {
if x != nil {
return x.ProfileInfos
}
return nil
}
type ModCustomFace struct { type ModCustomFace struct {
Type *uint32 `protobuf:"varint,1,opt"` Type *uint32 `protobuf:"varint,1,opt"`
Uin *uint64 `protobuf:"varint,2,opt"` Uin *uint64 `protobuf:"varint,2,opt"`
@ -1081,35 +717,14 @@ type ModFrdRoamPriv struct {
RoamPriv []*OneRoamPriv `protobuf:"bytes,1,rep"` RoamPriv []*OneRoamPriv `protobuf:"bytes,1,rep"`
} }
func (x *ModFrdRoamPriv) GetRoamPriv() []*OneRoamPriv {
if x != nil {
return x.RoamPriv
}
return nil
}
type ModFriendGroup struct { type ModFriendGroup struct {
FrdGroup []*FriendGroup `protobuf:"bytes,1,rep"` FrdGroup []*FriendGroup `protobuf:"bytes,1,rep"`
} }
func (x *ModFriendGroup) GetFrdGroup() []*FriendGroup {
if x != nil {
return x.FrdGroup
}
return nil
}
type ModFriendRemark struct { type ModFriendRemark struct {
FrdRmk []*FriendRemark `protobuf:"bytes,1,rep"` FrdRmk []*FriendRemark `protobuf:"bytes,1,rep"`
} }
func (x *ModFriendRemark) GetFrdRmk() []*FriendRemark {
if x != nil {
return x.FrdRmk
}
return nil
}
type ModGroupMemberProfile struct { type ModGroupMemberProfile struct {
GroupUin *uint64 `protobuf:"varint,1,opt"` GroupUin *uint64 `protobuf:"varint,1,opt"`
Uin *uint64 `protobuf:"varint,2,opt"` Uin *uint64 `protobuf:"varint,2,opt"`
@ -1131,13 +746,6 @@ func (x *ModGroupMemberProfile) GetUin() uint64 {
return 0 return 0
} }
func (x *ModGroupMemberProfile) GetGroupMemberProfileInfos() []*GroupMemberProfileInfo {
if x != nil {
return x.GroupMemberProfileInfos
}
return nil
}
func (x *ModGroupMemberProfile) GetGroupCode() uint64 { func (x *ModGroupMemberProfile) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil { if x != nil && x.GroupCode != nil {
return *x.GroupCode return *x.GroupCode
@ -1157,13 +765,6 @@ func (x *ModGroupName) GetGroupid() uint32 {
return 0 return 0
} }
func (x *ModGroupName) GetGroupname() []byte {
if x != nil {
return x.Groupname
}
return nil
}
type ModGroupProfile struct { type ModGroupProfile struct {
GroupUin *uint64 `protobuf:"varint,1,opt"` GroupUin *uint64 `protobuf:"varint,1,opt"`
GroupProfileInfos []*GroupProfileInfo `protobuf:"bytes,2,rep"` GroupProfileInfos []*GroupProfileInfo `protobuf:"bytes,2,rep"`
@ -1178,13 +779,6 @@ func (x *ModGroupProfile) GetGroupUin() uint64 {
return 0 return 0
} }
func (x *ModGroupProfile) GetGroupProfileInfos() []*GroupProfileInfo {
if x != nil {
return x.GroupProfileInfos
}
return nil
}
func (x *ModGroupProfile) GetGroupCode() uint64 { func (x *ModGroupProfile) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil { if x != nil && x.GroupCode != nil {
return *x.GroupCode return *x.GroupCode
@ -1203,13 +797,6 @@ type ModGroupSort struct {
Groupsort []*GroupSort `protobuf:"bytes,1,rep"` Groupsort []*GroupSort `protobuf:"bytes,1,rep"`
} }
func (x *ModGroupSort) GetGroupsort() []*GroupSort {
if x != nil {
return x.Groupsort
}
return nil
}
type ModLongNick struct { type ModLongNick struct {
Uin *uint64 `protobuf:"varint,1,opt"` Uin *uint64 `protobuf:"varint,1,opt"`
Value []byte `protobuf:"bytes,2,opt"` Value []byte `protobuf:"bytes,2,opt"`
@ -1222,13 +809,6 @@ func (x *ModLongNick) GetUin() uint64 {
return 0 return 0
} }
func (x *ModLongNick) GetValue() []byte {
if x != nil {
return x.Value
}
return nil
}
type ModProfile struct { type ModProfile struct {
Uin *uint64 `protobuf:"varint,1,opt"` Uin *uint64 `protobuf:"varint,1,opt"`
ProfileInfos []*ProfileInfo `protobuf:"bytes,2,rep"` ProfileInfos []*ProfileInfo `protobuf:"bytes,2,rep"`
@ -1241,35 +821,14 @@ func (x *ModProfile) GetUin() uint64 {
return 0 return 0
} }
func (x *ModProfile) GetProfileInfos() []*ProfileInfo {
if x != nil {
return x.ProfileInfos
}
return nil
}
type ModSnsGeneralInfo struct { type ModSnsGeneralInfo struct {
SnsGeneralInfos []*SnsUpateBuffer `protobuf:"bytes,1,rep"` SnsGeneralInfos []*SnsUpateBuffer `protobuf:"bytes,1,rep"`
} }
func (x *ModSnsGeneralInfo) GetSnsGeneralInfos() []*SnsUpateBuffer {
if x != nil {
return x.SnsGeneralInfos
}
return nil
}
type SubMsg0X27Body struct { type SubMsg0X27Body struct {
ModInfos []*ForwardBody `protobuf:"bytes,1,rep"` ModInfos []*ForwardBody `protobuf:"bytes,1,rep"`
} }
func (x *SubMsg0X27Body) GetModInfos() []*ForwardBody {
if x != nil {
return x.ModInfos
}
return nil
}
type NewComeinUser struct { type NewComeinUser struct {
Uin *uint64 `protobuf:"varint,1,opt"` Uin *uint64 `protobuf:"varint,1,opt"`
IsFrd *uint32 `protobuf:"varint,2,opt"` IsFrd *uint32 `protobuf:"varint,2,opt"`
@ -1291,20 +850,6 @@ func (x *NewComeinUser) GetIsFrd() uint32 {
return 0 return 0
} }
func (x *NewComeinUser) GetRemark() []byte {
if x != nil {
return x.Remark
}
return nil
}
func (x *NewComeinUser) GetNick() []byte {
if x != nil {
return x.Nick
}
return nil
}
type NewComeinUserNotify struct { type NewComeinUserNotify struct {
MsgType *uint32 `protobuf:"varint,1,opt"` MsgType *uint32 `protobuf:"varint,1,opt"`
OngNotify *bool `protobuf:"varint,2,opt"` OngNotify *bool `protobuf:"varint,2,opt"`
@ -1335,27 +880,6 @@ func (x *NewComeinUserNotify) GetPushTime() uint32 {
return 0 return 0
} }
func (x *NewComeinUserNotify) GetNewComeinUser() *NewComeinUser {
if x != nil {
return x.NewComeinUser
}
return nil
}
func (x *NewComeinUserNotify) GetNewGroup() *NewGroup {
if x != nil {
return x.NewGroup
}
return nil
}
func (x *NewComeinUserNotify) GetNewGroupUser() *NewGroupUser {
if x != nil {
return x.NewGroupUser
}
return nil
}
type NewGroup struct { type NewGroup struct {
GroupCode *uint64 `protobuf:"varint,1,opt"` GroupCode *uint64 `protobuf:"varint,1,opt"`
GroupName []byte `protobuf:"bytes,2,opt"` GroupName []byte `protobuf:"bytes,2,opt"`
@ -1371,13 +895,6 @@ func (x *NewGroup) GetGroupCode() uint64 {
return 0 return 0
} }
func (x *NewGroup) GetGroupName() []byte {
if x != nil {
return x.GroupName
}
return nil
}
func (x *NewGroup) GetOwnerUin() uint64 { func (x *NewGroup) GetOwnerUin() uint64 {
if x != nil && x.OwnerUin != nil { if x != nil && x.OwnerUin != nil {
return *x.OwnerUin return *x.OwnerUin
@ -1385,20 +902,6 @@ func (x *NewGroup) GetOwnerUin() uint64 {
return 0 return 0
} }
func (x *NewGroup) GetOwnerNick() []byte {
if x != nil {
return x.OwnerNick
}
return nil
}
func (x *NewGroup) GetDistance() []byte {
if x != nil {
return x.Distance
}
return nil
}
type NewGroupUser struct { type NewGroupUser struct {
Uin *uint64 `protobuf:"varint,1,opt"` Uin *uint64 `protobuf:"varint,1,opt"`
Sex *int32 `protobuf:"varint,2,opt"` Sex *int32 `protobuf:"varint,2,opt"`
@ -1435,13 +938,6 @@ func (x *NewGroupUser) GetNick() string {
return "" return ""
} }
func (x *NewGroupUser) GetDistance() []byte {
if x != nil {
return x.Distance
}
return nil
}
type OneRoamPriv struct { type OneRoamPriv struct {
Fuin *uint64 `protobuf:"varint,1,opt"` Fuin *uint64 `protobuf:"varint,1,opt"`
PrivTag *uint32 `protobuf:"varint,2,opt"` PrivTag *uint32 `protobuf:"varint,2,opt"`
@ -1508,13 +1004,6 @@ func (x *ProfileInfo) GetField() uint32 {
return 0 return 0
} }
func (x *ProfileInfo) GetValue() []byte {
if x != nil {
return x.Value
}
return nil
}
type PushReportDev struct { type PushReportDev struct {
MsgType *uint32 `protobuf:"varint,1,opt"` MsgType *uint32 `protobuf:"varint,1,opt"`
Cookie []byte `protobuf:"bytes,4,opt"` Cookie []byte `protobuf:"bytes,4,opt"`
@ -1529,13 +1018,6 @@ func (x *PushReportDev) GetMsgType() uint32 {
return 0 return 0
} }
func (x *PushReportDev) GetCookie() []byte {
if x != nil {
return x.Cookie
}
return nil
}
func (x *PushReportDev) GetReportMaxNum() uint32 { func (x *PushReportDev) GetReportMaxNum() uint32 {
if x != nil && x.ReportMaxNum != nil { if x != nil && x.ReportMaxNum != nil {
return *x.ReportMaxNum return *x.ReportMaxNum
@ -1543,13 +1025,6 @@ func (x *PushReportDev) GetReportMaxNum() uint32 {
return 0 return 0
} }
func (x *PushReportDev) GetSn() []byte {
if x != nil {
return x.Sn
}
return nil
}
type PushSearchDev struct { type PushSearchDev struct {
MsgType *uint32 `protobuf:"varint,1,opt"` MsgType *uint32 `protobuf:"varint,1,opt"`
GpsInfo *GPS `protobuf:"bytes,2,opt"` GpsInfo *GPS `protobuf:"bytes,2,opt"`
@ -1566,13 +1041,6 @@ func (x *PushSearchDev) GetMsgType() uint32 {
return 0 return 0
} }
func (x *PushSearchDev) GetGpsInfo() *GPS {
if x != nil {
return x.GpsInfo
}
return nil
}
func (x *PushSearchDev) GetDevTime() uint32 { func (x *PushSearchDev) GetDevTime() uint32 {
if x != nil && x.DevTime != nil { if x != nil && x.DevTime != nil {
return *x.DevTime return *x.DevTime
@ -1649,31 +1117,10 @@ func (x *SnsUpateBuffer) GetResult() uint32 {
return 0 return 0
} }
func (x *SnsUpateBuffer) GetSnsUpdateItem() []*SnsUpdateItem {
if x != nil {
return x.SnsUpdateItem
}
return nil
}
func (x *SnsUpateBuffer) GetIdlist() []uint32 {
if x != nil {
return x.Idlist
}
return nil
}
type SnsUpdateFlag struct { type SnsUpdateFlag struct {
UpdateSnsFlag []*SnsUpdateOneFlag `protobuf:"bytes,1,rep"` UpdateSnsFlag []*SnsUpdateOneFlag `protobuf:"bytes,1,rep"`
} }
func (x *SnsUpdateFlag) GetUpdateSnsFlag() []*SnsUpdateOneFlag {
if x != nil {
return x.UpdateSnsFlag
}
return nil
}
type SnsUpdateItem struct { type SnsUpdateItem struct {
UpdateSnsType *uint32 `protobuf:"varint,1,opt"` UpdateSnsType *uint32 `protobuf:"varint,1,opt"`
Value []byte `protobuf:"bytes,2,opt"` Value []byte `protobuf:"bytes,2,opt"`
@ -1686,13 +1133,6 @@ func (x *SnsUpdateItem) GetUpdateSnsType() uint32 {
return 0 return 0
} }
func (x *SnsUpdateItem) GetValue() []byte {
if x != nil {
return x.Value
}
return nil
}
type SnsUpdateOneFlag struct { type SnsUpdateOneFlag struct {
XUin *uint64 `protobuf:"varint,1,opt"` XUin *uint64 `protobuf:"varint,1,opt"`
Id *uint64 `protobuf:"varint,2,opt"` Id *uint64 `protobuf:"varint,2,opt"`

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;msgtype0x210"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/msgtype0x210";
message AddGroup { message AddGroup {
optional uint32 groupid = 1; optional uint32 groupid = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: multimsg.proto // source: pb/multimsg/multimsg.proto
package multimsg package multimsg
@ -7,40 +7,12 @@ type ExternMsg struct {
ChannelType int32 `protobuf:"varint,1,opt"` ChannelType int32 `protobuf:"varint,1,opt"`
} }
func (x *ExternMsg) GetChannelType() int32 {
if x != nil {
return x.ChannelType
}
return 0
}
type MultiMsgApplyDownReq struct { type MultiMsgApplyDownReq struct {
MsgResid []byte `protobuf:"bytes,1,opt"` MsgResid []byte `protobuf:"bytes,1,opt"`
MsgType int32 `protobuf:"varint,2,opt"` MsgType int32 `protobuf:"varint,2,opt"`
SrcUin int64 `protobuf:"varint,3,opt"` SrcUin int64 `protobuf:"varint,3,opt"`
} }
func (x *MultiMsgApplyDownReq) GetMsgResid() []byte {
if x != nil {
return x.MsgResid
}
return nil
}
func (x *MultiMsgApplyDownReq) GetMsgType() int32 {
if x != nil {
return x.MsgType
}
return 0
}
func (x *MultiMsgApplyDownReq) GetSrcUin() int64 {
if x != nil {
return x.SrcUin
}
return 0
}
type MultiMsgApplyDownRsp struct { type MultiMsgApplyDownRsp struct {
Result int32 `protobuf:"varint,1,opt"` Result int32 `protobuf:"varint,1,opt"`
ThumbDownPara []byte `protobuf:"bytes,2,opt"` ThumbDownPara []byte `protobuf:"bytes,2,opt"`
@ -53,69 +25,6 @@ type MultiMsgApplyDownRsp struct {
Uint32DownV6Port []int32 `protobuf:"varint,9,rep"` Uint32DownV6Port []int32 `protobuf:"varint,9,rep"`
} }
func (x *MultiMsgApplyDownRsp) GetResult() int32 {
if x != nil {
return x.Result
}
return 0
}
func (x *MultiMsgApplyDownRsp) GetThumbDownPara() []byte {
if x != nil {
return x.ThumbDownPara
}
return nil
}
func (x *MultiMsgApplyDownRsp) GetMsgKey() []byte {
if x != nil {
return x.MsgKey
}
return nil
}
func (x *MultiMsgApplyDownRsp) GetUint32DownIp() []int32 {
if x != nil {
return x.Uint32DownIp
}
return nil
}
func (x *MultiMsgApplyDownRsp) GetUint32DownPort() []int32 {
if x != nil {
return x.Uint32DownPort
}
return nil
}
func (x *MultiMsgApplyDownRsp) GetMsgResid() []byte {
if x != nil {
return x.MsgResid
}
return nil
}
func (x *MultiMsgApplyDownRsp) GetMsgExternInfo() *ExternMsg {
if x != nil {
return x.MsgExternInfo
}
return nil
}
func (x *MultiMsgApplyDownRsp) GetBytesDownIpV6() [][]byte {
if x != nil {
return x.BytesDownIpV6
}
return nil
}
func (x *MultiMsgApplyDownRsp) GetUint32DownV6Port() []int32 {
if x != nil {
return x.Uint32DownV6Port
}
return nil
}
type MultiMsgApplyUpReq struct { type MultiMsgApplyUpReq struct {
DstUin int64 `protobuf:"varint,1,opt"` DstUin int64 `protobuf:"varint,1,opt"`
MsgSize int64 `protobuf:"varint,2,opt"` MsgSize int64 `protobuf:"varint,2,opt"`
@ -124,41 +33,6 @@ type MultiMsgApplyUpReq struct {
ApplyId int32 `protobuf:"varint,5,opt"` ApplyId int32 `protobuf:"varint,5,opt"`
} }
func (x *MultiMsgApplyUpReq) GetDstUin() int64 {
if x != nil {
return x.DstUin
}
return 0
}
func (x *MultiMsgApplyUpReq) GetMsgSize() int64 {
if x != nil {
return x.MsgSize
}
return 0
}
func (x *MultiMsgApplyUpReq) GetMsgMd5() []byte {
if x != nil {
return x.MsgMd5
}
return nil
}
func (x *MultiMsgApplyUpReq) GetMsgType() int32 {
if x != nil {
return x.MsgType
}
return 0
}
func (x *MultiMsgApplyUpReq) GetApplyId() int32 {
if x != nil {
return x.ApplyId
}
return 0
}
type MultiMsgApplyUpRsp struct { type MultiMsgApplyUpRsp struct {
Result int32 `protobuf:"varint,1,opt"` Result int32 `protobuf:"varint,1,opt"`
MsgResid string `protobuf:"bytes,2,opt"` MsgResid string `protobuf:"bytes,2,opt"`
@ -175,97 +49,6 @@ type MultiMsgApplyUpRsp struct {
Uint32UpV6Port []int32 `protobuf:"varint,13,rep"` Uint32UpV6Port []int32 `protobuf:"varint,13,rep"`
} }
func (x *MultiMsgApplyUpRsp) GetResult() int32 {
if x != nil {
return x.Result
}
return 0
}
func (x *MultiMsgApplyUpRsp) GetMsgResid() string {
if x != nil {
return x.MsgResid
}
return ""
}
func (x *MultiMsgApplyUpRsp) GetMsgUkey() []byte {
if x != nil {
return x.MsgUkey
}
return nil
}
func (x *MultiMsgApplyUpRsp) GetUint32UpIp() []int32 {
if x != nil {
return x.Uint32UpIp
}
return nil
}
func (x *MultiMsgApplyUpRsp) GetUint32UpPort() []int32 {
if x != nil {
return x.Uint32UpPort
}
return nil
}
func (x *MultiMsgApplyUpRsp) GetBlockSize() int64 {
if x != nil {
return x.BlockSize
}
return 0
}
func (x *MultiMsgApplyUpRsp) GetUpOffset() int64 {
if x != nil {
return x.UpOffset
}
return 0
}
func (x *MultiMsgApplyUpRsp) GetApplyId() int32 {
if x != nil {
return x.ApplyId
}
return 0
}
func (x *MultiMsgApplyUpRsp) GetMsgKey() []byte {
if x != nil {
return x.MsgKey
}
return nil
}
func (x *MultiMsgApplyUpRsp) GetMsgSig() []byte {
if x != nil {
return x.MsgSig
}
return nil
}
func (x *MultiMsgApplyUpRsp) GetMsgExternInfo() *ExternMsg {
if x != nil {
return x.MsgExternInfo
}
return nil
}
func (x *MultiMsgApplyUpRsp) GetBytesUpIpV6() [][]byte {
if x != nil {
return x.BytesUpIpV6
}
return nil
}
func (x *MultiMsgApplyUpRsp) GetUint32UpV6Port() []int32 {
if x != nil {
return x.Uint32UpV6Port
}
return nil
}
type MultiReqBody struct { type MultiReqBody struct {
Subcmd int32 `protobuf:"varint,1,opt"` Subcmd int32 `protobuf:"varint,1,opt"`
TermType int32 `protobuf:"varint,2,opt"` TermType int32 `protobuf:"varint,2,opt"`
@ -278,92 +61,8 @@ type MultiReqBody struct {
ReqChannelType int32 `protobuf:"varint,9,opt"` ReqChannelType int32 `protobuf:"varint,9,opt"`
} }
func (x *MultiReqBody) GetSubcmd() int32 {
if x != nil {
return x.Subcmd
}
return 0
}
func (x *MultiReqBody) GetTermType() int32 {
if x != nil {
return x.TermType
}
return 0
}
func (x *MultiReqBody) GetPlatformType() int32 {
if x != nil {
return x.PlatformType
}
return 0
}
func (x *MultiReqBody) GetNetType() int32 {
if x != nil {
return x.NetType
}
return 0
}
func (x *MultiReqBody) GetBuildVer() string {
if x != nil {
return x.BuildVer
}
return ""
}
func (x *MultiReqBody) GetMultimsgApplyupReq() []*MultiMsgApplyUpReq {
if x != nil {
return x.MultimsgApplyupReq
}
return nil
}
func (x *MultiReqBody) GetMultimsgApplydownReq() []*MultiMsgApplyDownReq {
if x != nil {
return x.MultimsgApplydownReq
}
return nil
}
func (x *MultiReqBody) GetBuType() int32 {
if x != nil {
return x.BuType
}
return 0
}
func (x *MultiReqBody) GetReqChannelType() int32 {
if x != nil {
return x.ReqChannelType
}
return 0
}
type MultiRspBody struct { type MultiRspBody struct {
Subcmd int32 `protobuf:"varint,1,opt"` Subcmd int32 `protobuf:"varint,1,opt"`
MultimsgApplyupRsp []*MultiMsgApplyUpRsp `protobuf:"bytes,2,rep"` MultimsgApplyupRsp []*MultiMsgApplyUpRsp `protobuf:"bytes,2,rep"`
MultimsgApplydownRsp []*MultiMsgApplyDownRsp `protobuf:"bytes,3,rep"` MultimsgApplydownRsp []*MultiMsgApplyDownRsp `protobuf:"bytes,3,rep"`
} }
func (x *MultiRspBody) GetSubcmd() int32 {
if x != nil {
return x.Subcmd
}
return 0
}
func (x *MultiRspBody) GetMultimsgApplyupRsp() []*MultiMsgApplyUpRsp {
if x != nil {
return x.MultimsgApplyupRsp
}
return nil
}
func (x *MultiRspBody) GetMultimsgApplydownRsp() []*MultiMsgApplyDownRsp {
if x != nil {
return x.MultimsgApplydownRsp
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "./;multimsg"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/multimsg";
message ExternMsg { message ExternMsg {
int32 channelType = 1; int32 channelType = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: group0x857.proto // source: pb/notify/group0x857.proto
package notify package notify
@ -12,48 +12,6 @@ type NotifyMsgBody struct {
ServiceType int32 `protobuf:"varint,13,opt"` ServiceType int32 `protobuf:"varint,13,opt"`
} }
func (x *NotifyMsgBody) GetOptMsgGrayTips() *AIOGrayTipsInfo {
if x != nil {
return x.OptMsgGrayTips
}
return nil
}
func (x *NotifyMsgBody) GetOptMsgRedTips() *RedGrayTipsInfo {
if x != nil {
return x.OptMsgRedTips
}
return nil
}
func (x *NotifyMsgBody) GetOptMsgRecall() *MessageRecallReminder {
if x != nil {
return x.OptMsgRecall
}
return nil
}
func (x *NotifyMsgBody) GetOptGeneralGrayTip() *GeneralGrayTipInfo {
if x != nil {
return x.OptGeneralGrayTip
}
return nil
}
func (x *NotifyMsgBody) GetQqGroupDigestMsg() *QQGroupDigestMsg {
if x != nil {
return x.QqGroupDigestMsg
}
return nil
}
func (x *NotifyMsgBody) GetServiceType() int32 {
if x != nil {
return x.ServiceType
}
return 0
}
type AIOGrayTipsInfo struct { type AIOGrayTipsInfo struct {
ShowLatest uint32 `protobuf:"varint,1,opt"` ShowLatest uint32 `protobuf:"varint,1,opt"`
Content []byte `protobuf:"bytes,2,opt"` Content []byte `protobuf:"bytes,2,opt"`
@ -63,48 +21,6 @@ type AIOGrayTipsInfo struct {
ReliaoAdminOpt uint32 `protobuf:"varint,6,opt"` ReliaoAdminOpt uint32 `protobuf:"varint,6,opt"`
} }
func (x *AIOGrayTipsInfo) GetShowLatest() uint32 {
if x != nil {
return x.ShowLatest
}
return 0
}
func (x *AIOGrayTipsInfo) GetContent() []byte {
if x != nil {
return x.Content
}
return nil
}
func (x *AIOGrayTipsInfo) GetRemind() uint32 {
if x != nil {
return x.Remind
}
return 0
}
func (x *AIOGrayTipsInfo) GetBrief() []byte {
if x != nil {
return x.Brief
}
return nil
}
func (x *AIOGrayTipsInfo) GetReceiverUin() uint64 {
if x != nil {
return x.ReceiverUin
}
return 0
}
func (x *AIOGrayTipsInfo) GetReliaoAdminOpt() uint32 {
if x != nil {
return x.ReliaoAdminOpt
}
return 0
}
type GeneralGrayTipInfo struct { type GeneralGrayTipInfo struct {
BusiType uint64 `protobuf:"varint,1,opt"` BusiType uint64 `protobuf:"varint,1,opt"`
BusiId uint64 `protobuf:"varint,2,opt"` BusiId uint64 `protobuf:"varint,2,opt"`
@ -116,81 +32,11 @@ type GeneralGrayTipInfo struct {
Content string `protobuf:"bytes,8,opt"` Content string `protobuf:"bytes,8,opt"`
} }
func (x *GeneralGrayTipInfo) GetBusiType() uint64 {
if x != nil {
return x.BusiType
}
return 0
}
func (x *GeneralGrayTipInfo) GetBusiId() uint64 {
if x != nil {
return x.BusiId
}
return 0
}
func (x *GeneralGrayTipInfo) GetCtrlFlag() uint32 {
if x != nil {
return x.CtrlFlag
}
return 0
}
func (x *GeneralGrayTipInfo) GetC2CType() uint32 {
if x != nil {
return x.C2CType
}
return 0
}
func (x *GeneralGrayTipInfo) GetServiceType() uint32 {
if x != nil {
return x.ServiceType
}
return 0
}
func (x *GeneralGrayTipInfo) GetTemplId() uint64 {
if x != nil {
return x.TemplId
}
return 0
}
func (x *GeneralGrayTipInfo) GetMsgTemplParam() []*TemplParam {
if x != nil {
return x.MsgTemplParam
}
return nil
}
func (x *GeneralGrayTipInfo) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
type TemplParam struct { type TemplParam struct {
Name string `protobuf:"bytes,1,opt"` Name string `protobuf:"bytes,1,opt"`
Value string `protobuf:"bytes,2,opt"` Value string `protobuf:"bytes,2,opt"`
} }
func (x *TemplParam) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *TemplParam) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
type MessageRecallReminder struct { type MessageRecallReminder struct {
Uin int64 `protobuf:"varint,1,opt"` Uin int64 `protobuf:"varint,1,opt"`
Nickname []byte `protobuf:"bytes,2,opt"` Nickname []byte `protobuf:"bytes,2,opt"`
@ -201,55 +47,6 @@ type MessageRecallReminder struct {
OpType int32 `protobuf:"varint,7,opt"` OpType int32 `protobuf:"varint,7,opt"`
} }
func (x *MessageRecallReminder) GetUin() int64 {
if x != nil {
return x.Uin
}
return 0
}
func (x *MessageRecallReminder) GetNickname() []byte {
if x != nil {
return x.Nickname
}
return nil
}
func (x *MessageRecallReminder) GetRecalledMsgList() []*RecalledMessageMeta {
if x != nil {
return x.RecalledMsgList
}
return nil
}
func (x *MessageRecallReminder) GetReminderContent() []byte {
if x != nil {
return x.ReminderContent
}
return nil
}
func (x *MessageRecallReminder) GetUserdef() []byte {
if x != nil {
return x.Userdef
}
return nil
}
func (x *MessageRecallReminder) GetGroupType() int32 {
if x != nil {
return x.GroupType
}
return 0
}
func (x *MessageRecallReminder) GetOpType() int32 {
if x != nil {
return x.OpType
}
return 0
}
type RecalledMessageMeta struct { type RecalledMessageMeta struct {
Seq int32 `protobuf:"varint,1,opt"` Seq int32 `protobuf:"varint,1,opt"`
Time int32 `protobuf:"varint,2,opt"` Time int32 `protobuf:"varint,2,opt"`
@ -259,48 +56,6 @@ type RecalledMessageMeta struct {
AuthorUin int64 `protobuf:"varint,6,opt"` AuthorUin int64 `protobuf:"varint,6,opt"`
} }
func (x *RecalledMessageMeta) GetSeq() int32 {
if x != nil {
return x.Seq
}
return 0
}
func (x *RecalledMessageMeta) GetTime() int32 {
if x != nil {
return x.Time
}
return 0
}
func (x *RecalledMessageMeta) GetMsgRandom() int32 {
if x != nil {
return x.MsgRandom
}
return 0
}
func (x *RecalledMessageMeta) GetMsgType() int32 {
if x != nil {
return x.MsgType
}
return 0
}
func (x *RecalledMessageMeta) GetMsgFlag() int32 {
if x != nil {
return x.MsgFlag
}
return 0
}
func (x *RecalledMessageMeta) GetAuthorUin() int64 {
if x != nil {
return x.AuthorUin
}
return 0
}
type RedGrayTipsInfo struct { type RedGrayTipsInfo struct {
ShowLatest uint32 `protobuf:"varint,1,opt"` ShowLatest uint32 `protobuf:"varint,1,opt"`
SenderUin uint64 `protobuf:"varint,2,opt"` SenderUin uint64 `protobuf:"varint,2,opt"`
@ -314,76 +69,6 @@ type RedGrayTipsInfo struct {
LuckyUin uint64 `protobuf:"varint,12,opt"` LuckyUin uint64 `protobuf:"varint,12,opt"`
} }
func (x *RedGrayTipsInfo) GetShowLatest() uint32 {
if x != nil {
return x.ShowLatest
}
return 0
}
func (x *RedGrayTipsInfo) GetSenderUin() uint64 {
if x != nil {
return x.SenderUin
}
return 0
}
func (x *RedGrayTipsInfo) GetReceiverUin() uint64 {
if x != nil {
return x.ReceiverUin
}
return 0
}
func (x *RedGrayTipsInfo) GetSenderRichContent() string {
if x != nil {
return x.SenderRichContent
}
return ""
}
func (x *RedGrayTipsInfo) GetReceiverRichContent() string {
if x != nil {
return x.ReceiverRichContent
}
return ""
}
func (x *RedGrayTipsInfo) GetAuthKey() []byte {
if x != nil {
return x.AuthKey
}
return nil
}
func (x *RedGrayTipsInfo) GetMsgType() int32 {
if x != nil {
return x.MsgType
}
return 0
}
func (x *RedGrayTipsInfo) GetLuckyFlag() uint32 {
if x != nil {
return x.LuckyFlag
}
return 0
}
func (x *RedGrayTipsInfo) GetHideFlag() uint32 {
if x != nil {
return x.HideFlag
}
return 0
}
func (x *RedGrayTipsInfo) GetLuckyUin() uint64 {
if x != nil {
return x.LuckyUin
}
return 0
}
type QQGroupDigestMsg struct { type QQGroupDigestMsg struct {
GroupCode uint64 `protobuf:"varint,1,opt"` GroupCode uint64 `protobuf:"varint,1,opt"`
Seq uint32 `protobuf:"varint,2,opt"` Seq uint32 `protobuf:"varint,2,opt"`
@ -397,80 +82,3 @@ type QQGroupDigestMsg struct {
SenderNick []byte `protobuf:"bytes,10,opt"` SenderNick []byte `protobuf:"bytes,10,opt"`
ExtInfo int32 `protobuf:"varint,11,opt"` ExtInfo int32 `protobuf:"varint,11,opt"`
} }
func (x *QQGroupDigestMsg) GetGroupCode() uint64 {
if x != nil {
return x.GroupCode
}
return 0
}
func (x *QQGroupDigestMsg) GetSeq() uint32 {
if x != nil {
return x.Seq
}
return 0
}
func (x *QQGroupDigestMsg) GetRandom() uint32 {
if x != nil {
return x.Random
}
return 0
}
func (x *QQGroupDigestMsg) GetOpType() int32 {
if x != nil {
return x.OpType
}
return 0
}
func (x *QQGroupDigestMsg) GetSender() uint64 {
if x != nil {
return x.Sender
}
return 0
}
func (x *QQGroupDigestMsg) GetDigestOper() uint64 {
if x != nil {
return x.DigestOper
}
return 0
}
func (x *QQGroupDigestMsg) GetOpTime() uint32 {
if x != nil {
return x.OpTime
}
return 0
}
func (x *QQGroupDigestMsg) GetLastestMsgSeq() uint32 {
if x != nil {
return x.LastestMsgSeq
}
return 0
}
func (x *QQGroupDigestMsg) GetOperNick() []byte {
if x != nil {
return x.OperNick
}
return nil
}
func (x *QQGroupDigestMsg) GetSenderNick() []byte {
if x != nil {
return x.SenderNick
}
return nil
}
func (x *QQGroupDigestMsg) GetExtInfo() int32 {
if x != nil {
return x.ExtInfo
}
return 0
}

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "./;notify"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/notify";
message NotifyMsgBody { message NotifyMsgBody {
AIOGrayTipsInfo optMsgGrayTips = 5; AIOGrayTipsInfo optMsgGrayTips = 5;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb.proto // source: pb/oidb/oidb.proto
package oidb package oidb
@ -12,86 +12,16 @@ type OIDBSSOPkg struct {
ClientVersion string `protobuf:"bytes,6,opt"` ClientVersion string `protobuf:"bytes,6,opt"`
} }
func (x *OIDBSSOPkg) GetCommand() int32 {
if x != nil {
return x.Command
}
return 0
}
func (x *OIDBSSOPkg) GetServiceType() int32 {
if x != nil {
return x.ServiceType
}
return 0
}
func (x *OIDBSSOPkg) GetResult() int32 {
if x != nil {
return x.Result
}
return 0
}
func (x *OIDBSSOPkg) GetBodybuffer() []byte {
if x != nil {
return x.Bodybuffer
}
return nil
}
func (x *OIDBSSOPkg) GetErrorMsg() string {
if x != nil {
return x.ErrorMsg
}
return ""
}
func (x *OIDBSSOPkg) GetClientVersion() string {
if x != nil {
return x.ClientVersion
}
return ""
}
type D8A0RspBody struct { type D8A0RspBody struct {
OptUint64GroupCode int64 `protobuf:"varint,1,opt"` OptUint64GroupCode int64 `protobuf:"varint,1,opt"`
MsgKickResult []*D8A0KickResult `protobuf:"bytes,2,rep"` MsgKickResult []*D8A0KickResult `protobuf:"bytes,2,rep"`
} }
func (x *D8A0RspBody) GetOptUint64GroupCode() int64 {
if x != nil {
return x.OptUint64GroupCode
}
return 0
}
func (x *D8A0RspBody) GetMsgKickResult() []*D8A0KickResult {
if x != nil {
return x.MsgKickResult
}
return nil
}
type D8A0KickResult struct { type D8A0KickResult struct {
OptUint32Result int32 `protobuf:"varint,1,opt"` OptUint32Result int32 `protobuf:"varint,1,opt"`
OptUint64MemberUin int64 `protobuf:"varint,2,opt"` OptUint64MemberUin int64 `protobuf:"varint,2,opt"`
} }
func (x *D8A0KickResult) GetOptUint32Result() int32 {
if x != nil {
return x.OptUint32Result
}
return 0
}
func (x *D8A0KickResult) GetOptUint64MemberUin() int64 {
if x != nil {
return x.OptUint64MemberUin
}
return 0
}
type D8A0KickMemberInfo struct { type D8A0KickMemberInfo struct {
OptUint32Operate int32 `protobuf:"varint,1,opt"` OptUint32Operate int32 `protobuf:"varint,1,opt"`
OptUint64MemberUin int64 `protobuf:"varint,2,opt"` OptUint64MemberUin int64 `protobuf:"varint,2,opt"`
@ -99,34 +29,6 @@ type D8A0KickMemberInfo struct {
OptBytesMsg []byte `protobuf:"bytes,4,opt"` OptBytesMsg []byte `protobuf:"bytes,4,opt"`
} }
func (x *D8A0KickMemberInfo) GetOptUint32Operate() int32 {
if x != nil {
return x.OptUint32Operate
}
return 0
}
func (x *D8A0KickMemberInfo) GetOptUint64MemberUin() int64 {
if x != nil {
return x.OptUint64MemberUin
}
return 0
}
func (x *D8A0KickMemberInfo) GetOptUint32Flag() int32 {
if x != nil {
return x.OptUint32Flag
}
return 0
}
func (x *D8A0KickMemberInfo) GetOptBytesMsg() []byte {
if x != nil {
return x.OptBytesMsg
}
return nil
}
type D8A0ReqBody struct { type D8A0ReqBody struct {
OptUint64GroupCode int64 `protobuf:"varint,1,opt"` OptUint64GroupCode int64 `protobuf:"varint,1,opt"`
MsgKickList []*D8A0KickMemberInfo `protobuf:"bytes,2,rep"` MsgKickList []*D8A0KickMemberInfo `protobuf:"bytes,2,rep"`
@ -135,41 +37,6 @@ type D8A0ReqBody struct {
KickMsg []byte `protobuf:"bytes,5,opt"` KickMsg []byte `protobuf:"bytes,5,opt"`
} }
func (x *D8A0ReqBody) GetOptUint64GroupCode() int64 {
if x != nil {
return x.OptUint64GroupCode
}
return 0
}
func (x *D8A0ReqBody) GetMsgKickList() []*D8A0KickMemberInfo {
if x != nil {
return x.MsgKickList
}
return nil
}
func (x *D8A0ReqBody) GetKickList() []int64 {
if x != nil {
return x.KickList
}
return nil
}
func (x *D8A0ReqBody) GetKickFlag() int32 {
if x != nil {
return x.KickFlag
}
return 0
}
func (x *D8A0ReqBody) GetKickMsg() []byte {
if x != nil {
return x.KickMsg
}
return nil
}
type D89AReqBody struct { type D89AReqBody struct {
GroupCode int64 `protobuf:"varint,1,opt"` GroupCode int64 `protobuf:"varint,1,opt"`
StGroupInfo *D89AGroupinfo `protobuf:"bytes,2,opt"` StGroupInfo *D89AGroupinfo `protobuf:"bytes,2,opt"`
@ -177,34 +44,6 @@ type D89AReqBody struct {
ReqGroupOpenAppid int32 `protobuf:"varint,4,opt"` ReqGroupOpenAppid int32 `protobuf:"varint,4,opt"`
} }
func (x *D89AReqBody) GetGroupCode() int64 {
if x != nil {
return x.GroupCode
}
return 0
}
func (x *D89AReqBody) GetStGroupInfo() *D89AGroupinfo {
if x != nil {
return x.StGroupInfo
}
return nil
}
func (x *D89AReqBody) GetOriginalOperatorUin() int64 {
if x != nil {
return x.OriginalOperatorUin
}
return 0
}
func (x *D89AReqBody) GetReqGroupOpenAppid() int32 {
if x != nil {
return x.ReqGroupOpenAppid
}
return 0
}
type D89AGroupinfo struct { type D89AGroupinfo struct {
GroupExtAdmNum int32 `protobuf:"varint,1,opt"` GroupExtAdmNum int32 `protobuf:"varint,1,opt"`
Flag int32 `protobuf:"varint,2,opt"` Flag int32 `protobuf:"varint,2,opt"`
@ -246,118 +85,6 @@ type D89AGroupinfo struct {
MsgLimitFrequency int32 `protobuf:"varint,38,opt"` MsgLimitFrequency int32 `protobuf:"varint,38,opt"`
} }
func (x *D89AGroupinfo) GetGroupExtAdmNum() int32 {
if x != nil {
return x.GroupExtAdmNum
}
return 0
}
func (x *D89AGroupinfo) GetFlag() int32 {
if x != nil {
return x.Flag
}
return 0
}
func (x *D89AGroupinfo) GetIngGroupName() []byte {
if x != nil {
return x.IngGroupName
}
return nil
}
func (x *D89AGroupinfo) GetIngGroupMemo() []byte {
if x != nil {
return x.IngGroupMemo
}
return nil
}
func (x *D89AGroupinfo) GetIngGroupFingerMemo() []byte {
if x != nil {
return x.IngGroupFingerMemo
}
return nil
}
func (x *D89AGroupinfo) GetIngGroupAioSkinUrl() []byte {
if x != nil {
return x.IngGroupAioSkinUrl
}
return nil
}
func (x *D89AGroupinfo) GetIngGroupBoardSkinUrl() []byte {
if x != nil {
return x.IngGroupBoardSkinUrl
}
return nil
}
func (x *D89AGroupinfo) GetIngGroupCoverSkinUrl() []byte {
if x != nil {
return x.IngGroupCoverSkinUrl
}
return nil
}
func (x *D89AGroupinfo) GetGroupGrade() int32 {
if x != nil {
return x.GroupGrade
}
return 0
}
func (x *D89AGroupinfo) GetActiveMemberNum() int32 {
if x != nil {
return x.ActiveMemberNum
}
return 0
}
func (x *D89AGroupinfo) GetCertificationType() int32 {
if x != nil {
return x.CertificationType
}
return 0
}
func (x *D89AGroupinfo) GetIngCertificationText() []byte {
if x != nil {
return x.IngCertificationText
}
return nil
}
func (x *D89AGroupinfo) GetIngGroupRichFingerMemo() []byte {
if x != nil {
return x.IngGroupRichFingerMemo
}
return nil
}
func (x *D89AGroupinfo) GetStGroupNewguidelines() *D89AGroupNewGuidelinesInfo {
if x != nil {
return x.StGroupNewguidelines
}
return nil
}
func (x *D89AGroupinfo) GetGroupFace() int32 {
if x != nil {
return x.GroupFace
}
return 0
}
func (x *D89AGroupinfo) GetAddOption() int32 {
if x != nil {
return x.AddOption
}
return 0
}
func (x *D89AGroupinfo) GetShutupTime() int32 { func (x *D89AGroupinfo) GetShutupTime() int32 {
if x != nil && x.ShutupTime != nil { if x != nil && x.ShutupTime != nil {
return *x.ShutupTime return *x.ShutupTime
@ -365,191 +92,16 @@ func (x *D89AGroupinfo) GetShutupTime() int32 {
return 0 return 0
} }
func (x *D89AGroupinfo) GetGroupTypeFlag() int32 {
if x != nil {
return x.GroupTypeFlag
}
return 0
}
func (x *D89AGroupinfo) GetStringGroupTag() []byte {
if x != nil {
return x.StringGroupTag
}
return nil
}
func (x *D89AGroupinfo) GetMsgGroupGeoInfo() *D89AGroupGeoInfo {
if x != nil {
return x.MsgGroupGeoInfo
}
return nil
}
func (x *D89AGroupinfo) GetGroupClassExt() int32 {
if x != nil {
return x.GroupClassExt
}
return 0
}
func (x *D89AGroupinfo) GetIngGroupClassText() []byte {
if x != nil {
return x.IngGroupClassText
}
return nil
}
func (x *D89AGroupinfo) GetAppPrivilegeFlag() int32 {
if x != nil {
return x.AppPrivilegeFlag
}
return 0
}
func (x *D89AGroupinfo) GetAppPrivilegeMask() int32 {
if x != nil {
return x.AppPrivilegeMask
}
return 0
}
func (x *D89AGroupinfo) GetStGroupExInfo() *D89AGroupExInfoOnly {
if x != nil {
return x.StGroupExInfo
}
return nil
}
func (x *D89AGroupinfo) GetGroupSecLevel() int32 {
if x != nil {
return x.GroupSecLevel
}
return 0
}
func (x *D89AGroupinfo) GetGroupSecLevelInfo() int32 {
if x != nil {
return x.GroupSecLevelInfo
}
return 0
}
func (x *D89AGroupinfo) GetSubscriptionUin() int64 {
if x != nil {
return x.SubscriptionUin
}
return 0
}
func (x *D89AGroupinfo) GetAllowMemberInvite() int32 {
if x != nil {
return x.AllowMemberInvite
}
return 0
}
func (x *D89AGroupinfo) GetIngGroupQuestion() []byte {
if x != nil {
return x.IngGroupQuestion
}
return nil
}
func (x *D89AGroupinfo) GetIngGroupAnswer() []byte {
if x != nil {
return x.IngGroupAnswer
}
return nil
}
func (x *D89AGroupinfo) GetGroupFlagext3() int32 {
if x != nil {
return x.GroupFlagext3
}
return 0
}
func (x *D89AGroupinfo) GetGroupFlagext3Mask() int32 {
if x != nil {
return x.GroupFlagext3Mask
}
return 0
}
func (x *D89AGroupinfo) GetGroupOpenAppid() int32 {
if x != nil {
return x.GroupOpenAppid
}
return 0
}
func (x *D89AGroupinfo) GetNoFingerOpenFlag() int32 {
if x != nil {
return x.NoFingerOpenFlag
}
return 0
}
func (x *D89AGroupinfo) GetNoCodeFingerOpenFlag() int32 {
if x != nil {
return x.NoCodeFingerOpenFlag
}
return 0
}
func (x *D89AGroupinfo) GetRootId() int64 {
if x != nil {
return x.RootId
}
return 0
}
func (x *D89AGroupinfo) GetMsgLimitFrequency() int32 {
if x != nil {
return x.MsgLimitFrequency
}
return 0
}
type D89AGroupNewGuidelinesInfo struct { type D89AGroupNewGuidelinesInfo struct {
BoolEnabled bool `protobuf:"varint,1,opt"` BoolEnabled bool `protobuf:"varint,1,opt"`
IngContent []byte `protobuf:"bytes,2,opt"` IngContent []byte `protobuf:"bytes,2,opt"`
} }
func (x *D89AGroupNewGuidelinesInfo) GetBoolEnabled() bool {
if x != nil {
return x.BoolEnabled
}
return false
}
func (x *D89AGroupNewGuidelinesInfo) GetIngContent() []byte {
if x != nil {
return x.IngContent
}
return nil
}
type D89AGroupExInfoOnly struct { type D89AGroupExInfoOnly struct {
TribeId int32 `protobuf:"varint,1,opt"` TribeId int32 `protobuf:"varint,1,opt"`
MoneyForAddGroup int32 `protobuf:"varint,2,opt"` MoneyForAddGroup int32 `protobuf:"varint,2,opt"`
} }
func (x *D89AGroupExInfoOnly) GetTribeId() int32 {
if x != nil {
return x.TribeId
}
return 0
}
func (x *D89AGroupExInfoOnly) GetMoneyForAddGroup() int32 {
if x != nil {
return x.MoneyForAddGroup
}
return 0
}
type D89AGroupGeoInfo struct { type D89AGroupGeoInfo struct {
CityId int32 `protobuf:"varint,1,opt"` CityId int32 `protobuf:"varint,1,opt"`
Longtitude int64 `protobuf:"varint,2,opt"` Longtitude int64 `protobuf:"varint,2,opt"`
@ -558,41 +110,6 @@ type D89AGroupGeoInfo struct {
PoiId int64 `protobuf:"varint,5,opt"` PoiId int64 `protobuf:"varint,5,opt"`
} }
func (x *D89AGroupGeoInfo) GetCityId() int32 {
if x != nil {
return x.CityId
}
return 0
}
func (x *D89AGroupGeoInfo) GetLongtitude() int64 {
if x != nil {
return x.Longtitude
}
return 0
}
func (x *D89AGroupGeoInfo) GetLatitude() int64 {
if x != nil {
return x.Latitude
}
return 0
}
func (x *D89AGroupGeoInfo) GetIngGeoContent() []byte {
if x != nil {
return x.IngGeoContent
}
return nil
}
func (x *D89AGroupGeoInfo) GetPoiId() int64 {
if x != nil {
return x.PoiId
}
return 0
}
type DED3ReqBody struct { type DED3ReqBody struct {
ToUin int64 `protobuf:"varint,1,opt"` ToUin int64 `protobuf:"varint,1,opt"`
GroupCode int64 `protobuf:"varint,2,opt"` GroupCode int64 `protobuf:"varint,2,opt"`
@ -600,38 +117,3 @@ type DED3ReqBody struct {
MsgRand int32 `protobuf:"varint,4,opt"` MsgRand int32 `protobuf:"varint,4,opt"`
AioUin int64 `protobuf:"varint,5,opt"` AioUin int64 `protobuf:"varint,5,opt"`
} }
func (x *DED3ReqBody) GetToUin() int64 {
if x != nil {
return x.ToUin
}
return 0
}
func (x *DED3ReqBody) GetGroupCode() int64 {
if x != nil {
return x.GroupCode
}
return 0
}
func (x *DED3ReqBody) GetMsgSeq() int32 {
if x != nil {
return x.MsgSeq
}
return 0
}
func (x *DED3ReqBody) GetMsgRand() int32 {
if x != nil {
return x.MsgRand
}
return 0
}
func (x *DED3ReqBody) GetAioUin() int64 {
if x != nil {
return x.AioUin
}
return 0
}

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message OIDBSSOPkg { message OIDBSSOPkg {
int32 command = 1; int32 command = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0x5eb.proto // source: pb/oidb/oidb0x5eb.proto
package oidb package oidb
@ -86,13 +86,6 @@ type D5EBReqBody struct {
ReqApolloStatus *int32 `protobuf:"varint,42980,opt"` ReqApolloStatus *int32 `protobuf:"varint,42980,opt"`
} }
func (x *D5EBReqBody) GetUins() []uint64 {
if x != nil {
return x.Uins
}
return nil
}
func (x *D5EBReqBody) GetMaxPackageSize() uint32 { func (x *D5EBReqBody) GetMaxPackageSize() uint32 {
if x != nil && x.MaxPackageSize != nil { if x != nil && x.MaxPackageSize != nil {
return *x.MaxPackageSize return *x.MaxPackageSize
@ -100,13 +93,6 @@ func (x *D5EBReqBody) GetMaxPackageSize() uint32 {
return 0 return 0
} }
func (x *D5EBReqBody) GetOpenid() [][]byte {
if x != nil {
return x.Openid
}
return nil
}
func (x *D5EBReqBody) GetAppid() uint32 { func (x *D5EBReqBody) GetAppid() uint32 {
if x != nil && x.Appid != nil { if x != nil && x.Appid != nil {
return *x.Appid return *x.Appid
@ -651,20 +637,6 @@ type D5EBRspBody struct {
UnfinishedUins []int64 `protobuf:"varint,12,rep"` UnfinishedUins []int64 `protobuf:"varint,12,rep"`
} }
func (x *D5EBRspBody) GetUinData() []*UdcUinData {
if x != nil {
return x.UinData
}
return nil
}
func (x *D5EBRspBody) GetUnfinishedUins() []int64 {
if x != nil {
return x.UnfinishedUins
}
return nil
}
type UdcUinData struct { type UdcUinData struct {
Uin *int64 `protobuf:"varint,1,opt"` Uin *int64 `protobuf:"varint,1,opt"`
Openid []byte `protobuf:"bytes,4,opt"` Openid []byte `protobuf:"bytes,4,opt"`
@ -753,34 +725,6 @@ func (x *UdcUinData) GetUin() int64 {
return 0 return 0
} }
func (x *UdcUinData) GetOpenid() []byte {
if x != nil {
return x.Openid
}
return nil
}
func (x *UdcUinData) GetNick() []byte {
if x != nil {
return x.Nick
}
return nil
}
func (x *UdcUinData) GetCountry() []byte {
if x != nil {
return x.Country
}
return nil
}
func (x *UdcUinData) GetProvince() []byte {
if x != nil {
return x.Province
}
return nil
}
func (x *UdcUinData) GetGender() int32 { func (x *UdcUinData) GetGender() int32 {
if x != nil && x.Gender != nil { if x != nil && x.Gender != nil {
return *x.Gender return *x.Gender
@ -802,13 +746,6 @@ func (x *UdcUinData) GetFaceId() int32 {
return 0 return 0
} }
func (x *UdcUinData) GetCity() []byte {
if x != nil {
return x.City
}
return nil
}
func (x *UdcUinData) GetConstellation() int32 { func (x *UdcUinData) GetConstellation() int32 {
if x != nil && x.Constellation != nil { if x != nil && x.Constellation != nil {
return *x.Constellation return *x.Constellation
@ -823,27 +760,6 @@ func (x *UdcUinData) GetCommonPlace1() int32 {
return 0 return 0
} }
func (x *UdcUinData) GetMss3Bitmapextra() []byte {
if x != nil {
return x.Mss3Bitmapextra
}
return nil
}
func (x *UdcUinData) GetBirthday() []byte {
if x != nil {
return x.Birthday
}
return nil
}
func (x *UdcUinData) GetCityId() []byte {
if x != nil {
return x.CityId
}
return nil
}
func (x *UdcUinData) GetLang1() int32 { func (x *UdcUinData) GetLang1() int32 {
if x != nil && x.Lang1 != nil { if x != nil && x.Lang1 != nil {
return *x.Lang1 return *x.Lang1
@ -893,20 +809,6 @@ func (x *UdcUinData) GetBubbleId() int32 {
return 0 return 0
} }
func (x *UdcUinData) GetMss2Identity() []byte {
if x != nil {
return x.Mss2Identity
}
return nil
}
func (x *UdcUinData) GetMss1Service() []byte {
if x != nil {
return x.Mss1Service
}
return nil
}
func (x *UdcUinData) GetLflag() int32 { func (x *UdcUinData) GetLflag() int32 {
if x != nil && x.Lflag != nil { if x != nil && x.Lflag != nil {
return *x.Lflag return *x.Lflag
@ -921,34 +823,6 @@ func (x *UdcUinData) GetExtFlag() int32 {
return 0 return 0
} }
func (x *UdcUinData) GetBasicSvrFlag() []byte {
if x != nil {
return x.BasicSvrFlag
}
return nil
}
func (x *UdcUinData) GetBasicCliFlag() []byte {
if x != nil {
return x.BasicCliFlag
}
return nil
}
func (x *UdcUinData) GetFullBirthday() []byte {
if x != nil {
return x.FullBirthday
}
return nil
}
func (x *UdcUinData) GetFullAge() []byte {
if x != nil {
return x.FullAge
}
return nil
}
func (x *UdcUinData) GetSimpleUpdateTime() int32 { func (x *UdcUinData) GetSimpleUpdateTime() int32 {
if x != nil && x.SimpleUpdateTime != nil { if x != nil && x.SimpleUpdateTime != nil {
return *x.SimpleUpdateTime return *x.SimpleUpdateTime
@ -1005,27 +879,6 @@ func (x *UdcUinData) GetFaceAddonId() int64 {
return 0 return 0
} }
func (x *UdcUinData) GetMusicGene() []byte {
if x != nil {
return x.MusicGene
}
return nil
}
func (x *UdcUinData) GetStrangerNick() []byte {
if x != nil {
return x.StrangerNick
}
return nil
}
func (x *UdcUinData) GetStrangerDeclare() []byte {
if x != nil {
return x.StrangerDeclare
}
return nil
}
func (x *UdcUinData) GetLoveStatus() int32 { func (x *UdcUinData) GetLoveStatus() int32 {
if x != nil && x.LoveStatus != nil { if x != nil && x.LoveStatus != nil {
return *x.LoveStatus return *x.LoveStatus

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message D5EBReqBody { message D5EBReqBody {
repeated uint64 uins = 1; repeated uint64 uins = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0x6d6.proto // source: pb/oidb/oidb0x6d6.proto
package oidb package oidb
@ -175,48 +175,6 @@ func (x *DownloadFileRspBody) GetDownloadIp() string {
return "" return ""
} }
func (x *DownloadFileRspBody) GetDownloadDns() []byte {
if x != nil {
return x.DownloadDns
}
return nil
}
func (x *DownloadFileRspBody) GetDownloadUrl() []byte {
if x != nil {
return x.DownloadUrl
}
return nil
}
func (x *DownloadFileRspBody) GetSha() []byte {
if x != nil {
return x.Sha
}
return nil
}
func (x *DownloadFileRspBody) GetSha3() []byte {
if x != nil {
return x.Sha3
}
return nil
}
func (x *DownloadFileRspBody) GetMd5() []byte {
if x != nil {
return x.Md5
}
return nil
}
func (x *DownloadFileRspBody) GetCookieVal() []byte {
if x != nil {
return x.CookieVal
}
return nil
}
func (x *DownloadFileRspBody) GetSaveFileName() string { func (x *DownloadFileRspBody) GetSaveFileName() string {
if x != nil && x.SaveFileName != nil { if x != nil && x.SaveFileName != nil {
return *x.SaveFileName return *x.SaveFileName
@ -404,48 +362,6 @@ type D6D6ReqBody struct {
MoveFileReq *MoveFileReqBody `protobuf:"bytes,6,opt"` MoveFileReq *MoveFileReqBody `protobuf:"bytes,6,opt"`
} }
func (x *D6D6ReqBody) GetUploadFileReq() *UploadFileReqBody {
if x != nil {
return x.UploadFileReq
}
return nil
}
func (x *D6D6ReqBody) GetResendFileReq() *ResendReqBody {
if x != nil {
return x.ResendFileReq
}
return nil
}
func (x *D6D6ReqBody) GetDownloadFileReq() *DownloadFileReqBody {
if x != nil {
return x.DownloadFileReq
}
return nil
}
func (x *D6D6ReqBody) GetDeleteFileReq() *DeleteFileReqBody {
if x != nil {
return x.DeleteFileReq
}
return nil
}
func (x *D6D6ReqBody) GetRenameFileReq() *RenameFileReqBody {
if x != nil {
return x.RenameFileReq
}
return nil
}
func (x *D6D6ReqBody) GetMoveFileReq() *MoveFileReqBody {
if x != nil {
return x.MoveFileReq
}
return nil
}
type ResendReqBody struct { type ResendReqBody struct {
GroupCode *int64 `protobuf:"varint,1,opt"` GroupCode *int64 `protobuf:"varint,1,opt"`
AppId *int32 `protobuf:"varint,2,opt"` AppId *int32 `protobuf:"varint,2,opt"`
@ -482,13 +398,6 @@ func (x *ResendReqBody) GetFileId() string {
return "" return ""
} }
func (x *ResendReqBody) GetSha() []byte {
if x != nil {
return x.Sha
}
return nil
}
type ResendRspBody struct { type ResendRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"` RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"` RetMsg *string `protobuf:"bytes,2,opt"`
@ -526,20 +435,6 @@ func (x *ResendRspBody) GetUploadIp() string {
return "" return ""
} }
func (x *ResendRspBody) GetFileKey() []byte {
if x != nil {
return x.FileKey
}
return nil
}
func (x *ResendRspBody) GetCheckKey() []byte {
if x != nil {
return x.CheckKey
}
return nil
}
type D6D6RspBody struct { type D6D6RspBody struct {
UploadFileRsp *UploadFileRspBody `protobuf:"bytes,1,opt"` UploadFileRsp *UploadFileRspBody `protobuf:"bytes,1,opt"`
ResendFileRsp *ResendRspBody `protobuf:"bytes,2,opt"` ResendFileRsp *ResendRspBody `protobuf:"bytes,2,opt"`
@ -549,48 +444,6 @@ type D6D6RspBody struct {
MoveFileRsp *MoveFileRspBody `protobuf:"bytes,6,opt"` MoveFileRsp *MoveFileRspBody `protobuf:"bytes,6,opt"`
} }
func (x *D6D6RspBody) GetUploadFileRsp() *UploadFileRspBody {
if x != nil {
return x.UploadFileRsp
}
return nil
}
func (x *D6D6RspBody) GetResendFileRsp() *ResendRspBody {
if x != nil {
return x.ResendFileRsp
}
return nil
}
func (x *D6D6RspBody) GetDownloadFileRsp() *DownloadFileRspBody {
if x != nil {
return x.DownloadFileRsp
}
return nil
}
func (x *D6D6RspBody) GetDeleteFileRsp() *DeleteFileRspBody {
if x != nil {
return x.DeleteFileRsp
}
return nil
}
func (x *D6D6RspBody) GetRenameFileRsp() *RenameFileRspBody {
if x != nil {
return x.RenameFileRsp
}
return nil
}
func (x *D6D6RspBody) GetMoveFileRsp() *MoveFileRspBody {
if x != nil {
return x.MoveFileRsp
}
return nil
}
type UploadFileReqBody struct { type UploadFileReqBody struct {
GroupCode *int64 `protobuf:"varint,1,opt"` GroupCode *int64 `protobuf:"varint,1,opt"`
AppId *int32 `protobuf:"varint,2,opt"` AppId *int32 `protobuf:"varint,2,opt"`
@ -662,27 +515,6 @@ func (x *UploadFileReqBody) GetInt64FileSize() int64 {
return 0 return 0
} }
func (x *UploadFileReqBody) GetSha() []byte {
if x != nil {
return x.Sha
}
return nil
}
func (x *UploadFileReqBody) GetSha3() []byte {
if x != nil {
return x.Sha3
}
return nil
}
func (x *UploadFileReqBody) GetMd5() []byte {
if x != nil {
return x.Md5
}
return nil
}
func (x *UploadFileReqBody) GetSupportMultiUpload() bool { func (x *UploadFileReqBody) GetSupportMultiUpload() bool {
if x != nil && x.SupportMultiUpload != nil { if x != nil && x.SupportMultiUpload != nil {
return *x.SupportMultiUpload return *x.SupportMultiUpload
@ -755,20 +587,6 @@ func (x *UploadFileRspBody) GetFileId() string {
return "" return ""
} }
func (x *UploadFileRspBody) GetFileKey() []byte {
if x != nil {
return x.FileKey
}
return nil
}
func (x *UploadFileRspBody) GetCheckKey() []byte {
if x != nil {
return x.CheckKey
}
return nil
}
func (x *UploadFileRspBody) GetBoolFileExist() bool { func (x *UploadFileRspBody) GetBoolFileExist() bool {
if x != nil && x.BoolFileExist != nil { if x != nil && x.BoolFileExist != nil {
return *x.BoolFileExist return *x.BoolFileExist
@ -776,20 +594,6 @@ func (x *UploadFileRspBody) GetBoolFileExist() bool {
return false return false
} }
func (x *UploadFileRspBody) GetUploadIpLanV4() []string {
if x != nil {
return x.UploadIpLanV4
}
return nil
}
func (x *UploadFileRspBody) GetUploadIpLanV6() []string {
if x != nil {
return x.UploadIpLanV6
}
return nil
}
func (x *UploadFileRspBody) GetUploadPort() int32 { func (x *UploadFileRspBody) GetUploadPort() int32 {
if x != nil && x.UploadPort != nil { if x != nil && x.UploadPort != nil {
return *x.UploadPort return *x.UploadPort

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message DeleteFileReqBody { message DeleteFileReqBody {
optional int64 groupCode = 1; optional int64 groupCode = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0x6d7.proto // source: pb/oidb/oidb0x6d7.proto
package oidb package oidb
@ -258,65 +258,9 @@ type D6D7ReqBody struct {
MoveFolderReq *MoveFolderReqBody `protobuf:"bytes,4,opt"` MoveFolderReq *MoveFolderReqBody `protobuf:"bytes,4,opt"`
} }
func (x *D6D7ReqBody) GetCreateFolderReq() *CreateFolderReqBody {
if x != nil {
return x.CreateFolderReq
}
return nil
}
func (x *D6D7ReqBody) GetDeleteFolderReq() *DeleteFolderReqBody {
if x != nil {
return x.DeleteFolderReq
}
return nil
}
func (x *D6D7ReqBody) GetRenameFolderReq() *RenameFolderReqBody {
if x != nil {
return x.RenameFolderReq
}
return nil
}
func (x *D6D7ReqBody) GetMoveFolderReq() *MoveFolderReqBody {
if x != nil {
return x.MoveFolderReq
}
return nil
}
type D6D7RspBody struct { type D6D7RspBody struct {
CreateFolderRsp *CreateFolderRspBody `protobuf:"bytes,1,opt"` CreateFolderRsp *CreateFolderRspBody `protobuf:"bytes,1,opt"`
DeleteFolderRsp *DeleteFolderRspBody `protobuf:"bytes,2,opt"` DeleteFolderRsp *DeleteFolderRspBody `protobuf:"bytes,2,opt"`
RenameFolderRsp *RenameFolderRspBody `protobuf:"bytes,3,opt"` RenameFolderRsp *RenameFolderRspBody `protobuf:"bytes,3,opt"`
MoveFolderRsp *MoveFolderRspBody `protobuf:"bytes,4,opt"` MoveFolderRsp *MoveFolderRspBody `protobuf:"bytes,4,opt"`
} }
func (x *D6D7RspBody) GetCreateFolderRsp() *CreateFolderRspBody {
if x != nil {
return x.CreateFolderRsp
}
return nil
}
func (x *D6D7RspBody) GetDeleteFolderRsp() *DeleteFolderRspBody {
if x != nil {
return x.DeleteFolderRsp
}
return nil
}
func (x *D6D7RspBody) GetRenameFolderRsp() *RenameFolderRspBody {
if x != nil {
return x.RenameFolderRsp
}
return nil
}
func (x *D6D7RspBody) GetMoveFolderRsp() *MoveFolderRspBody {
if x != nil {
return x.MoveFolderRsp
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message CreateFolderReqBody { message CreateFolderReqBody {
optional uint64 groupCode = 1; optional uint64 groupCode = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0x6d8.proto // source: pb/oidb/oidb0x6d8.proto
package oidb package oidb
@ -10,34 +10,6 @@ type D6D8ReqBody struct {
GroupSpaceReq *GetSpaceReqBody `protobuf:"bytes,4,opt"` GroupSpaceReq *GetSpaceReqBody `protobuf:"bytes,4,opt"`
} }
func (x *D6D8ReqBody) GetFileInfoReq() *GetFileInfoReqBody {
if x != nil {
return x.FileInfoReq
}
return nil
}
func (x *D6D8ReqBody) GetFileListInfoReq() *GetFileListReqBody {
if x != nil {
return x.FileListInfoReq
}
return nil
}
func (x *D6D8ReqBody) GetGroupFileCountReq() *GetFileCountReqBody {
if x != nil {
return x.GroupFileCountReq
}
return nil
}
func (x *D6D8ReqBody) GetGroupSpaceReq() *GetSpaceReqBody {
if x != nil {
return x.GroupSpaceReq
}
return nil
}
type D6D8RspBody struct { type D6D8RspBody struct {
FileInfoRsp *GetFileInfoRspBody `protobuf:"bytes,1,opt"` FileInfoRsp *GetFileInfoRspBody `protobuf:"bytes,1,opt"`
FileListInfoRsp *GetFileListRspBody `protobuf:"bytes,2,opt"` FileListInfoRsp *GetFileListRspBody `protobuf:"bytes,2,opt"`
@ -45,34 +17,6 @@ type D6D8RspBody struct {
GroupSpaceRsp *GetSpaceRspBody `protobuf:"bytes,4,opt"` GroupSpaceRsp *GetSpaceRspBody `protobuf:"bytes,4,opt"`
} }
func (x *D6D8RspBody) GetFileInfoRsp() *GetFileInfoRspBody {
if x != nil {
return x.FileInfoRsp
}
return nil
}
func (x *D6D8RspBody) GetFileListInfoRsp() *GetFileListRspBody {
if x != nil {
return x.FileListInfoRsp
}
return nil
}
func (x *D6D8RspBody) GetFileCountRsp() *GetFileCountRspBody {
if x != nil {
return x.FileCountRsp
}
return nil
}
func (x *D6D8RspBody) GetGroupSpaceRsp() *GetSpaceRspBody {
if x != nil {
return x.GroupSpaceRsp
}
return nil
}
type GetFileInfoReqBody struct { type GetFileInfoReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"` GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"` AppId *uint32 `protobuf:"varint,2,opt"`
@ -144,13 +88,6 @@ func (x *GetFileInfoRspBody) GetClientWording() string {
return "" return ""
} }
func (x *GetFileInfoRspBody) GetFileInfo() *GroupFileInfo {
if x != nil {
return x.FileInfo
}
return nil
}
type GetFileListRspBody struct { type GetFileListRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"` RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"` RetMsg *string `protobuf:"bytes,2,opt"`
@ -196,20 +133,6 @@ func (x *GetFileListRspBody) GetIsEnd() bool {
return false return false
} }
func (x *GetFileListRspBody) GetItemList() []*GetFileListRspBody_Item {
if x != nil {
return x.ItemList
}
return nil
}
func (x *GetFileListRspBody) GetMaxTimestamp() *FileTimeStamp {
if x != nil {
return x.MaxTimestamp
}
return nil
}
func (x *GetFileListRspBody) GetAllFileCount() uint32 { func (x *GetFileListRspBody) GetAllFileCount() uint32 {
if x != nil && x.AllFileCount != nil { if x != nil && x.AllFileCount != nil {
return *x.AllFileCount return *x.AllFileCount
@ -245,13 +168,6 @@ func (x *GetFileListRspBody) GetNextIndex() uint32 {
return 0 return 0
} }
func (x *GetFileListRspBody) GetContext() []byte {
if x != nil {
return x.Context
}
return nil
}
func (x *GetFileListRspBody) GetRole() uint32 { func (x *GetFileListRspBody) GetRole() uint32 {
if x != nil && x.Role != nil { if x != nil && x.Role != nil {
return *x.Role return *x.Role
@ -348,27 +264,6 @@ func (x *GroupFileInfo) GetDownloadTimes() uint32 {
return 0 return 0
} }
func (x *GroupFileInfo) GetSha() []byte {
if x != nil {
return x.Sha
}
return nil
}
func (x *GroupFileInfo) GetSha3() []byte {
if x != nil {
return x.Sha3
}
return nil
}
func (x *GroupFileInfo) GetMd5() []byte {
if x != nil {
return x.Md5
}
return nil
}
func (x *GroupFileInfo) GetLocalPath() string { func (x *GroupFileInfo) GetLocalPath() string {
if x != nil && x.LocalPath != nil { if x != nil && x.LocalPath != nil {
return *x.LocalPath return *x.LocalPath
@ -503,13 +398,6 @@ func (x *GetFileListReqBody) GetFolderId() string {
return "" return ""
} }
func (x *GetFileListReqBody) GetStartTimestamp() *FileTimeStamp {
if x != nil {
return x.StartTimestamp
}
return nil
}
func (x *GetFileListReqBody) GetFileCount() uint32 { func (x *GetFileListReqBody) GetFileCount() uint32 {
if x != nil && x.FileCount != nil { if x != nil && x.FileCount != nil {
return *x.FileCount return *x.FileCount
@ -517,13 +405,6 @@ func (x *GetFileListReqBody) GetFileCount() uint32 {
return 0 return 0
} }
func (x *GetFileListReqBody) GetMaxTimestamp() *FileTimeStamp {
if x != nil {
return x.MaxTimestamp
}
return nil
}
func (x *GetFileListReqBody) GetAllFileCount() uint32 { func (x *GetFileListReqBody) GetAllFileCount() uint32 {
if x != nil && x.AllFileCount != nil { if x != nil && x.AllFileCount != nil {
return *x.AllFileCount return *x.AllFileCount
@ -573,13 +454,6 @@ func (x *GetFileListReqBody) GetStartIndex() uint32 {
return 0 return 0
} }
func (x *GetFileListReqBody) GetContext() []byte {
if x != nil {
return x.Context
}
return nil
}
func (x *GetFileListReqBody) GetClientVersion() uint32 { func (x *GetFileListReqBody) GetClientVersion() uint32 {
if x != nil && x.ClientVersion != nil { if x != nil && x.ClientVersion != nil {
return *x.ClientVersion return *x.ClientVersion
@ -766,17 +640,3 @@ func (x *GetFileListRspBody_Item) GetType() uint32 {
} }
return 0 return 0
} }
func (x *GetFileListRspBody_Item) GetFolderInfo() *GroupFolderInfo {
if x != nil {
return x.FolderInfo
}
return nil
}
func (x *GetFileListRspBody_Item) GetFileInfo() *GroupFileInfo {
if x != nil {
return x.FileInfo
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message D6D8ReqBody { message D6D8ReqBody {
optional GetFileInfoReqBody fileInfoReq = 1; optional GetFileInfoReqBody fileInfoReq = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0x6d9.proto // source: pb/oidb/oidb0x6d9.proto
package oidb package oidb
@ -32,13 +32,6 @@ func (x *GroupFileFeedsInfo) GetMsgRandom() uint32 {
return 0 return 0
} }
func (x *GroupFileFeedsInfo) GetExt() []byte {
if x != nil {
return x.Ext
}
return nil
}
func (x *GroupFileFeedsInfo) GetFeedFlag() uint32 { func (x *GroupFileFeedsInfo) GetFeedFlag() uint32 {
if x != nil && x.FeedFlag != nil { if x != nil && x.FeedFlag != nil {
return *x.FeedFlag return *x.FeedFlag
@ -82,20 +75,6 @@ func (x *CopyFromReqBody) GetSrcBusId() uint32 {
return 0 return 0
} }
func (x *CopyFromReqBody) GetSrcParentFolder() []byte {
if x != nil {
return x.SrcParentFolder
}
return nil
}
func (x *CopyFromReqBody) GetSrcFilePath() []byte {
if x != nil {
return x.SrcFilePath
}
return nil
}
func (x *CopyFromReqBody) GetDstBusId() uint32 { func (x *CopyFromReqBody) GetDstBusId() uint32 {
if x != nil && x.DstBusId != nil { if x != nil && x.DstBusId != nil {
return *x.DstBusId return *x.DstBusId
@ -103,13 +82,6 @@ func (x *CopyFromReqBody) GetDstBusId() uint32 {
return 0 return 0
} }
func (x *CopyFromReqBody) GetDstFolderId() []byte {
if x != nil {
return x.DstFolderId
}
return nil
}
func (x *CopyFromReqBody) GetFileSize() uint64 { func (x *CopyFromReqBody) GetFileSize() uint64 {
if x != nil && x.FileSize != nil { if x != nil && x.FileSize != nil {
return *x.FileSize return *x.FileSize
@ -138,13 +110,6 @@ func (x *CopyFromReqBody) GetSrcUin() uint64 {
return 0 return 0
} }
func (x *CopyFromReqBody) GetMd5() []byte {
if x != nil {
return x.Md5
}
return nil
}
type CopyFromRspBody struct { type CopyFromRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"` RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"` RetMsg *string `protobuf:"bytes,2,opt"`
@ -174,13 +139,6 @@ func (x *CopyFromRspBody) GetClientWording() string {
return "" return ""
} }
func (x *CopyFromRspBody) GetSaveFilePath() []byte {
if x != nil {
return x.SaveFilePath
}
return nil
}
func (x *CopyFromRspBody) GetBusId() uint32 { func (x *CopyFromRspBody) GetBusId() uint32 {
if x != nil && x.BusId != nil { if x != nil && x.BusId != nil {
return *x.BusId return *x.BusId
@ -251,27 +209,6 @@ func (x *CopyToReqBody) GetNewFileName() string {
return "" return ""
} }
func (x *CopyToReqBody) GetTimCloudPdirKey() []byte {
if x != nil {
return x.TimCloudPdirKey
}
return nil
}
func (x *CopyToReqBody) GetTimCloudPpdirKey() []byte {
if x != nil {
return x.TimCloudPpdirKey
}
return nil
}
func (x *CopyToReqBody) GetTimCloudExtensionInfo() []byte {
if x != nil {
return x.TimCloudExtensionInfo
}
return nil
}
func (x *CopyToReqBody) GetTimFileExistOption() uint32 { func (x *CopyToReqBody) GetTimFileExistOption() uint32 {
if x != nil && x.TimFileExistOption != nil { if x != nil && x.TimFileExistOption != nil {
return *x.TimFileExistOption return *x.TimFileExistOption
@ -351,13 +288,6 @@ func (x *FeedsReqBody) GetAppId() uint32 {
return 0 return 0
} }
func (x *FeedsReqBody) GetFeedsInfoList() []*GroupFileFeedsInfo {
if x != nil {
return x.FeedsInfoList
}
return nil
}
func (x *FeedsReqBody) GetMultiSendSeq() uint32 { func (x *FeedsReqBody) GetMultiSendSeq() uint32 {
if x != nil && x.MultiSendSeq != nil { if x != nil && x.MultiSendSeq != nil {
return *x.MultiSendSeq return *x.MultiSendSeq
@ -408,34 +338,6 @@ type D6D9ReqBody struct {
FeedsInfoReq *FeedsReqBody `protobuf:"bytes,5,opt"` FeedsInfoReq *FeedsReqBody `protobuf:"bytes,5,opt"`
} }
func (x *D6D9ReqBody) GetTransFileReq() *TransFileReqBody {
if x != nil {
return x.TransFileReq
}
return nil
}
func (x *D6D9ReqBody) GetCopyFromReq() *CopyFromReqBody {
if x != nil {
return x.CopyFromReq
}
return nil
}
func (x *D6D9ReqBody) GetCopyToReq() *CopyToReqBody {
if x != nil {
return x.CopyToReq
}
return nil
}
func (x *D6D9ReqBody) GetFeedsInfoReq() *FeedsReqBody {
if x != nil {
return x.FeedsInfoReq
}
return nil
}
type D6D9RspBody struct { type D6D9RspBody struct {
TransFileRsp *TransFileRspBody `protobuf:"bytes,1,opt"` TransFileRsp *TransFileRspBody `protobuf:"bytes,1,opt"`
CopyFromRsp *CopyFromRspBody `protobuf:"bytes,2,opt"` CopyFromRsp *CopyFromRspBody `protobuf:"bytes,2,opt"`
@ -443,34 +345,6 @@ type D6D9RspBody struct {
FeedsInfoRsp *FeedsRspBody `protobuf:"bytes,5,opt"` FeedsInfoRsp *FeedsRspBody `protobuf:"bytes,5,opt"`
} }
func (x *D6D9RspBody) GetTransFileRsp() *TransFileRspBody {
if x != nil {
return x.TransFileRsp
}
return nil
}
func (x *D6D9RspBody) GetCopyFromRsp() *CopyFromRspBody {
if x != nil {
return x.CopyFromRsp
}
return nil
}
func (x *D6D9RspBody) GetCopyToRsp() *CopyToRspBody {
if x != nil {
return x.CopyToRsp
}
return nil
}
func (x *D6D9RspBody) GetFeedsInfoRsp() *FeedsRspBody {
if x != nil {
return x.FeedsInfoRsp
}
return nil
}
type TransFileReqBody struct { type TransFileReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"` GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"` AppId *uint32 `protobuf:"varint,2,opt"`

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message GroupFileFeedsInfo { message GroupFileFeedsInfo {
optional uint32 busId = 1; optional uint32 busId = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0x769.proto // source: pb/oidb/oidb0x769.proto
package oidb package oidb
@ -96,13 +96,6 @@ func (x *Content) GetCompress() uint32 {
return 0 return 0
} }
func (x *Content) GetContent() []byte {
if x != nil {
return x.Content
}
return nil
}
type D769DeviceInfo struct { type D769DeviceInfo struct {
Brand *string `protobuf:"bytes,1,opt"` Brand *string `protobuf:"bytes,1,opt"`
Model *string `protobuf:"bytes,2,opt"` Model *string `protobuf:"bytes,2,opt"`
@ -128,48 +121,6 @@ func (x *D769DeviceInfo) GetModel() string {
return "" return ""
} }
func (x *D769DeviceInfo) GetOs() *C41219OS {
if x != nil {
return x.Os
}
return nil
}
func (x *D769DeviceInfo) GetCpu() *CPU {
if x != nil {
return x.Cpu
}
return nil
}
func (x *D769DeviceInfo) GetMemory() *Memory {
if x != nil {
return x.Memory
}
return nil
}
func (x *D769DeviceInfo) GetStorage() *Storage {
if x != nil {
return x.Storage
}
return nil
}
func (x *D769DeviceInfo) GetScreen() *Screen {
if x != nil {
return x.Screen
}
return nil
}
func (x *D769DeviceInfo) GetCamera() *Camera {
if x != nil {
return x.Camera
}
return nil
}
type Memory struct { type Memory struct {
Total *uint64 `protobuf:"varint,1,opt"` Total *uint64 `protobuf:"varint,1,opt"`
Process *uint64 `protobuf:"varint,2,opt"` Process *uint64 `protobuf:"varint,2,opt"`
@ -287,13 +238,6 @@ func (x *QueryUinPackageUsageRsp) GetProportion() uint32 {
return 0 return 0
} }
func (x *QueryUinPackageUsageRsp) GetUinPackageUsedList() []*UinPackageUsedInfo {
if x != nil {
return x.UinPackageUsedList
}
return nil
}
type D769ReqBody struct { type D769ReqBody struct {
ConfigList []*D769ConfigSeq `protobuf:"bytes,1,rep"` ConfigList []*D769ConfigSeq `protobuf:"bytes,1,rep"`
DeviceInfo *D769DeviceInfo `protobuf:"bytes,2,opt"` DeviceInfo *D769DeviceInfo `protobuf:"bytes,2,opt"`
@ -304,20 +248,6 @@ type D769ReqBody struct {
QueryUinPackageUsageReq *QueryUinPackageUsageReq `protobuf:"bytes,101,opt"` QueryUinPackageUsageReq *QueryUinPackageUsageReq `protobuf:"bytes,101,opt"`
} }
func (x *D769ReqBody) GetConfigList() []*D769ConfigSeq {
if x != nil {
return x.ConfigList
}
return nil
}
func (x *D769ReqBody) GetDeviceInfo() *D769DeviceInfo {
if x != nil {
return x.DeviceInfo
}
return nil
}
func (x *D769ReqBody) GetInfo() string { func (x *D769ReqBody) GetInfo() string {
if x != nil && x.Info != nil { if x != nil && x.Info != nil {
return *x.Info return *x.Info
@ -346,13 +276,6 @@ func (x *D769ReqBody) GetReqDebugMsg() int32 {
return 0 return 0
} }
func (x *D769ReqBody) GetQueryUinPackageUsageReq() *QueryUinPackageUsageReq {
if x != nil {
return x.QueryUinPackageUsageReq
}
return nil
}
type D769RspBody struct { type D769RspBody struct {
Result *uint32 `protobuf:"varint,1,opt"` Result *uint32 `protobuf:"varint,1,opt"`
ConfigList []*D769ConfigSeq `protobuf:"bytes,2,rep"` ConfigList []*D769ConfigSeq `protobuf:"bytes,2,rep"`
@ -366,20 +289,6 @@ func (x *D769RspBody) GetResult() uint32 {
return 0 return 0
} }
func (x *D769RspBody) GetConfigList() []*D769ConfigSeq {
if x != nil {
return x.ConfigList
}
return nil
}
func (x *D769RspBody) GetQueryUinPackageUsageRsp() *QueryUinPackageUsageRsp {
if x != nil {
return x.QueryUinPackageUsageRsp
}
return nil
}
type Screen struct { type Screen struct {
Model *string `protobuf:"bytes,1,opt"` Model *string `protobuf:"bytes,1,opt"`
Width *uint32 `protobuf:"varint,2,opt"` Width *uint32 `protobuf:"varint,2,opt"`

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message CPU { message CPU {
optional string model = 1; optional string model = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0x88d.proto // source: pb/oidb/oidb0x88d.proto
package oidb package oidb
@ -29,13 +29,6 @@ func (x *D88DGroupHeadPortrait) GetPicCount() uint32 {
return 0 return 0
} }
func (x *D88DGroupHeadPortrait) GetMsgInfo() []*D88DGroupHeadPortraitInfo {
if x != nil {
return x.MsgInfo
}
return nil
}
func (x *D88DGroupHeadPortrait) GetDefaultId() uint32 { func (x *D88DGroupHeadPortrait) GetDefaultId() uint32 {
if x != nil && x.DefaultId != nil { if x != nil && x.DefaultId != nil {
return *x.DefaultId return *x.DefaultId
@ -50,13 +43,6 @@ func (x *D88DGroupHeadPortrait) GetVerifyingPicCnt() uint32 {
return 0 return 0
} }
func (x *D88DGroupHeadPortrait) GetMsgVerifyingPicInfo() []*D88DGroupHeadPortraitInfo {
if x != nil {
return x.MsgVerifyingPicInfo
}
return nil
}
type D88DGroupExInfoOnly struct { type D88DGroupExInfoOnly struct {
TribeId *uint32 `protobuf:"varint,1,opt"` TribeId *uint32 `protobuf:"varint,1,opt"`
MoneyForAddGroup *uint32 `protobuf:"varint,2,opt"` MoneyForAddGroup *uint32 `protobuf:"varint,2,opt"`
@ -260,41 +246,6 @@ func (x *D88DGroupInfo) GetGroupRoamingTime() uint32 {
return 0 return 0
} }
func (x *D88DGroupInfo) GetGroupName() []byte {
if x != nil {
return x.GroupName
}
return nil
}
func (x *D88DGroupInfo) GetGroupMemo() []byte {
if x != nil {
return x.GroupMemo
}
return nil
}
func (x *D88DGroupInfo) GetGroupFingerMemo() []byte {
if x != nil {
return x.GroupFingerMemo
}
return nil
}
func (x *D88DGroupInfo) GetGroupClassText() []byte {
if x != nil {
return x.GroupClassText
}
return nil
}
func (x *D88DGroupInfo) GetGroupAllianceCode() []uint32 {
if x != nil {
return x.GroupAllianceCode
}
return nil
}
func (x *D88DGroupInfo) GetGroupExtraAadmNum() uint32 { func (x *D88DGroupInfo) GetGroupExtraAadmNum() uint32 {
if x != nil && x.GroupExtraAadmNum != nil { if x != nil && x.GroupExtraAadmNum != nil {
return *x.GroupExtraAadmNum return *x.GroupExtraAadmNum
@ -323,20 +274,6 @@ func (x *D88DGroupInfo) GetGroupLastMsgTime() uint32 {
return 0 return 0
} }
func (x *D88DGroupInfo) GetGroupQuestion() []byte {
if x != nil {
return x.GroupQuestion
}
return nil
}
func (x *D88DGroupInfo) GetGroupAnswer() []byte {
if x != nil {
return x.GroupAnswer
}
return nil
}
func (x *D88DGroupInfo) GetGroupVisitorMaxNum() uint32 { func (x *D88DGroupInfo) GetGroupVisitorMaxNum() uint32 {
if x != nil && x.GroupVisitorMaxNum != nil { if x != nil && x.GroupVisitorMaxNum != nil {
return *x.GroupVisitorMaxNum return *x.GroupVisitorMaxNum
@ -379,20 +316,6 @@ func (x *D88DGroupInfo) GetGroupBoardSkinTimestamp() uint32 {
return 0 return 0
} }
func (x *D88DGroupInfo) GetGroupAioSkinUrl() []byte {
if x != nil {
return x.GroupAioSkinUrl
}
return nil
}
func (x *D88DGroupInfo) GetGroupBoardSkinUrl() []byte {
if x != nil {
return x.GroupBoardSkinUrl
}
return nil
}
func (x *D88DGroupInfo) GetGroupCoverSkinTimestamp() uint32 { func (x *D88DGroupInfo) GetGroupCoverSkinTimestamp() uint32 {
if x != nil && x.GroupCoverSkinTimestamp != nil { if x != nil && x.GroupCoverSkinTimestamp != nil {
return *x.GroupCoverSkinTimestamp return *x.GroupCoverSkinTimestamp
@ -400,13 +323,6 @@ func (x *D88DGroupInfo) GetGroupCoverSkinTimestamp() uint32 {
return 0 return 0
} }
func (x *D88DGroupInfo) GetGroupCoverSkinUrl() []byte {
if x != nil {
return x.GroupCoverSkinUrl
}
return nil
}
func (x *D88DGroupInfo) GetGroupGrade() uint32 { func (x *D88DGroupInfo) GetGroupGrade() uint32 {
if x != nil && x.GroupGrade != nil { if x != nil && x.GroupGrade != nil {
return *x.GroupGrade return *x.GroupGrade
@ -428,34 +344,6 @@ func (x *D88DGroupInfo) GetCertificationType() uint32 {
return 0 return 0
} }
func (x *D88DGroupInfo) GetCertificationText() []byte {
if x != nil {
return x.CertificationText
}
return nil
}
func (x *D88DGroupInfo) GetGroupRichFingerMemo() []byte {
if x != nil {
return x.GroupRichFingerMemo
}
return nil
}
func (x *D88DGroupInfo) GetTagRecord() []*D88DTagRecord {
if x != nil {
return x.TagRecord
}
return nil
}
func (x *D88DGroupInfo) GetGroupGeoInfo() *D88DGroupGeoInfo {
if x != nil {
return x.GroupGeoInfo
}
return nil
}
func (x *D88DGroupInfo) GetHeadPortraitSeq() uint32 { func (x *D88DGroupInfo) GetHeadPortraitSeq() uint32 {
if x != nil && x.HeadPortraitSeq != nil { if x != nil && x.HeadPortraitSeq != nil {
return *x.HeadPortraitSeq return *x.HeadPortraitSeq
@ -463,13 +351,6 @@ func (x *D88DGroupInfo) GetHeadPortraitSeq() uint32 {
return 0 return 0
} }
func (x *D88DGroupInfo) GetMsgHeadPortrait() *D88DGroupHeadPortrait {
if x != nil {
return x.MsgHeadPortrait
}
return nil
}
func (x *D88DGroupInfo) GetShutupTimestamp() uint32 { func (x *D88DGroupInfo) GetShutupTimestamp() uint32 {
if x != nil && x.ShutupTimestamp != nil { if x != nil && x.ShutupTimestamp != nil {
return *x.ShutupTimestamp return *x.ShutupTimestamp
@ -554,13 +435,6 @@ func (x *D88DGroupInfo) GetAppPrivilegeFlag() uint32 {
return 0 return 0
} }
func (x *D88DGroupInfo) GetStGroupExInfo() *D88DGroupExInfoOnly {
if x != nil {
return x.StGroupExInfo
}
return nil
}
func (x *D88DGroupInfo) GetGroupSecLevel() uint32 { func (x *D88DGroupInfo) GetGroupSecLevel() uint32 {
if x != nil && x.GroupSecLevel != nil { if x != nil && x.GroupSecLevel != nil {
return *x.GroupSecLevel return *x.GroupSecLevel
@ -582,13 +456,6 @@ func (x *D88DGroupInfo) GetCmduinPrivilege() uint32 {
return 0 return 0
} }
func (x *D88DGroupInfo) GetPoidInfo() []byte {
if x != nil {
return x.PoidInfo
}
return nil
}
func (x *D88DGroupInfo) GetCmduinFlagEx2() uint32 { func (x *D88DGroupInfo) GetCmduinFlagEx2() uint32 {
if x != nil && x.CmduinFlagEx2 != nil { if x != nil && x.CmduinFlagEx2 != nil {
return *x.CmduinFlagEx2 return *x.CmduinFlagEx2
@ -756,13 +623,6 @@ func (x *ReqGroupInfo) GetGroupCode() uint64 {
return 0 return 0
} }
func (x *ReqGroupInfo) GetStgroupinfo() *D88DGroupInfo {
if x != nil {
return x.Stgroupinfo
}
return nil
}
func (x *ReqGroupInfo) GetLastGetGroupNameTime() uint32 { func (x *ReqGroupInfo) GetLastGetGroupNameTime() uint32 {
if x != nil && x.LastGetGroupNameTime != nil { if x != nil && x.LastGetGroupNameTime != nil {
return *x.LastGetGroupNameTime return *x.LastGetGroupNameTime
@ -783,13 +643,6 @@ func (x *D88DReqBody) GetAppId() uint32 {
return 0 return 0
} }
func (x *D88DReqBody) GetReqGroupInfo() []*ReqGroupInfo {
if x != nil {
return x.ReqGroupInfo
}
return nil
}
func (x *D88DReqBody) GetPcClientVersion() uint32 { func (x *D88DReqBody) GetPcClientVersion() uint32 {
if x != nil && x.PcClientVersion != nil { if x != nil && x.PcClientVersion != nil {
return *x.PcClientVersion return *x.PcClientVersion
@ -817,32 +670,11 @@ func (x *RspGroupInfo) GetResult() uint32 {
return 0 return 0
} }
func (x *RspGroupInfo) GetGroupInfo() *D88DGroupInfo {
if x != nil {
return x.GroupInfo
}
return nil
}
type D88DRspBody struct { type D88DRspBody struct {
RspGroupInfo []*RspGroupInfo `protobuf:"bytes,1,rep"` RspGroupInfo []*RspGroupInfo `protobuf:"bytes,1,rep"`
StrErrorInfo []byte `protobuf:"bytes,2,opt"` StrErrorInfo []byte `protobuf:"bytes,2,opt"`
} }
func (x *D88DRspBody) GetRspGroupInfo() []*RspGroupInfo {
if x != nil {
return x.RspGroupInfo
}
return nil
}
func (x *D88DRspBody) GetStrErrorInfo() []byte {
if x != nil {
return x.StrErrorInfo
}
return nil
}
type D88DTagRecord struct { type D88DTagRecord struct {
FromUin *uint64 `protobuf:"varint,1,opt"` FromUin *uint64 `protobuf:"varint,1,opt"`
GroupCode *uint64 `protobuf:"varint,2,opt"` GroupCode *uint64 `protobuf:"varint,2,opt"`
@ -868,13 +700,6 @@ func (x *D88DTagRecord) GetGroupCode() uint64 {
return 0 return 0
} }
func (x *D88DTagRecord) GetTagId() []byte {
if x != nil {
return x.TagId
}
return nil
}
func (x *D88DTagRecord) GetSetTime() uint64 { func (x *D88DTagRecord) GetSetTime() uint64 {
if x != nil && x.SetTime != nil { if x != nil && x.SetTime != nil {
return *x.SetTime return *x.SetTime
@ -903,13 +728,6 @@ func (x *D88DTagRecord) GetTagLen() uint32 {
return 0 return 0
} }
func (x *D88DTagRecord) GetTagValue() []byte {
if x != nil {
return x.TagValue
}
return nil
}
type D88DGroupGeoInfo struct { type D88DGroupGeoInfo struct {
Owneruin *uint64 `protobuf:"varint,1,opt"` Owneruin *uint64 `protobuf:"varint,1,opt"`
Settime *uint32 `protobuf:"varint,2,opt"` Settime *uint32 `protobuf:"varint,2,opt"`
@ -955,13 +773,6 @@ func (x *D88DGroupGeoInfo) GetLatitude() int64 {
return 0 return 0
} }
func (x *D88DGroupGeoInfo) GetGeocontent() []byte {
if x != nil {
return x.Geocontent
}
return nil
}
func (x *D88DGroupGeoInfo) GetPoiId() uint64 { func (x *D88DGroupGeoInfo) GetPoiId() uint64 {
if x != nil && x.PoiId != nil { if x != nil && x.PoiId != nil {
return *x.PoiId return *x.PoiId

View File

@ -1,6 +1,6 @@
syntax = "proto2"; // exists flag group info proto2 syntax = "proto2"; // exists flag group info proto2
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message D88DGroupHeadPortraitInfo message D88DGroupHeadPortraitInfo
{ {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0x8a7.proto // source: pb/oidb/oidb0x8a7.proto
package oidb package oidb
@ -74,17 +74,3 @@ func (x *D8A7RspBody) GetRemainAtAllCountForGroup() uint32 {
} }
return 0 return 0
} }
func (x *D8A7RspBody) GetPromptMsg1() []byte {
if x != nil {
return x.PromptMsg1
}
return nil
}
func (x *D8A7RspBody) GetPromptMsg2() []byte {
if x != nil {
return x.PromptMsg2
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message D8A7ReqBody { message D8A7ReqBody {
optional uint32 subCmd = 1; optional uint32 subCmd = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0x8fc.proto // source: pb/oidb/oidb0x8fc.proto
package oidb package oidb
@ -29,20 +29,6 @@ func (x *D8FCReqBody) GetShowFlag() int32 {
return 0 return 0
} }
func (x *D8FCReqBody) GetMemLevelInfo() []*D8FCMemberInfo {
if x != nil {
return x.MemLevelInfo
}
return nil
}
func (x *D8FCReqBody) GetLevelName() []*D8FCLevelName {
if x != nil {
return x.LevelName
}
return nil
}
func (x *D8FCReqBody) GetUpdateTime() int32 { func (x *D8FCReqBody) GetUpdateTime() int32 {
if x != nil && x.UpdateTime != nil { if x != nil && x.UpdateTime != nil {
return *x.UpdateTime return *x.UpdateTime
@ -64,20 +50,6 @@ func (x *D8FCReqBody) GetGroupOpenAppid() int32 {
return 0 return 0
} }
func (x *D8FCReqBody) GetMsgClientInfo() *D8FCClientInfo {
if x != nil {
return x.MsgClientInfo
}
return nil
}
func (x *D8FCReqBody) GetAuthKey() []byte {
if x != nil {
return x.AuthKey
}
return nil
}
type D8FCMemberInfo struct { type D8FCMemberInfo struct {
Uin *int64 `protobuf:"varint,1,opt"` Uin *int64 `protobuf:"varint,1,opt"`
Point *int32 `protobuf:"varint,2,opt"` Point *int32 `protobuf:"varint,2,opt"`
@ -126,13 +98,6 @@ func (x *D8FCMemberInfo) GetLevel() int32 {
return 0 return 0
} }
func (x *D8FCMemberInfo) GetSpecialTitle() []byte {
if x != nil {
return x.SpecialTitle
}
return nil
}
func (x *D8FCMemberInfo) GetSpecialTitleExpireTime() int32 { func (x *D8FCMemberInfo) GetSpecialTitleExpireTime() int32 {
if x != nil && x.SpecialTitleExpireTime != nil { if x != nil && x.SpecialTitleExpireTime != nil {
return *x.SpecialTitleExpireTime return *x.SpecialTitleExpireTime
@ -140,41 +105,6 @@ func (x *D8FCMemberInfo) GetSpecialTitleExpireTime() int32 {
return 0 return 0
} }
func (x *D8FCMemberInfo) GetUinName() []byte {
if x != nil {
return x.UinName
}
return nil
}
func (x *D8FCMemberInfo) GetMemberCardName() []byte {
if x != nil {
return x.MemberCardName
}
return nil
}
func (x *D8FCMemberInfo) GetPhone() []byte {
if x != nil {
return x.Phone
}
return nil
}
func (x *D8FCMemberInfo) GetEmail() []byte {
if x != nil {
return x.Email
}
return nil
}
func (x *D8FCMemberInfo) GetRemark() []byte {
if x != nil {
return x.Remark
}
return nil
}
func (x *D8FCMemberInfo) GetGender() int32 { func (x *D8FCMemberInfo) GetGender() int32 {
if x != nil && x.Gender != nil { if x != nil && x.Gender != nil {
return *x.Gender return *x.Gender
@ -182,13 +112,6 @@ func (x *D8FCMemberInfo) GetGender() int32 {
return 0 return 0
} }
func (x *D8FCMemberInfo) GetJob() []byte {
if x != nil {
return x.Job
}
return nil
}
func (x *D8FCMemberInfo) GetTribeLevel() int32 { func (x *D8FCMemberInfo) GetTribeLevel() int32 {
if x != nil && x.TribeLevel != nil { if x != nil && x.TribeLevel != nil {
return *x.TribeLevel return *x.TribeLevel
@ -203,20 +126,6 @@ func (x *D8FCMemberInfo) GetTribePoint() int32 {
return 0 return 0
} }
func (x *D8FCMemberInfo) GetRichCardName() []*D8FCCardNameElem {
if x != nil {
return x.RichCardName
}
return nil
}
func (x *D8FCMemberInfo) GetCommRichCardName() []byte {
if x != nil {
return x.CommRichCardName
}
return nil
}
type D8FCCardNameElem struct { type D8FCCardNameElem struct {
EnumCardType *int32 `protobuf:"varint,1,opt"` EnumCardType *int32 `protobuf:"varint,1,opt"`
Value []byte `protobuf:"bytes,2,opt"` Value []byte `protobuf:"bytes,2,opt"`
@ -229,13 +138,6 @@ func (x *D8FCCardNameElem) GetEnumCardType() int32 {
return 0 return 0
} }
func (x *D8FCCardNameElem) GetValue() []byte {
if x != nil {
return x.Value
}
return nil
}
type D8FCLevelName struct { type D8FCLevelName struct {
Level *int32 `protobuf:"varint,1,opt"` Level *int32 `protobuf:"varint,1,opt"`
Name *string `protobuf:"bytes,2,opt"` Name *string `protobuf:"bytes,2,opt"`
@ -278,28 +180,7 @@ type D8FCCommCardNameBuf struct {
RichCardName []*D8FCRichCardNameElem `protobuf:"bytes,1,rep"` RichCardName []*D8FCRichCardNameElem `protobuf:"bytes,1,rep"`
} }
func (x *D8FCCommCardNameBuf) GetRichCardName() []*D8FCRichCardNameElem {
if x != nil {
return x.RichCardName
}
return nil
}
type D8FCRichCardNameElem struct { type D8FCRichCardNameElem struct {
Ctrl []byte `protobuf:"bytes,1,opt"` Ctrl []byte `protobuf:"bytes,1,opt"`
Text []byte `protobuf:"bytes,2,opt"` Text []byte `protobuf:"bytes,2,opt"`
} }
func (x *D8FCRichCardNameElem) GetCtrl() []byte {
if x != nil {
return x.Ctrl
}
return nil
}
func (x *D8FCRichCardNameElem) GetText() []byte {
if x != nil {
return x.Text
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message D8FCReqBody { message D8FCReqBody {
optional int64 groupCode = 1; optional int64 groupCode = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0x990.proto // source: pb/oidb/oidb0x990.proto
package oidb package oidb
@ -8,52 +8,17 @@ type TranslateReqBody struct {
BatchTranslateReq *BatchTranslateReq `protobuf:"bytes,2,opt"` BatchTranslateReq *BatchTranslateReq `protobuf:"bytes,2,opt"`
} }
func (x *TranslateReqBody) GetBatchTranslateReq() *BatchTranslateReq {
if x != nil {
return x.BatchTranslateReq
}
return nil
}
type TranslateRspBody struct { type TranslateRspBody struct {
// TranslateRsp translate_rsp = 1; // TranslateRsp translate_rsp = 1;
BatchTranslateRsp *BatchTranslateRsp `protobuf:"bytes,2,opt"` BatchTranslateRsp *BatchTranslateRsp `protobuf:"bytes,2,opt"`
} }
func (x *TranslateRspBody) GetBatchTranslateRsp() *BatchTranslateRsp {
if x != nil {
return x.BatchTranslateRsp
}
return nil
}
type BatchTranslateReq struct { type BatchTranslateReq struct {
SrcLanguage string `protobuf:"bytes,1,opt"` SrcLanguage string `protobuf:"bytes,1,opt"`
DstLanguage string `protobuf:"bytes,2,opt"` DstLanguage string `protobuf:"bytes,2,opt"`
SrcTextList []string `protobuf:"bytes,3,rep"` SrcTextList []string `protobuf:"bytes,3,rep"`
} }
func (x *BatchTranslateReq) GetSrcLanguage() string {
if x != nil {
return x.SrcLanguage
}
return ""
}
func (x *BatchTranslateReq) GetDstLanguage() string {
if x != nil {
return x.DstLanguage
}
return ""
}
func (x *BatchTranslateReq) GetSrcTextList() []string {
if x != nil {
return x.SrcTextList
}
return nil
}
type BatchTranslateRsp struct { type BatchTranslateRsp struct {
ErrorCode int32 `protobuf:"varint,1,opt"` ErrorCode int32 `protobuf:"varint,1,opt"`
ErrorMsg []byte `protobuf:"bytes,2,opt"` ErrorMsg []byte `protobuf:"bytes,2,opt"`
@ -62,45 +27,3 @@ type BatchTranslateRsp struct {
SrcTextList []string `protobuf:"bytes,5,rep"` SrcTextList []string `protobuf:"bytes,5,rep"`
DstTextList []string `protobuf:"bytes,6,rep"` DstTextList []string `protobuf:"bytes,6,rep"`
} }
func (x *BatchTranslateRsp) GetErrorCode() int32 {
if x != nil {
return x.ErrorCode
}
return 0
}
func (x *BatchTranslateRsp) GetErrorMsg() []byte {
if x != nil {
return x.ErrorMsg
}
return nil
}
func (x *BatchTranslateRsp) GetSrcLanguage() string {
if x != nil {
return x.SrcLanguage
}
return ""
}
func (x *BatchTranslateRsp) GetDstLanguage() string {
if x != nil {
return x.DstLanguage
}
return ""
}
func (x *BatchTranslateRsp) GetSrcTextList() []string {
if x != nil {
return x.SrcTextList
}
return nil
}
func (x *BatchTranslateRsp) GetDstTextList() []string {
if x != nil {
return x.DstTextList
}
return nil
}

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message TranslateReqBody { message TranslateReqBody {
// TranslateReq translate_req = 1; // TranslateReq translate_req = 1;

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message D79ReqBody { message D79ReqBody {
uint64 seq = 1; uint64 seq = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0xb77.proto // source: pb/oidb/oidb0xb77.proto
package oidb package oidb
@ -17,83 +17,6 @@ type DB77ReqBody struct {
RecvGuildId uint64 `protobuf:"varint,19,opt"` RecvGuildId uint64 `protobuf:"varint,19,opt"`
} }
func (x *DB77ReqBody) GetAppId() uint64 {
if x != nil {
return x.AppId
}
return 0
}
func (x *DB77ReqBody) GetAppType() uint32 {
if x != nil {
return x.AppType
}
return 0
}
func (x *DB77ReqBody) GetMsgStyle() uint32 {
if x != nil {
return x.MsgStyle
}
return 0
}
func (x *DB77ReqBody) GetSenderUin() uint64 {
if x != nil {
return x.SenderUin
}
return 0
}
func (x *DB77ReqBody) GetClientInfo() *DB77ClientInfo {
if x != nil {
return x.ClientInfo
}
return nil
}
func (x *DB77ReqBody) GetTextMsg() string {
if x != nil {
return x.TextMsg
}
return ""
}
func (x *DB77ReqBody) GetExtInfo() *DB77ExtInfo {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *DB77ReqBody) GetSendType() uint32 {
if x != nil {
return x.SendType
}
return 0
}
func (x *DB77ReqBody) GetRecvUin() uint64 {
if x != nil {
return x.RecvUin
}
return 0
}
func (x *DB77ReqBody) GetRichMsgBody() *DB77RichMsgBody {
if x != nil {
return x.RichMsgBody
}
return nil
}
func (x *DB77ReqBody) GetRecvGuildId() uint64 {
if x != nil {
return x.RecvGuildId
}
return 0
}
type DB77ClientInfo struct { type DB77ClientInfo struct {
Platform uint32 `protobuf:"varint,1,opt"` Platform uint32 `protobuf:"varint,1,opt"`
SdkVersion string `protobuf:"bytes,2,opt"` SdkVersion string `protobuf:"bytes,2,opt"`
@ -103,48 +26,6 @@ type DB77ClientInfo struct {
PcSign string `protobuf:"bytes,6,opt"` PcSign string `protobuf:"bytes,6,opt"`
} }
func (x *DB77ClientInfo) GetPlatform() uint32 {
if x != nil {
return x.Platform
}
return 0
}
func (x *DB77ClientInfo) GetSdkVersion() string {
if x != nil {
return x.SdkVersion
}
return ""
}
func (x *DB77ClientInfo) GetAndroidPackageName() string {
if x != nil {
return x.AndroidPackageName
}
return ""
}
func (x *DB77ClientInfo) GetAndroidSignature() string {
if x != nil {
return x.AndroidSignature
}
return ""
}
func (x *DB77ClientInfo) GetIosBundleId() string {
if x != nil {
return x.IosBundleId
}
return ""
}
func (x *DB77ClientInfo) GetPcSign() string {
if x != nil {
return x.PcSign
}
return ""
}
type DB77ExtInfo struct { type DB77ExtInfo struct {
CustomFeatureId []uint32 `protobuf:"varint,11,rep"` CustomFeatureId []uint32 `protobuf:"varint,11,rep"`
ApnsWording string `protobuf:"bytes,12,opt"` ApnsWording string `protobuf:"bytes,12,opt"`
@ -153,41 +34,6 @@ type DB77ExtInfo struct {
MsgSeq uint64 `protobuf:"varint,15,opt"` MsgSeq uint64 `protobuf:"varint,15,opt"`
} }
func (x *DB77ExtInfo) GetCustomFeatureId() []uint32 {
if x != nil {
return x.CustomFeatureId
}
return nil
}
func (x *DB77ExtInfo) GetApnsWording() string {
if x != nil {
return x.ApnsWording
}
return ""
}
func (x *DB77ExtInfo) GetGroupSaveDbFlag() uint32 {
if x != nil {
return x.GroupSaveDbFlag
}
return 0
}
func (x *DB77ExtInfo) GetReceiverAppId() uint32 {
if x != nil {
return x.ReceiverAppId
}
return 0
}
func (x *DB77ExtInfo) GetMsgSeq() uint64 {
if x != nil {
return x.MsgSeq
}
return 0
}
type DB77RichMsgBody struct { type DB77RichMsgBody struct {
Title string `protobuf:"bytes,10,opt"` Title string `protobuf:"bytes,10,opt"`
Summary string `protobuf:"bytes,11,opt"` Summary string `protobuf:"bytes,11,opt"`
@ -197,52 +43,3 @@ type DB77RichMsgBody struct {
Action string `protobuf:"bytes,15,opt"` Action string `protobuf:"bytes,15,opt"`
MusicUrl string `protobuf:"bytes,16,opt"` //ImageInfo imageInfo = 17; MusicUrl string `protobuf:"bytes,16,opt"` //ImageInfo imageInfo = 17;
} }
func (x *DB77RichMsgBody) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *DB77RichMsgBody) GetSummary() string {
if x != nil {
return x.Summary
}
return ""
}
func (x *DB77RichMsgBody) GetBrief() string {
if x != nil {
return x.Brief
}
return ""
}
func (x *DB77RichMsgBody) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *DB77RichMsgBody) GetPictureUrl() string {
if x != nil {
return x.PictureUrl
}
return ""
}
func (x *DB77RichMsgBody) GetAction() string {
if x != nil {
return x.Action
}
return ""
}
func (x *DB77RichMsgBody) GetMusicUrl() string {
if x != nil {
return x.MusicUrl
}
return ""
}

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message DB77ReqBody { message DB77ReqBody {
uint64 appId = 1; uint64 appId = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0xbcb.proto // source: pb/oidb/oidb0xbcb.proto
package oidb package oidb
@ -23,13 +23,6 @@ type CheckUrlReq struct {
Qua *string `protobuf:"bytes,17,opt"` Qua *string `protobuf:"bytes,17,opt"`
} }
func (x *CheckUrlReq) GetUrl() []string {
if x != nil {
return x.Url
}
return nil
}
func (x *CheckUrlReq) GetRefer() string { func (x *CheckUrlReq) GetRefer() string {
if x != nil && x.Refer != nil { if x != nil && x.Refer != nil {
return *x.Refer return *x.Refer
@ -121,13 +114,6 @@ func (x *CheckUrlReq) GetIsFinish() bool {
return false return false
} }
func (x *CheckUrlReq) GetSrcUrls() []string {
if x != nil {
return x.SrcUrls
}
return nil
}
func (x *CheckUrlReq) GetSrcPlatform() uint32 { func (x *CheckUrlReq) GetSrcPlatform() uint32 {
if x != nil && x.SrcPlatform != nil { if x != nil && x.SrcPlatform != nil {
return *x.SrcPlatform return *x.SrcPlatform
@ -230,13 +216,6 @@ type CheckUrlRsp struct {
NextReqDuration *uint32 `protobuf:"varint,2,opt"` NextReqDuration *uint32 `protobuf:"varint,2,opt"`
} }
func (x *CheckUrlRsp) GetResults() []*UrlCheckResult {
if x != nil {
return x.Results
}
return nil
}
func (x *CheckUrlRsp) GetNextReqDuration() uint32 { func (x *CheckUrlRsp) GetNextReqDuration() uint32 {
if x != nil && x.NextReqDuration != nil { if x != nil && x.NextReqDuration != nil {
return *x.NextReqDuration return *x.NextReqDuration
@ -256,13 +235,6 @@ func (x *DBCBReqBody) GetNotUseCache() int32 {
return 0 return 0
} }
func (x *DBCBReqBody) GetCheckUrlReq() *CheckUrlReq {
if x != nil {
return x.CheckUrlReq
}
return nil
}
type DBCBRspBody struct { type DBCBRspBody struct {
Wording *string `protobuf:"bytes,1,opt"` Wording *string `protobuf:"bytes,1,opt"`
CheckUrlRsp *CheckUrlRsp `protobuf:"bytes,10,opt"` CheckUrlRsp *CheckUrlRsp `protobuf:"bytes,10,opt"`
@ -275,13 +247,6 @@ func (x *DBCBRspBody) GetWording() string {
return "" return ""
} }
func (x *DBCBRspBody) GetCheckUrlRsp() *CheckUrlRsp {
if x != nil {
return x.CheckUrlRsp
}
return nil
}
type UrlCheckResult struct { type UrlCheckResult struct {
Url *string `protobuf:"bytes,1,opt"` Url *string `protobuf:"bytes,1,opt"`
Result *uint32 `protobuf:"varint,2,opt"` Result *uint32 `protobuf:"varint,2,opt"`

View File

@ -1,6 +1,6 @@
syntax = "proto2"; syntax = "proto2";
option go_package = "./;oidb"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb/oidb";
message CheckUrlReq { message CheckUrlReq {
repeated string url = 1; repeated string url = 1;

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0xD79.proto // source: pb/oidb/oidb0xD79.proto
package oidb package oidb
@ -13,55 +13,6 @@ type D79ReqBody struct {
WordExt []byte `protobuf:"bytes,7,opt"` WordExt []byte `protobuf:"bytes,7,opt"`
} }
func (x *D79ReqBody) GetSeq() uint64 {
if x != nil {
return x.Seq
}
return 0
}
func (x *D79ReqBody) GetUin() uint64 {
if x != nil {
return x.Uin
}
return 0
}
func (x *D79ReqBody) GetCompressFlag() uint32 {
if x != nil {
return x.CompressFlag
}
return 0
}
func (x *D79ReqBody) GetContent() []byte {
if x != nil {
return x.Content
}
return nil
}
func (x *D79ReqBody) GetSenderUin() uint64 {
if x != nil {
return x.SenderUin
}
return 0
}
func (x *D79ReqBody) GetQua() []byte {
if x != nil {
return x.Qua
}
return nil
}
func (x *D79ReqBody) GetWordExt() []byte {
if x != nil {
return x.WordExt
}
return nil
}
type D79RspBody struct { type D79RspBody struct {
Ret uint32 `protobuf:"varint,1,opt"` Ret uint32 `protobuf:"varint,1,opt"`
Seq uint64 `protobuf:"varint,2,opt"` Seq uint64 `protobuf:"varint,2,opt"`
@ -70,48 +21,6 @@ type D79RspBody struct {
Content *D79Content `protobuf:"bytes,5,opt"` Content *D79Content `protobuf:"bytes,5,opt"`
} }
func (x *D79RspBody) GetRet() uint32 {
if x != nil {
return x.Ret
}
return 0
}
func (x *D79RspBody) GetSeq() uint64 {
if x != nil {
return x.Seq
}
return 0
}
func (x *D79RspBody) GetUin() uint64 {
if x != nil {
return x.Uin
}
return 0
}
func (x *D79RspBody) GetCompressFlag() uint32 {
if x != nil {
return x.CompressFlag
}
return 0
}
func (x *D79RspBody) GetContent() *D79Content {
if x != nil {
return x.Content
}
return nil
}
type D79Content struct { type D79Content struct {
SliceContent [][]byte `protobuf:"bytes,1,rep"` SliceContent [][]byte `protobuf:"bytes,1,rep"`
} }
func (x *D79Content) GetSliceContent() [][]byte {
if x != nil {
return x.SliceContent
}
return nil
}

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-golite. DO NOT EDIT. // Code generated by protoc-gen-golite. DO NOT EDIT.
// source: oidb0xe07.proto // source: pb/oidb/oidb0xe07.proto
package oidb package oidb
@ -10,34 +10,6 @@ type DE07ReqBody struct {
OcrReqBody *OCRReqBody `protobuf:"bytes,10,opt"` OcrReqBody *OCRReqBody `protobuf:"bytes,10,opt"`
} }
func (x *DE07ReqBody) GetVersion() int32 {
if x != nil {
return x.Version
}
return 0
}
func (x *DE07ReqBody) GetClient() int32 {
if x != nil {
return x.Client
}
return 0
}
func (x *DE07ReqBody) GetEntrance() int32 {
if x != nil {
return x.Entrance
}
return 0
}
func (x *DE07ReqBody) GetOcrReqBody() *OCRReqBody {
if x != nil {
return x.OcrReqBody
}
return nil
}
type OCRReqBody struct { type OCRReqBody struct {
ImageUrl string `protobuf:"bytes,1,opt"` ImageUrl string `protobuf:"bytes,1,opt"`
LanguageType string `protobuf:"bytes,2,opt"` LanguageType string `protobuf:"bytes,2,opt"`
@ -50,69 +22,6 @@ type OCRReqBody struct {
IsCut bool `protobuf:"varint,15,opt"` IsCut bool `protobuf:"varint,15,opt"`
} }
func (x *OCRReqBody) GetImageUrl() string {
if x != nil {
return x.ImageUrl
}
return ""
}
func (x *OCRReqBody) GetLanguageType() string {
if x != nil {
return x.LanguageType
}
return ""
}
func (x *OCRReqBody) GetScene() string {
if x != nil {
return x.Scene
}
return ""
}
func (x *OCRReqBody) GetOriginMd5() string {
if x != nil {
return x.OriginMd5
}
return ""
}
func (x *OCRReqBody) GetAfterCompressMd5() string {
if x != nil {
return x.AfterCompressMd5
}
return ""
}
func (x *OCRReqBody) GetAfterCompressFileSize() int32 {
if x != nil {
return x.AfterCompressFileSize
}
return 0
}
func (x *OCRReqBody) GetAfterCompressWeight() int32 {
if x != nil {
return x.AfterCompressWeight
}
return 0
}
func (x *OCRReqBody) GetAfterCompressHeight() int32 {
if x != nil {
return x.AfterCompressHeight
}
return 0
}
func (x *OCRReqBody) GetIsCut() bool {
if x != nil {
return x.IsCut
}
return false
}
type DE07RspBody struct { type DE07RspBody struct {
RetCode int32 `protobuf:"varint,1,opt"` RetCode int32 `protobuf:"varint,1,opt"`
ErrMsg string `protobuf:"bytes,2,opt"` ErrMsg string `protobuf:"bytes,2,opt"`
@ -120,34 +29,6 @@ type DE07RspBody struct {
OcrRspBody *OCRRspBody `protobuf:"bytes,10,opt"` OcrRspBody *OCRRspBody `protobuf:"bytes,10,opt"`
} }
func (x *DE07RspBody) GetRetCode() int32 {
if x != nil {
return x.RetCode
}
return 0
}
func (x *DE07RspBody) GetErrMsg() string {
if x != nil {
return x.ErrMsg
}
return ""
}
func (x *DE07RspBody) GetWording() string {
if x != nil {
return x.Wording
}
return ""
}
func (x *DE07RspBody) GetOcrRspBody() *OCRRspBody {
if x != nil {
return x.OcrRspBody
}
return nil
}
type TextDetection struct { type TextDetection struct {
DetectedText string `protobuf:"bytes,1,opt"` DetectedText string `protobuf:"bytes,1,opt"`
Confidence int32 `protobuf:"varint,2,opt"` Confidence int32 `protobuf:"varint,2,opt"`
@ -155,83 +36,20 @@ type TextDetection struct {
AdvancedInfo string `protobuf:"bytes,4,opt"` AdvancedInfo string `protobuf:"bytes,4,opt"`
} }
func (x *TextDetection) GetDetectedText() string {
if x != nil {
return x.DetectedText
}
return ""
}
func (x *TextDetection) GetConfidence() int32 {
if x != nil {
return x.Confidence
}
return 0
}
func (x *TextDetection) GetPolygon() *Polygon {
if x != nil {
return x.Polygon
}
return nil
}
func (x *TextDetection) GetAdvancedInfo() string {
if x != nil {
return x.AdvancedInfo
}
return ""
}
type Polygon struct { type Polygon struct {
Coordinates []*Coordinate `protobuf:"bytes,1,rep"` Coordinates []*Coordinate `protobuf:"bytes,1,rep"`
} }
func (x *Polygon) GetCoordinates() []*Coordinate {
if x != nil {
return x.Coordinates
}
return nil
}
type Coordinate struct { type Coordinate struct {
X int32 `protobuf:"varint,1,opt"` X int32 `protobuf:"varint,1,opt"`
Y int32 `protobuf:"varint,2,opt"` Y int32 `protobuf:"varint,2,opt"`
} }
func (x *Coordinate) GetX() int32 {
if x != nil {
return x.X
}
return 0
}
func (x *Coordinate) GetY() int32 {
if x != nil {
return x.Y
}
return 0
}
type Language struct { type Language struct {
Language string `protobuf:"bytes,1,opt"` Language string `protobuf:"bytes,1,opt"`
LanguageDesc string `protobuf:"bytes,2,opt"` LanguageDesc string `protobuf:"bytes,2,opt"`
} }
func (x *Language) GetLanguage() string {
if x != nil {
return x.Language
}
return ""
}
func (x *Language) GetLanguageDesc() string {
if x != nil {
return x.LanguageDesc
}
return ""
}
type OCRRspBody struct { type OCRRspBody struct {
TextDetections []*TextDetection `protobuf:"bytes,1,rep"` TextDetections []*TextDetection `protobuf:"bytes,1,rep"`
Language string `protobuf:"bytes,2,opt"` Language string `protobuf:"bytes,2,opt"`
@ -242,59 +60,3 @@ type OCRRspBody struct {
AfterCompressWeight int32 `protobuf:"varint,111,opt"` AfterCompressWeight int32 `protobuf:"varint,111,opt"`
AfterCompressHeight int32 `protobuf:"varint,112,opt"` AfterCompressHeight int32 `protobuf:"varint,112,opt"`
} }
func (x *OCRRspBody) GetTextDetections() []*TextDetection {
if x != nil {
return x.TextDetections
}
return nil
}
func (x *OCRRspBody) GetLanguage() string {
if x != nil {
return x.Language
}
return ""
}
func (x *OCRRspBody) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *OCRRspBody) GetOcrLanguageList() []string {
if x != nil {
return x.OcrLanguageList
}
return nil
}
func (x *OCRRspBody) GetDstTranslateLanguageList() []string {
if x != nil {
return x.DstTranslateLanguageList
}
return nil
}
func (x *OCRRspBody) GetLanguageList() []*Language {
if x != nil {
return x.LanguageList
}
return nil
}
func (x *OCRRspBody) GetAfterCompressWeight() int32 {
if x != nil {
return x.AfterCompressWeight
}
return 0
}
func (x *OCRRspBody) GetAfterCompressHeight() int32 {
if x != nil {
return x.AfterCompressHeight
}
return 0
}

Some files were not shown because too many files have changed in this diff Show More