-
Notifications
You must be signed in to change notification settings - Fork 315
/
Copy pathcmd0x388.proto
255 lines (233 loc) · 7.22 KB
/
cmd0x388.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
syntax = "proto2";
option go_package = "github.com/Mrs4s/MiraiGo/client/pb/cmd0x388";
message DelImgReq {
optional uint64 srcUin = 1;
optional uint64 dstUin = 2;
optional uint32 reqTerm = 3;
optional uint32 reqPlatformType = 4;
optional uint32 buType = 5;
optional bytes buildVer = 6;
optional bytes fileResid = 7;
optional uint32 picWidth = 8;
optional uint32 picHeight = 9;
}
message DelImgRsp {
optional uint32 result = 1;
optional bytes failMsg = 2;
optional bytes fileResid = 3;
}
message ExpRoamExtendInfo {
optional bytes resid = 1;
}
message ExpRoamPicInfo {
optional uint32 shopFlag = 1;
optional uint32 pkgId = 2;
optional bytes picId = 3;
}
message ExtensionCommPicTryUp {
repeated bytes extinfo = 1;
}
message ExtensionExpRoamTryUp {
repeated ExpRoamPicInfo exproamPicInfo = 1;
}
message GetImgUrlReq {
optional uint64 groupCode = 1;
optional uint64 dstUin = 2;
optional uint64 fileid = 3;
optional bytes fileMd5 = 4;
optional uint32 urlFlag = 5;
optional uint32 urlType = 6;
optional uint32 reqTerm = 7;
optional uint32 reqPlatformType = 8;
optional uint32 innerIp = 9;
optional uint32 buType = 10;
optional bytes buildVer = 11;
optional uint64 fileId = 12;
optional uint64 fileSize = 13;
optional uint32 originalPic = 14;
optional uint32 retryReq = 15;
optional uint32 fileHeight = 16;
optional uint32 fileWidth = 17;
optional uint32 picType = 18;
optional uint32 picUpTimestamp = 19;
optional uint32 reqTransferType = 20;
optional uint64 qqmeetGuildId = 21;
optional uint64 qqmeetChannelId = 22;
optional bytes downloadIndex = 23;
}
message GetImgUrlRsp {
optional uint64 fileid = 1;
optional bytes fileMd5 = 2;
optional uint32 result = 3;
optional bytes failMsg = 4;
optional ImgInfo imgInfo = 5;
repeated bytes thumbDownUrl = 6;
repeated bytes originalDownUrl = 7;
repeated bytes bigDownUrl = 8;
repeated uint32 downIp = 9;
repeated uint32 downPort = 10;
optional bytes downDomain = 11;
optional bytes thumbDownPara = 12;
optional bytes originalDownPara = 13;
optional bytes bigDownPara = 14;
optional uint64 fileId = 15;
optional uint32 autoDownType = 16;
repeated uint32 orderDownType = 17;
optional bytes bigThumbDownPara = 19;
optional uint32 httpsUrlFlag = 20;
repeated IPv6Info downIp6 = 26;
optional bytes clientIp6 = 27;
}
message GetPttUrlReq {
optional uint64 groupCode = 1;
optional uint64 dstUin = 2;
optional uint64 fileid = 3;
optional bytes fileMd5 = 4;
optional uint32 reqTerm = 5;
optional uint32 reqPlatformType = 6;
optional uint32 innerIp = 7;
optional uint32 buType = 8;
optional bytes buildVer = 9;
optional uint64 fileId = 10;
optional bytes fileKey = 11;
optional uint32 codec = 12;
optional uint32 buId = 13;
optional uint32 reqTransferType = 14;
optional uint32 isAuto = 15;
}
message GetPttUrlRsp {
optional uint64 fileid = 1;
optional bytes fileMd5 = 2;
optional uint32 result = 3;
optional bytes failMsg = 4;
repeated bytes downUrl = 5;
repeated uint32 downIp = 6;
repeated uint32 downPort = 7;
optional bytes downDomain = 8;
optional bytes downPara = 9;
optional uint64 fileId = 10;
optional uint32 transferType = 11;
optional uint32 allowRetry = 12;
repeated IPv6Info downIp6 = 26;
optional bytes clientIp6 = 27;
optional string domain = 28;
}
message IPv6Info {
optional bytes ip6 = 1;
optional uint32 port = 2;
}
message ImgInfo {
optional bytes fileMd5 = 1;
optional uint32 fileType = 2;
optional uint64 fileSize = 3;
optional uint32 fileWidth = 4;
optional uint32 fileHeight = 5;
}
message PicSize {
optional uint32 original = 1;
optional uint32 thumb = 2;
optional uint32 high = 3;
}
message D388ReqBody {
optional uint32 netType = 1;
optional uint32 subcmd = 2;
repeated TryUpImgReq tryupImgReq = 3;
repeated GetImgUrlReq getimgUrlReq = 4;
repeated TryUpPttReq tryupPttReq = 5;
repeated GetPttUrlReq getpttUrlReq = 6;
optional uint32 commandId = 7;
repeated DelImgReq delImgReq = 8;
optional bytes extension = 1001;
}
message D388RspBody {
optional uint32 clientIp = 1;
optional uint32 subcmd = 2;
repeated D388TryUpImgRsp tryupImgRsp = 3;
repeated GetImgUrlRsp getimgUrlRsp = 4;
repeated TryUpPttRsp tryupPttRsp = 5;
repeated GetPttUrlRsp getpttUrlRsp = 6;
repeated DelImgRsp delImgRsp = 7;
}
message TryUpImgReq {
optional uint64 groupCode = 1;
optional uint64 srcUin = 2;
optional uint64 fileId = 3;
optional bytes fileMd5 = 4;
optional uint64 fileSize = 5;
optional bytes fileName = 6;
optional uint32 srcTerm = 7;
optional uint32 platformType = 8;
optional uint32 buType = 9;
optional uint32 picWidth = 10;
optional uint32 picHeight = 11;
optional uint32 picType = 12;
optional bytes buildVer = 13;
optional uint32 innerIp = 14;
optional uint32 appPicType = 15;
optional uint32 originalPic = 16;
optional bytes fileIndex = 17;
optional uint64 dstUin = 18;
optional uint32 srvUpload = 19;
optional bytes transferUrl = 20;
optional uint64 qqmeetGuildId = 21;
optional uint64 qqmeetChannelId = 22;
}
message D388TryUpImgRsp {
optional uint64 fileId = 1;
optional uint32 result = 2;
optional bytes failMsg = 3;
optional bool fileExit = 4;
optional ImgInfo imgInfo = 5;
repeated uint32 upIp = 6;
repeated uint32 upPort = 7;
optional bytes upUkey = 8;
optional uint64 fileid = 9;
optional uint64 upOffset = 10;
optional uint64 blockSize = 11;
optional bool newBigChan = 12;
repeated IPv6Info upIp6 = 26;
optional bytes clientIp6 = 27;
optional bytes downloadIndex = 28;
optional TryUpInfo4Busi info4Busi = 1001;
}
message TryUpInfo4Busi {
optional bytes downDomain = 1;
optional bytes thumbDownUrl = 2;
optional bytes originalDownUrl = 3;
optional bytes bigDownUrl = 4;
optional bytes fileResid = 5;
}
message TryUpPttReq {
optional uint64 groupCode = 1;
optional uint64 srcUin = 2;
optional uint64 fileId = 3;
optional bytes fileMd5 = 4;
optional uint64 fileSize = 5;
optional bytes fileName = 6;
optional uint32 srcTerm = 7;
optional uint32 platformType = 8;
optional uint32 buType = 9;
optional bytes buildVer = 10;
optional uint32 innerIp = 11;
optional uint32 voiceLength = 12;
optional bool newUpChan = 13;
optional uint32 codec = 14;
optional uint32 voiceType = 15;
optional uint32 buId = 16;
}
message TryUpPttRsp {
optional uint64 fileId = 1;
optional uint32 result = 2;
optional bytes failMsg = 3;
optional bool fileExit = 4;
repeated uint32 upIp = 5;
repeated uint32 upPort = 6;
optional bytes upUkey = 7;
optional uint64 fileid = 8;
optional uint64 upOffset = 9;
optional uint64 blockSize = 10;
optional bytes fileKey = 11;
optional uint32 channelType = 12;
repeated IPv6Info upIp6 = 26;
optional bytes clientIp6 = 27;
}