mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
f414ad7a5a
@ -10,7 +10,7 @@ import (
|
||||
|
||||
func (c *QQClient) buildOfflineFileDownloadRequestPacket(uuid []byte) (uint16, []byte) {
|
||||
seq := c.nextSeq()
|
||||
req := &cmd0x346.ReqBody{
|
||||
req := &cmd0x346.C346ReqBody{
|
||||
Cmd: 1200,
|
||||
Seq: int32(seq),
|
||||
BusinessId: 3,
|
||||
@ -30,7 +30,7 @@ func (c *QQClient) buildOfflineFileDownloadRequestPacket(uuid []byte) (uint16, [
|
||||
}
|
||||
|
||||
func decodeOfflineFileDownloadResponse(c *QQClient, _ uint16, payload []byte) (interface{}, error) {
|
||||
rsp := cmd0x346.RspBody{}
|
||||
rsp := cmd0x346.C346RspBody{}
|
||||
if err := proto.Unmarshal(payload, &rsp); err != nil {
|
||||
c.Error("unmarshal cmd0x346 rsp body error: %v", err)
|
||||
return nil, err
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -354,7 +354,7 @@ message RenewFileRsp {
|
||||
int32 retCode = 1;
|
||||
string retMsg = 2;
|
||||
}
|
||||
message ReqBody {
|
||||
message C346ReqBody {
|
||||
int32 cmd = 1;
|
||||
int32 seq = 2;
|
||||
RecvListQueryReq recvListQueryReq = 3;
|
||||
@ -383,7 +383,7 @@ message ReqBody {
|
||||
ApplyGetTrafficReq applyGetTrafficReq = 90002;
|
||||
ExtensionReq extensionReq = 99999;
|
||||
}
|
||||
message RspBody {
|
||||
message C346RspBody {
|
||||
int32 cmd = 1;
|
||||
int32 seq = 2;
|
||||
RecvListQueryRsp recvListQueryRsp = 3;
|
||||
|
Loading…
x
Reference in New Issue
Block a user