Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
acd11b6e
Commit
acd11b6e
authored
Apr 08, 2020
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make protocol structure classes internal
parent
c8849fd7
Changes
19
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
259 additions
and
259 deletions
+259
-259
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Cmd0x352.kt
...e/mirai/qqandroid/network/protocol/data/proto/Cmd0x352.kt
+10
-10
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Cmd0x388.kt
...e/mirai/qqandroid/network/protocol/data/proto/Cmd0x388.kt
+20
-20
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Cmd0x857.kt
...e/mirai/qqandroid/network/protocol/data/proto/Cmd0x857.kt
+36
-36
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Cmd0x858.kt
...e/mirai/qqandroid/network/protocol/data/proto/Cmd0x858.kt
+7
-7
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Define.kt
...moe/mirai/qqandroid/network/protocol/data/proto/Define.kt
+52
-52
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Group.kt
...amoe/mirai/qqandroid/network/protocol/data/proto/Group.kt
+8
-8
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Highway.kt
...oe/mirai/qqandroid/network/protocol/data/proto/Highway.kt
+49
-49
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/HummerCommelem.kt
...i/qqandroid/network/protocol/data/proto/HummerCommelem.kt
+28
-28
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/LongMsg.kt
...oe/mirai/qqandroid/network/protocol/data/proto/LongMsg.kt
+8
-8
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/MsgRevokeUserDef.kt
...qqandroid/network/protocol/data/proto/MsgRevokeUserDef.kt
+3
-3
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/MsgTransmit.kt
...irai/qqandroid/network/protocol/data/proto/MsgTransmit.kt
+3
-3
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/MultiMsg.kt
...e/mirai/qqandroid/network/protocol/data/proto/MultiMsg.kt
+7
-7
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/OIDB.kt
...mamoe/mirai/qqandroid/network/protocol/data/proto/OIDB.kt
+2
-2
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Oidb0x769.kt
.../mirai/qqandroid/network/protocol/data/proto/Oidb0x769.kt
+10
-10
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/OnlinePush.kt
...mirai/qqandroid/network/protocol/data/proto/OnlinePush.kt
+3
-3
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/PbReserve.kt
.../mirai/qqandroid/network/protocol/data/proto/PbReserve.kt
+6
-6
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/StatSvcGetOnline.kt
...qqandroid/network/protocol/data/proto/StatSvcGetOnline.kt
+3
-3
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/StructMsg.kt
.../mirai/qqandroid/network/protocol/data/proto/StructMsg.kt
+2
-2
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/SyncCookie.kt
...mirai/qqandroid/network/protocol/data/proto/SyncCookie.kt
+2
-2
No files found.
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Cmd0x352.kt
View file @
acd11b6e
...
@@ -17,7 +17,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
...
@@ -17,7 +17,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
@Serializable
@Serializable
internal
class
Cmd0x352
:
ProtoBuf
{
internal
class
Cmd0x352
:
ProtoBuf
{
@Serializable
@Serializable
class
DelImgReq
(
internal
class
DelImgReq
(
@ProtoId
(
1
)
val
srcUin
:
Long
=
0L
,
@ProtoId
(
1
)
val
srcUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
reqTerm
:
Int
=
0
,
@ProtoId
(
3
)
val
reqTerm
:
Int
=
0
,
...
@@ -30,14 +30,14 @@ internal class Cmd0x352 : ProtoBuf {
...
@@ -30,14 +30,14 @@ internal class Cmd0x352 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
DelImgRsp
(
internal
class
DelImgRsp
(
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
2
)
val
failMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
failMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
fileResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
3
)
val
fileResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GetImgUrlReq
(
internal
class
GetImgUrlReq
(
@ProtoId
(
1
)
val
srcUin
:
Long
=
0L
,
@ProtoId
(
1
)
val
srcUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
fileResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
fileResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -55,7 +55,7 @@ internal class Cmd0x352 : ProtoBuf {
...
@@ -55,7 +55,7 @@ internal class Cmd0x352 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GetImgUrlRsp
(
internal
class
GetImgUrlRsp
(
@ProtoId
(
1
)
val
fileResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
fileResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
clientIp
:
Int
=
0
,
@ProtoId
(
2
)
val
clientIp
:
Int
=
0
,
@ProtoId
(
3
)
val
result
:
Int
=
0
,
@ProtoId
(
3
)
val
result
:
Int
=
0
,
...
@@ -78,7 +78,7 @@ internal class Cmd0x352 : ProtoBuf {
...
@@ -78,7 +78,7 @@ internal class Cmd0x352 : ProtoBuf {
@Suppress
(
"ArrayInDataClass"
)
@Suppress
(
"ArrayInDataClass"
)
@Serializable
@Serializable
class
ImgInfo
(
internal
class
ImgInfo
(
@ProtoId
(
1
)
val
fileMd5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
fileMd5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
fileType
:
Int
=
0
,
@ProtoId
(
2
)
val
fileType
:
Int
=
0
,
@ProtoId
(
3
)
val
fileSize
:
Long
=
0L
,
@ProtoId
(
3
)
val
fileSize
:
Long
=
0L
,
...
@@ -89,13 +89,13 @@ internal class Cmd0x352 : ProtoBuf {
...
@@ -89,13 +89,13 @@ internal class Cmd0x352 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
IPv6Info
(
internal
class
IPv6Info
(
@ProtoId
(
1
)
val
ip6
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
ip6
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
port
:
Int
=
0
@ProtoId
(
2
)
val
port
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ReqBody
(
internal
class
ReqBody
(
@ProtoId
(
1
)
val
subcmd
:
Int
=
0
,
//2是GetImgUrlReq 1是UploadImgReq
@ProtoId
(
1
)
val
subcmd
:
Int
=
0
,
//2是GetImgUrlReq 1是UploadImgReq
@ProtoId
(
2
)
val
msgTryupImgReq
:
List
<
TryUpImgReq
>?
=
null
,
// optional
@ProtoId
(
2
)
val
msgTryupImgReq
:
List
<
TryUpImgReq
>?
=
null
,
// optional
@ProtoId
(
3
)
val
msgGetimgUrlReq
:
List
<
GetImgUrlReq
>?
=
null
,
// optional
@ProtoId
(
3
)
val
msgGetimgUrlReq
:
List
<
GetImgUrlReq
>?
=
null
,
// optional
...
@@ -104,7 +104,7 @@ internal class Cmd0x352 : ProtoBuf {
...
@@ -104,7 +104,7 @@ internal class Cmd0x352 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
RspBody
(
internal
class
RspBody
(
@ProtoId
(
1
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
1
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
2
)
val
msgTryupImgRsp
:
List
<
TryUpImgRsp
>?
=
null
,
@ProtoId
(
2
)
val
msgTryupImgRsp
:
List
<
TryUpImgRsp
>?
=
null
,
@ProtoId
(
3
)
val
msgGetimgUrlRsp
:
List
<
GetImgUrlRsp
>?
=
null
,
@ProtoId
(
3
)
val
msgGetimgUrlRsp
:
List
<
GetImgUrlRsp
>?
=
null
,
...
@@ -151,7 +151,7 @@ internal class Cmd0x352 : ProtoBuf {
...
@@ -151,7 +151,7 @@ internal class Cmd0x352 : ProtoBuf {
)
:
ImgReq
)
:
ImgReq
@Serializable
@Serializable
class
TryUpImgRsp
(
internal
class
TryUpImgRsp
(
@ProtoId
(
1
)
val
fileId
:
Long
=
0L
,
@ProtoId
(
1
)
val
fileId
:
Long
=
0L
,
@ProtoId
(
2
)
val
clientIp
:
Int
=
0
,
@ProtoId
(
2
)
val
clientIp
:
Int
=
0
,
@ProtoId
(
3
)
val
result
:
Int
=
0
,
@ProtoId
(
3
)
val
result
:
Int
=
0
,
...
@@ -179,7 +179,7 @@ internal class Cmd0x352 : ProtoBuf {
...
@@ -179,7 +179,7 @@ internal class Cmd0x352 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
TryUpInfo4Busi
(
internal
class
TryUpInfo4Busi
(
@ProtoId
(
1
)
val
fileResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
fileResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
downDomain
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
downDomain
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
thumbDownUrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
thumbDownUrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Cmd0x388.kt
View file @
acd11b6e
...
@@ -17,7 +17,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
...
@@ -17,7 +17,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
@Serializable
@Serializable
internal
class
Cmd0x388
:
ProtoBuf
{
internal
class
Cmd0x388
:
ProtoBuf
{
@Serializable
@Serializable
class
DelImgReq
(
internal
class
DelImgReq
(
@ProtoId
(
1
)
val
srcUin
:
Long
=
0L
,
@ProtoId
(
1
)
val
srcUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
reqTerm
:
Int
=
0
,
@ProtoId
(
3
)
val
reqTerm
:
Int
=
0
,
...
@@ -30,36 +30,36 @@ internal class Cmd0x388 : ProtoBuf {
...
@@ -30,36 +30,36 @@ internal class Cmd0x388 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
DelImgRsp
(
internal
class
DelImgRsp
(
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
2
)
val
failMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
failMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
fileResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
3
)
val
fileResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ExpRoamExtendInfo
(
internal
class
ExpRoamExtendInfo
(
@ProtoId
(
1
)
val
resid
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
1
)
val
resid
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ExpRoamPicInfo
(
internal
class
ExpRoamPicInfo
(
@ProtoId
(
1
)
val
shopFlag
:
Int
=
0
,
@ProtoId
(
1
)
val
shopFlag
:
Int
=
0
,
@ProtoId
(
2
)
val
pkgId
:
Int
=
0
,
@ProtoId
(
2
)
val
pkgId
:
Int
=
0
,
@ProtoId
(
3
)
val
picId
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
3
)
val
picId
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ExtensionCommPicTryUp
(
internal
class
ExtensionCommPicTryUp
(
@ProtoId
(
1
)
val
bytesExtinfo
:
List
<
ByteArray
>?
=
null
@ProtoId
(
1
)
val
bytesExtinfo
:
List
<
ByteArray
>?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ExtensionExpRoamTryUp
(
internal
class
ExtensionExpRoamTryUp
(
@ProtoId
(
1
)
val
msgExproamPicInfo
:
List
<
ExpRoamPicInfo
>?
=
null
@ProtoId
(
1
)
val
msgExproamPicInfo
:
List
<
ExpRoamPicInfo
>?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GetImgUrlReq
(
internal
class
GetImgUrlReq
(
@ProtoId
(
1
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
1
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
2
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
fileid
:
Long
=
0L
,
@ProtoId
(
3
)
val
fileid
:
Long
=
0L
,
...
@@ -83,7 +83,7 @@ internal class Cmd0x388 : ProtoBuf {
...
@@ -83,7 +83,7 @@ internal class Cmd0x388 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GetImgUrlRsp
(
internal
class
GetImgUrlRsp
(
@ProtoId
(
1
)
val
fileid
:
Long
=
0L
,
@ProtoId
(
1
)
val
fileid
:
Long
=
0L
,
@ProtoId
(
2
)
val
fileMd5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
fileMd5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
result
:
Int
=
0
,
@ProtoId
(
3
)
val
result
:
Int
=
0
,
...
@@ -108,7 +108,7 @@ internal class Cmd0x388 : ProtoBuf {
...
@@ -108,7 +108,7 @@ internal class Cmd0x388 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GetPttUrlReq
(
internal
class
GetPttUrlReq
(
@ProtoId
(
1
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
1
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
2
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
fileid
:
Long
=
0L
,
@ProtoId
(
3
)
val
fileid
:
Long
=
0L
,
...
@@ -127,7 +127,7 @@ internal class Cmd0x388 : ProtoBuf {
...
@@ -127,7 +127,7 @@ internal class Cmd0x388 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GetPttUrlRsp
(
internal
class
GetPttUrlRsp
(
@ProtoId
(
1
)
val
fileid
:
Long
=
0L
,
@ProtoId
(
1
)
val
fileid
:
Long
=
0L
,
@ProtoId
(
2
)
val
fileMd5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
fileMd5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
result
:
Int
=
0
,
@ProtoId
(
3
)
val
result
:
Int
=
0
,
...
@@ -147,7 +147,7 @@ internal class Cmd0x388 : ProtoBuf {
...
@@ -147,7 +147,7 @@ internal class Cmd0x388 : ProtoBuf {
@Suppress
(
"ArrayInDataClass"
)
@Suppress
(
"ArrayInDataClass"
)
@Serializable
@Serializable
class
ImgInfo
(
internal
class
ImgInfo
(
@ProtoId
(
1
)
val
fileMd5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
fileMd5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
fileType
:
Int
=
0
,
@ProtoId
(
2
)
val
fileType
:
Int
=
0
,
@ProtoId
(
3
)
val
fileSize
:
Long
=
0L
,
@ProtoId
(
3
)
val
fileSize
:
Long
=
0L
,
...
@@ -160,20 +160,20 @@ internal class Cmd0x388 : ProtoBuf {
...
@@ -160,20 +160,20 @@ internal class Cmd0x388 : ProtoBuf {
}
}
@Serializable
@Serializable
class
IPv6Info
(
internal
class
IPv6Info
(
@ProtoId
(
1
)
val
ip6
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
ip6
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
port
:
Int
=
0
@ProtoId
(
2
)
val
port
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
PicSize
(
internal
class
PicSize
(
@ProtoId
(
1
)
val
original
:
Int
=
0
,
@ProtoId
(
1
)
val
original
:
Int
=
0
,
@ProtoId
(
2
)
val
thumb
:
Int
=
0
,
@ProtoId
(
2
)
val
thumb
:
Int
=
0
,
@ProtoId
(
3
)
val
high
:
Int
=
0
@ProtoId
(
3
)
val
high
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ReqBody
(
internal
class
ReqBody
(
@ProtoId
(
1
)
val
netType
:
Int
=
0
,
@ProtoId
(
1
)
val
netType
:
Int
=
0
,
@ProtoId
(
2
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
2
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
3
)
val
msgTryupImgReq
:
List
<
TryUpImgReq
>?
=
null
,
@ProtoId
(
3
)
val
msgTryupImgReq
:
List
<
TryUpImgReq
>?
=
null
,
...
@@ -186,7 +186,7 @@ internal class Cmd0x388 : ProtoBuf {
...
@@ -186,7 +186,7 @@ internal class Cmd0x388 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
RspBody
(
internal
class
RspBody
(
@ProtoId
(
1
)
val
clientIp
:
Int
=
0
,
@ProtoId
(
1
)
val
clientIp
:
Int
=
0
,
@ProtoId
(
2
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
2
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
3
)
val
msgTryupImgRsp
:
List
<
TryUpImgRsp
>?
=
null
,
@ProtoId
(
3
)
val
msgTryupImgRsp
:
List
<
TryUpImgRsp
>?
=
null
,
...
@@ -197,7 +197,7 @@ internal class Cmd0x388 : ProtoBuf {
...
@@ -197,7 +197,7 @@ internal class Cmd0x388 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
TryUpImgReq
(
internal
class
TryUpImgReq
(
@ProtoId
(
1
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
1
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
2
)
val
srcUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
srcUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
fileId
:
Long
=
0L
,
@ProtoId
(
3
)
val
fileId
:
Long
=
0L
,
...
@@ -221,7 +221,7 @@ internal class Cmd0x388 : ProtoBuf {
...
@@ -221,7 +221,7 @@ internal class Cmd0x388 : ProtoBuf {
)
:
ImgReq
)
:
ImgReq
@Serializable
@Serializable
class
TryUpImgRsp
(
internal
class
TryUpImgRsp
(
@ProtoId
(
1
)
val
fileId
:
Long
=
0L
,
@ProtoId
(
1
)
val
fileId
:
Long
=
0L
,
@ProtoId
(
2
)
val
result
:
Int
=
0
,
@ProtoId
(
2
)
val
result
:
Int
=
0
,
@ProtoId
(
3
)
val
failMsg
:
String
=
""
,
@ProtoId
(
3
)
val
failMsg
:
String
=
""
,
...
@@ -240,7 +240,7 @@ internal class Cmd0x388 : ProtoBuf {
...
@@ -240,7 +240,7 @@ internal class Cmd0x388 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
TryUpInfo4Busi
(
internal
class
TryUpInfo4Busi
(
@ProtoId
(
1
)
val
downDomain
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
downDomain
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
thumbDownUrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
thumbDownUrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
originalDownUrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
originalDownUrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -249,7 +249,7 @@ internal class Cmd0x388 : ProtoBuf {
...
@@ -249,7 +249,7 @@ internal class Cmd0x388 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
TryUpPttReq
(
internal
class
TryUpPttReq
(
@ProtoId
(
1
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
1
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
2
)
val
srcUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
srcUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
fileId
:
Long
=
0L
,
@ProtoId
(
3
)
val
fileId
:
Long
=
0L
,
...
@@ -269,7 +269,7 @@ internal class Cmd0x388 : ProtoBuf {
...
@@ -269,7 +269,7 @@ internal class Cmd0x388 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
TryUpPttRsp
(
internal
class
TryUpPttRsp
(
@ProtoId
(
1
)
val
fileId
:
Long
=
0L
,
@ProtoId
(
1
)
val
fileId
:
Long
=
0L
,
@ProtoId
(
2
)
val
result
:
Int
=
0
,
@ProtoId
(
2
)
val
result
:
Int
=
0
,
@ProtoId
(
3
)
val
failMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
failMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Cmd0x857.kt
View file @
acd11b6e
...
@@ -20,7 +20,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
...
@@ -20,7 +20,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
class
GroupOpenSysMsg
:
ProtoBuf
{
class
GroupOpenSysMsg
:
ProtoBuf
{
@Serializable
@Serializable
class
LightApp
(
internal
class
LightApp
(
@ProtoId
(
1
)
val
app
:
String
=
""
,
@ProtoId
(
1
)
val
app
:
String
=
""
,
@ProtoId
(
2
)
val
view
:
String
=
""
,
@ProtoId
(
2
)
val
view
:
String
=
""
,
@ProtoId
(
3
)
val
desc
:
String
=
""
,
@ProtoId
(
3
)
val
desc
:
String
=
""
,
...
@@ -32,7 +32,7 @@ class GroupOpenSysMsg : ProtoBuf {
...
@@ -32,7 +32,7 @@ class GroupOpenSysMsg : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
RichMsg
(
internal
class
RichMsg
(
@ProtoId
(
1
)
val
title
:
String
=
""
,
@ProtoId
(
1
)
val
title
:
String
=
""
,
@ProtoId
(
2
)
val
desc
:
String
=
""
,
@ProtoId
(
2
)
val
desc
:
String
=
""
,
@ProtoId
(
3
)
val
brief
:
String
=
""
,
@ProtoId
(
3
)
val
brief
:
String
=
""
,
...
@@ -42,7 +42,7 @@ class GroupOpenSysMsg : ProtoBuf {
...
@@ -42,7 +42,7 @@ class GroupOpenSysMsg : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
Sender
(
internal
class
Sender
(
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
2
)
val
nick
:
String
=
""
,
@ProtoId
(
2
)
val
nick
:
String
=
""
,
@ProtoId
(
3
)
val
avatar
:
String
=
""
,
@ProtoId
(
3
)
val
avatar
:
String
=
""
,
...
@@ -50,14 +50,14 @@ class GroupOpenSysMsg : ProtoBuf {
...
@@ -50,14 +50,14 @@ class GroupOpenSysMsg : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
Source
(
internal
class
Source
(
@ProtoId
(
1
)
val
name
:
String
=
""
,
@ProtoId
(
1
)
val
name
:
String
=
""
,
@ProtoId
(
2
)
val
icon
:
String
=
""
,
@ProtoId
(
2
)
val
icon
:
String
=
""
,
@ProtoId
(
3
)
val
url
:
String
=
""
@ProtoId
(
3
)
val
url
:
String
=
""
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
SysMsgBody
(
internal
class
SysMsgBody
(
@ProtoId
(
1
)
val
groupId
:
Long
=
0L
,
@ProtoId
(
1
)
val
groupId
:
Long
=
0L
,
@ProtoId
(
2
)
val
appid
:
Long
=
0L
,
@ProtoId
(
2
)
val
appid
:
Long
=
0L
,
@ProtoId
(
3
)
val
sender
:
Sender
?
=
null
,
@ProtoId
(
3
)
val
sender
:
Sender
?
=
null
,
...
@@ -69,9 +69,9 @@ class GroupOpenSysMsg : ProtoBuf {
...
@@ -69,9 +69,9 @@ class GroupOpenSysMsg : ProtoBuf {
}
}
@Serializable
@Serializable
class
TroopTips0x857
:
ProtoBuf
{
internal
class
TroopTips0x857
:
ProtoBuf
{
@Serializable
@Serializable
class
AIOGrayTipsInfo
(
internal
class
AIOGrayTipsInfo
(
@ProtoId
(
1
)
val
optUint32ShowLastest
:
Int
=
0
,
@ProtoId
(
1
)
val
optUint32ShowLastest
:
Int
=
0
,
@ProtoId
(
2
)
val
optBytesContent
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
optBytesContent
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
optUint32Remind
:
Int
=
0
,
@ProtoId
(
3
)
val
optUint32Remind
:
Int
=
0
,
...
@@ -82,7 +82,7 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -82,7 +82,7 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
AIOTopTipsInfo
(
internal
class
AIOTopTipsInfo
(
@ProtoId
(
1
)
val
optBytesContent
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
optBytesContent
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
optUint32Icon
:
Int
=
0
,
@ProtoId
(
2
)
val
optUint32Icon
:
Int
=
0
,
@ProtoId
(
3
)
val
optEnumAction
:
Int
/* enum */
=
1
,
@ProtoId
(
3
)
val
optEnumAction
:
Int
/* enum */
=
1
,
...
@@ -94,12 +94,12 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -94,12 +94,12 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
FloatedTipsInfo
(
internal
class
FloatedTipsInfo
(
@ProtoId
(
1
)
val
optBytesContent
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
1
)
val
optBytesContent
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GeneralGrayTipInfo
(
internal
class
GeneralGrayTipInfo
(
@ProtoId
(
1
)
val
busiType
:
Long
=
0L
,
@ProtoId
(
1
)
val
busiType
:
Long
=
0L
,
@ProtoId
(
2
)
val
busiId
:
Long
=
0L
,
@ProtoId
(
2
)
val
busiId
:
Long
=
0L
,
@ProtoId
(
3
)
val
ctrlFlag
:
Int
=
0
,
@ProtoId
(
3
)
val
ctrlFlag
:
Int
=
0
,
...
@@ -113,7 +113,7 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -113,7 +113,7 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GoldMsgTipsElem
(
internal
class
GoldMsgTipsElem
(
@ProtoId
(
1
)
val
type
:
Int
=
0
,
@ProtoId
(
1
)
val
type
:
Int
=
0
,
@ProtoId
(
2
)
val
billno
:
String
=
""
,
@ProtoId
(
2
)
val
billno
:
String
=
""
,
@ProtoId
(
3
)
val
result
:
Int
=
0
,
@ProtoId
(
3
)
val
result
:
Int
=
0
,
...
@@ -126,25 +126,25 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -126,25 +126,25 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GroupInfoChange
(
internal
class
GroupInfoChange
(
@ProtoId
(
1
)
val
groupHonorSwitch
:
Int
=
0
@ProtoId
(
1
)
val
groupHonorSwitch
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GroupNotifyInfo
(
internal
class
GroupNotifyInfo
(
@ProtoId
(
1
)
val
optUint32AutoPullFlag
:
Int
=
0
,
@ProtoId
(
1
)
val
optUint32AutoPullFlag
:
Int
=
0
,
@ProtoId
(
2
)
val
optBytesFeedsId
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
2
)
val
optBytesFeedsId
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
InstCtrl
(
internal
class
InstCtrl
(
@ProtoId
(
1
)
val
msgSendToInst
:
List
<
InstInfo
>?
=
null
,
@ProtoId
(
1
)
val
msgSendToInst
:
List
<
InstInfo
>?
=
null
,
@ProtoId
(
2
)
val
msgExcludeInst
:
List
<
InstInfo
>?
=
null
,
@ProtoId
(
2
)
val
msgExcludeInst
:
List
<
InstInfo
>?
=
null
,
@ProtoId
(
3
)
val
msgFromInst
:
InstInfo
?
=
null
@ProtoId
(
3
)
val
msgFromInst
:
InstInfo
?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
InstInfo
(
internal
class
InstInfo
(
@ProtoId
(
1
)
val
apppid
:
Int
=
0
,
@ProtoId
(
1
)
val
apppid
:
Int
=
0
,
@ProtoId
(
2
)
val
instid
:
Int
=
0
,
@ProtoId
(
2
)
val
instid
:
Int
=
0
,
@ProtoId
(
3
)
val
platform
:
Int
=
0
,
@ProtoId
(
3
)
val
platform
:
Int
=
0
,
...
@@ -157,7 +157,7 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -157,7 +157,7 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
LbsShareChangePushInfo
(
internal
class
LbsShareChangePushInfo
(
@ProtoId
(
1
)
val
msgType
:
Int
=
0
,
@ProtoId
(
1
)
val
msgType
:
Int
=
0
,
@ProtoId
(
2
)
val
msgInfo
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
msgInfo
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
versionCtrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
versionCtrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -171,12 +171,12 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -171,12 +171,12 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
LuckyBagNotify
(
internal
class
LuckyBagNotify
(
@ProtoId
(
1
)
val
msgTips
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
1
)
val
msgTips
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MediaChangePushInfo
(
internal
class
MediaChangePushInfo
(
@ProtoId
(
1
)
val
msgType
:
Int
=
0
,
@ProtoId
(
1
)
val
msgType
:
Int
=
0
,
@ProtoId
(
2
)
val
msgInfo
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
msgInfo
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
versionCtrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
versionCtrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -191,7 +191,7 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -191,7 +191,7 @@ class TroopTips0x857 : ProtoBuf {
@ProtoId
(
100
)
val
extInfo
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
100
)
val
extInfo
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
{
)
:
ProtoBuf
{
@Serializable
@Serializable
class
PersonalSetting
(
internal
class
PersonalSetting
(
@ProtoId
(
1
)
val
themeId
:
Int
=
0
,
@ProtoId
(
1
)
val
themeId
:
Int
=
0
,
@ProtoId
(
2
)
val
playerId
:
Int
=
0
,
@ProtoId
(
2
)
val
playerId
:
Int
=
0
,
@ProtoId
(
3
)
val
fontId
:
Int
=
0
@ProtoId
(
3
)
val
fontId
:
Int
=
0
...
@@ -199,14 +199,14 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -199,14 +199,14 @@ class TroopTips0x857 : ProtoBuf {
}
}
@Serializable
@Serializable
class
MessageBoxInfo
(
internal
class
MessageBoxInfo
(
@ProtoId
(
1
)
val
optBytesContent
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
optBytesContent
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
optBytesTitle
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
optBytesTitle
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
optBytesButton
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
3
)
val
optBytesButton
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MessageRecallReminder
(
internal
class
MessageRecallReminder
(
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
2
)
val
nickname
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
nickname
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
recalledMsgList
:
List
<
MessageMeta
>
=
listOf
(),
@ProtoId
(
3
)
val
recalledMsgList
:
List
<
MessageMeta
>
=
listOf
(),
...
@@ -216,7 +216,7 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -216,7 +216,7 @@ class TroopTips0x857 : ProtoBuf {
@ProtoId
(
7
)
val
opType
:
Int
=
0
@ProtoId
(
7
)
val
opType
:
Int
=
0
)
:
ProtoBuf
{
)
:
ProtoBuf
{
@Serializable
@Serializable
class
MessageMeta
(
internal
class
MessageMeta
(
@ProtoId
(
1
)
val
seq
:
Int
=
0
,
@ProtoId
(
1
)
val
seq
:
Int
=
0
,
@ProtoId
(
2
)
val
time
:
Int
=
0
,
@ProtoId
(
2
)
val
time
:
Int
=
0
,
@ProtoId
(
3
)
val
msgRandom
:
Int
=
0
,
@ProtoId
(
3
)
val
msgRandom
:
Int
=
0
,
...
@@ -227,12 +227,12 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -227,12 +227,12 @@ class TroopTips0x857 : ProtoBuf {
}
}
@Serializable
@Serializable
class
MiniAppNotify
(
internal
class
MiniAppNotify
(
@ProtoId
(
1
)
val
msg
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
1
)
val
msg
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
NotifyMsgBody
(
internal
class
NotifyMsgBody
(
@ProtoId
(
1
)
val
optEnumType
:
Int
/* enum */
=
1
,
@ProtoId
(
1
)
val
optEnumType
:
Int
/* enum */
=
1
,
@ProtoId
(
2
)
val
optUint64MsgTime
:
Long
=
0L
,
@ProtoId
(
2
)
val
optUint64MsgTime
:
Long
=
0L
,
@ProtoId
(
3
)
val
optUint64MsgExpires
:
Long
=
0L
,
@ProtoId
(
3
)
val
optUint64MsgExpires
:
Long
=
0L
,
...
@@ -264,14 +264,14 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -264,14 +264,14 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
NotifyObjmsgUpdate
(
internal
class
NotifyObjmsgUpdate
(
@ProtoId
(
1
)
val
objmsgId
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
objmsgId
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
updateType
:
Int
=
0
,
@ProtoId
(
2
)
val
updateType
:
Int
=
0
,
@ProtoId
(
3
)
val
extMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
3
)
val
extMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
RedGrayTipsInfo
(
internal
class
RedGrayTipsInfo
(
@ProtoId
(
1
)
val
optUint32ShowLastest
:
Int
=
0
,
@ProtoId
(
1
)
val
optUint32ShowLastest
:
Int
=
0
,
@ProtoId
(
2
)
val
senderUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
senderUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
receiverUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
receiverUin
:
Long
=
0L
,
...
@@ -294,7 +294,7 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -294,7 +294,7 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ReqBody
(
internal
class
ReqBody
(
@ProtoId
(
1
)
val
optUint64GroupCode
:
Long
=
0L
,
@ProtoId
(
1
)
val
optUint64GroupCode
:
Long
=
0L
,
@ProtoId
(
2
)
val
uint64Memberuins
:
List
<
Long
>?
=
null
,
@ProtoId
(
2
)
val
uint64Memberuins
:
List
<
Long
>?
=
null
,
@ProtoId
(
3
)
val
optUint32Offline
:
Int
=
0
,
@ProtoId
(
3
)
val
optUint32Offline
:
Int
=
0
,
...
@@ -304,12 +304,12 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -304,12 +304,12 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
RspBody
(
internal
class
RspBody
(
@ProtoId
(
1
)
val
optUint64GroupCode
:
Long
=
0L
@ProtoId
(
1
)
val
optUint64GroupCode
:
Long
=
0L
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
SingChangePushInfo
(
internal
class
SingChangePushInfo
(
@ProtoId
(
1
)
val
seq
:
Long
=
0L
,
@ProtoId
(
1
)
val
seq
:
Long
=
0L
,
@ProtoId
(
2
)
val
actionType
:
Int
=
0
,
@ProtoId
(
2
)
val
actionType
:
Int
=
0
,
@ProtoId
(
3
)
val
groupId
:
Long
=
0L
,
@ProtoId
(
3
)
val
groupId
:
Long
=
0L
,
...
@@ -319,13 +319,13 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -319,13 +319,13 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
TemplParam
(
internal
class
TemplParam
(
@ProtoId
(
1
)
val
name
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
name
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
value
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
2
)
val
value
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ThemeStateNotify
(
internal
class
ThemeStateNotify
(
@ProtoId
(
1
)
val
state
:
Int
=
0
,
@ProtoId
(
1
)
val
state
:
Int
=
0
,
@ProtoId
(
2
)
val
feedsId
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
feedsId
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
themeName
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
themeName
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -334,7 +334,7 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -334,7 +334,7 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
TroopFormGrayTipsInfo
(
internal
class
TroopFormGrayTipsInfo
(
@ProtoId
(
1
)
val
writerUin
:
Long
=
0L
,
@ProtoId
(
1
)
val
writerUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
creatorUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
creatorUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
richContent
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
richContent
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -343,7 +343,7 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -343,7 +343,7 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
VideoChangePushInfo
(
internal
class
VideoChangePushInfo
(
@ProtoId
(
1
)
val
seq
:
Long
=
0L
,
@ProtoId
(
1
)
val
seq
:
Long
=
0L
,
@ProtoId
(
2
)
val
actionType
:
Int
=
0
,
@ProtoId
(
2
)
val
actionType
:
Int
=
0
,
@ProtoId
(
3
)
val
groupId
:
Long
=
0L
,
@ProtoId
(
3
)
val
groupId
:
Long
=
0L
,
...
@@ -354,7 +354,7 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -354,7 +354,7 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
WereWolfPush
(
internal
class
WereWolfPush
(
@ProtoId
(
1
)
val
pushType
:
Int
=
0
,
@ProtoId
(
1
)
val
pushType
:
Int
=
0
,
@ProtoId
(
2
)
val
gameRoom
:
Long
=
0L
,
@ProtoId
(
2
)
val
gameRoom
:
Long
=
0L
,
@ProtoId
(
3
)
val
enumGameState
:
Int
=
0
,
@ProtoId
(
3
)
val
enumGameState
:
Int
=
0
,
...
@@ -374,7 +374,7 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -374,7 +374,7 @@ class TroopTips0x857 : ProtoBuf {
@ProtoId
(
17
)
val
votedTieUsers
:
List
<
Long
>?
=
null
@ProtoId
(
17
)
val
votedTieUsers
:
List
<
Long
>?
=
null
)
:
ProtoBuf
{
)
:
ProtoBuf
{
@Serializable
@Serializable
class
GameRecord
(
internal
class
GameRecord
(
@ProtoId
(
1
)
val
total
:
Int
=
0
,
@ProtoId
(
1
)
val
total
:
Int
=
0
,
@ProtoId
(
2
)
val
win
:
Int
=
0
,
@ProtoId
(
2
)
val
win
:
Int
=
0
,
@ProtoId
(
3
)
val
lose
:
Int
=
0
,
@ProtoId
(
3
)
val
lose
:
Int
=
0
,
...
@@ -382,7 +382,7 @@ class TroopTips0x857 : ProtoBuf {
...
@@ -382,7 +382,7 @@ class TroopTips0x857 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
Role
(
internal
class
Role
(
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
2
)
val
enumType
:
Int
=
0
,
@ProtoId
(
2
)
val
enumType
:
Int
=
0
,
@ProtoId
(
3
)
val
enumState
:
Int
=
0
,
@ProtoId
(
3
)
val
enumState
:
Int
=
0
,
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Cmd0x858.kt
View file @
acd11b6e
...
@@ -19,9 +19,9 @@ import net.mamoe.mirai.qqandroid.network.protocol.packet.EMPTY_BYTE_ARRAY
...
@@ -19,9 +19,9 @@ import net.mamoe.mirai.qqandroid.network.protocol.packet.EMPTY_BYTE_ARRAY
import
net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
import
net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
@Serializable
@Serializable
class
Oidb0x858
:
ProtoBuf
{
internal
class
Oidb0x858
:
ProtoBuf
{
@Serializable
@Serializable
class
GoldMsgTipsElem
(
internal
class
GoldMsgTipsElem
(
@ProtoId
(
1
)
val
type
:
Int
=
0
,
@ProtoId
(
1
)
val
type
:
Int
=
0
,
@ProtoId
(
2
)
val
billno
:
String
=
""
,
@ProtoId
(
2
)
val
billno
:
String
=
""
,
@ProtoId
(
3
)
val
result
:
Int
=
0
,
@ProtoId
(
3
)
val
result
:
Int
=
0
,
...
@@ -34,7 +34,7 @@ class Oidb0x858 : ProtoBuf {
...
@@ -34,7 +34,7 @@ class Oidb0x858 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MessageRecallReminder
(
internal
class
MessageRecallReminder
(
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
2
)
val
nickname
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
nickname
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
recalledMsgList
:
List
<
MessageMeta
>
=
listOf
(),
@ProtoId
(
3
)
val
recalledMsgList
:
List
<
MessageMeta
>
=
listOf
(),
...
@@ -42,7 +42,7 @@ class Oidb0x858 : ProtoBuf {
...
@@ -42,7 +42,7 @@ class Oidb0x858 : ProtoBuf {
@ProtoId
(
5
)
val
userdef
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
5
)
val
userdef
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
{
)
:
ProtoBuf
{
@Serializable
@Serializable
class
MessageMeta
(
internal
class
MessageMeta
(
@ProtoId
(
1
)
val
seq
:
Int
=
0
,
@ProtoId
(
1
)
val
seq
:
Int
=
0
,
@ProtoId
(
2
)
val
time
:
Int
=
0
,
@ProtoId
(
2
)
val
time
:
Int
=
0
,
@ProtoId
(
3
)
val
msgRandom
:
Int
=
0
@ProtoId
(
3
)
val
msgRandom
:
Int
=
0
...
@@ -50,7 +50,7 @@ class Oidb0x858 : ProtoBuf {
...
@@ -50,7 +50,7 @@ class Oidb0x858 : ProtoBuf {
}
}
@Serializable
@Serializable
class
NotifyMsgBody
(
internal
class
NotifyMsgBody
(
@ProtoId
(
1
)
val
optEnumType
:
Int
/* enum */
=
5
,
@ProtoId
(
1
)
val
optEnumType
:
Int
/* enum */
=
5
,
@ProtoId
(
2
)
val
optUint64MsgTime
:
Long
=
0L
,
@ProtoId
(
2
)
val
optUint64MsgTime
:
Long
=
0L
,
@ProtoId
(
3
)
val
optUint64MsgExpires
:
Long
=
0L
,
@ProtoId
(
3
)
val
optUint64MsgExpires
:
Long
=
0L
,
...
@@ -64,14 +64,14 @@ class Oidb0x858 : ProtoBuf {
...
@@ -64,14 +64,14 @@ class Oidb0x858 : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
NotifyObjmsgUpdate
(
internal
class
NotifyObjmsgUpdate
(
@ProtoId
(
1
)
val
objmsgId
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
objmsgId
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
updateType
:
Int
=
0
,
@ProtoId
(
2
)
val
updateType
:
Int
=
0
,
@ProtoId
(
3
)
val
extMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
3
)
val
extMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
RedGrayTipsInfo
(
internal
class
RedGrayTipsInfo
(
@ProtoId
(
1
)
val
optUint32ShowLastest
:
Int
=
0
,
@ProtoId
(
1
)
val
optUint32ShowLastest
:
Int
=
0
,
@ProtoId
(
2
)
val
senderUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
senderUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
receiverUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
receiverUin
:
Long
=
0L
,
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Define.kt
View file @
acd11b6e
This diff is collapsed.
Click to expand it.
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Group.kt
View file @
acd11b6e
...
@@ -15,9 +15,9 @@ import net.mamoe.mirai.qqandroid.network.protocol.packet.EMPTY_BYTE_ARRAY
...
@@ -15,9 +15,9 @@ import net.mamoe.mirai.qqandroid.network.protocol.packet.EMPTY_BYTE_ARRAY
import
net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
import
net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
@Serializable
@Serializable
class
GroupLabel
:
ProtoBuf
{
internal
class
GroupLabel
:
ProtoBuf
{
@Serializable
@Serializable
class
Label
(
internal
class
Label
(
@ProtoId
(
1
)
val
name
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
name
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
enumType
:
Int
/* enum */
=
1
,
@ProtoId
(
2
)
val
enumType
:
Int
/* enum */
=
1
,
@ProtoId
(
3
)
val
textColor
:
GroupLabel
.
Color
?
=
null
,
@ProtoId
(
3
)
val
textColor
:
GroupLabel
.
Color
?
=
null
,
...
@@ -27,32 +27,32 @@ class GroupLabel : ProtoBuf {
...
@@ -27,32 +27,32 @@ class GroupLabel : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
RspBody
(
internal
class
RspBody
(
@ProtoId
(
1
)
val
error
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
error
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
groupInfo
:
List
<
GroupLabel
.
GroupInfo
>?
=
null
@ProtoId
(
2
)
val
groupInfo
:
List
<
GroupLabel
.
GroupInfo
>?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
SourceId
(
internal
class
SourceId
(
@ProtoId
(
1
)
val
sourceId
:
Int
=
0
@ProtoId
(
1
)
val
sourceId
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GroupInfo
(
internal
class
GroupInfo
(
@ProtoId
(
1
)
val
int32Result
:
Int
=
0
,
@ProtoId
(
1
)
val
int32Result
:
Int
=
0
,
@ProtoId
(
2
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
2
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
3
)
val
groupLabel
:
List
<
GroupLabel
.
Label
>?
=
null
@ProtoId
(
3
)
val
groupLabel
:
List
<
GroupLabel
.
Label
>?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
Color
(
internal
class
Color
(
@ProtoId
(
1
)
val
r
:
Int
=
0
,
@ProtoId
(
1
)
val
r
:
Int
=
0
,
@ProtoId
(
2
)
val
g
:
Int
=
0
,
@ProtoId
(
2
)
val
g
:
Int
=
0
,
@ProtoId
(
3
)
val
b
:
Int
=
0
@ProtoId
(
3
)
val
b
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ReqBody
(
internal
class
ReqBody
(
@ProtoId
(
1
)
val
sourceId
:
GroupLabel
.
SourceId
?
=
null
,
@ProtoId
(
1
)
val
sourceId
:
GroupLabel
.
SourceId
?
=
null
,
@ProtoId
(
2
)
val
uinInfo
:
GroupLabel
.
UinInfo
?
=
null
,
@ProtoId
(
2
)
val
uinInfo
:
GroupLabel
.
UinInfo
?
=
null
,
@ProtoId
(
3
)
val
numberLabel
:
Int
=
5
,
@ProtoId
(
3
)
val
numberLabel
:
Int
=
5
,
...
@@ -61,7 +61,7 @@ class GroupLabel : ProtoBuf {
...
@@ -61,7 +61,7 @@ class GroupLabel : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
UinInfo
(
internal
class
UinInfo
(
@ProtoId
(
1
)
val
int64Longitude
:
Long
=
0L
,
@ProtoId
(
1
)
val
int64Longitude
:
Long
=
0L
,
@ProtoId
(
2
)
val
int64Latitude
:
Long
=
0L
@ProtoId
(
2
)
val
int64Latitude
:
Long
=
0L
)
:
ProtoBuf
)
:
ProtoBuf
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Highway.kt
View file @
acd11b6e
This diff is collapsed.
Click to expand it.
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/HummerCommelem.kt
View file @
acd11b6e
...
@@ -16,7 +16,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
...
@@ -16,7 +16,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
internal
class
HummerCommelem
:
ProtoBuf
{
internal
class
HummerCommelem
:
ProtoBuf
{
@Serializable
@Serializable
class
MsgElemInfoServtype1
(
internal
class
MsgElemInfoServtype1
(
@ProtoId
(
1
)
val
rewardId
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
rewardId
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
senderUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
senderUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
picType
:
Int
=
0
,
@ProtoId
(
3
)
val
picType
:
Int
=
0
,
...
@@ -32,7 +32,7 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -32,7 +32,7 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype11
(
internal
class
MsgElemInfoServtype11
(
@ProtoId
(
1
)
val
resID
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
resID
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
resMD5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
resMD5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
reserveInfo1
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
reserveInfo1
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -44,19 +44,19 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -44,19 +44,19 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype13
(
internal
class
MsgElemInfoServtype13
(
@ProtoId
(
1
)
val
sysHeadId
:
Int
=
0
,
@ProtoId
(
1
)
val
sysHeadId
:
Int
=
0
,
@ProtoId
(
2
)
val
headFlag
:
Int
=
0
@ProtoId
(
2
)
val
headFlag
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype14
(
internal
class
MsgElemInfoServtype14
(
@ProtoId
(
1
)
val
id
:
Int
=
0
,
@ProtoId
(
1
)
val
id
:
Int
=
0
,
@ProtoId
(
2
)
val
reserveInfo
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
2
)
val
reserveInfo
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype15
(
internal
class
MsgElemInfoServtype15
(
@ProtoId
(
1
)
val
vid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
vid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
cover
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
cover
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
title
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
title
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -68,7 +68,7 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -68,7 +68,7 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype16
(
internal
class
MsgElemInfoServtype16
(
@ProtoId
(
1
)
val
uid
:
Long
=
0L
,
@ProtoId
(
1
)
val
uid
:
Long
=
0L
,
@ProtoId
(
2
)
val
unionID
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
unionID
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
storyID
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
storyID
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -84,7 +84,7 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -84,7 +84,7 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype18
(
internal
class
MsgElemInfoServtype18
(
@ProtoId
(
1
)
val
currentAmount
:
Long
=
0L
,
@ProtoId
(
1
)
val
currentAmount
:
Long
=
0L
,
@ProtoId
(
2
)
val
totalAmount
:
Long
=
0L
,
@ProtoId
(
2
)
val
totalAmount
:
Long
=
0L
,
@ProtoId
(
3
)
val
listid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
listid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -93,12 +93,12 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -93,12 +93,12 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype19
(
internal
class
MsgElemInfoServtype19
(
@ProtoId
(
1
)
val
data
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
1
)
val
data
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype2
(
internal
class
MsgElemInfoServtype2
(
@ProtoId
(
1
)
val
pokeType
:
Int
=
0
,
@ProtoId
(
1
)
val
pokeType
:
Int
=
0
,
@ProtoId
(
2
)
val
pokeSummary
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
pokeSummary
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
doubleHit
:
Int
=
0
,
@ProtoId
(
3
)
val
doubleHit
:
Int
=
0
,
...
@@ -112,12 +112,12 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -112,12 +112,12 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype20
(
internal
class
MsgElemInfoServtype20
(
@ProtoId
(
1
)
val
data
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
1
)
val
data
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype21
(
internal
class
MsgElemInfoServtype21
(
@ProtoId
(
1
)
val
topicId
:
Int
=
0
,
@ProtoId
(
1
)
val
topicId
:
Int
=
0
,
@ProtoId
(
2
)
val
confessorUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
confessorUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
confessorNick
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
confessorNick
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -130,7 +130,7 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -130,7 +130,7 @@ internal class HummerCommelem : ProtoBuf {
@ProtoId
(
10
)
val
groupConfessCtx
:
HummerCommelem
.
MsgElemInfoServtype21
.
GroupConfessContext
?
=
null
@ProtoId
(
10
)
val
groupConfessCtx
:
HummerCommelem
.
MsgElemInfoServtype21
.
GroupConfessContext
?
=
null
)
:
ProtoBuf
{
)
:
ProtoBuf
{
@Serializable
@Serializable
class
C2CConfessContext
(
internal
class
C2CConfessContext
(
@ProtoId
(
1
)
val
confessorUin
:
Long
=
0L
,
@ProtoId
(
1
)
val
confessorUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
confessToUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
confessToUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
sendUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
sendUin
:
Long
=
0L
,
...
@@ -146,7 +146,7 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -146,7 +146,7 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GroupConfessContext
(
internal
class
GroupConfessContext
(
@ProtoId
(
1
)
val
confessorUin
:
Long
=
0L
,
@ProtoId
(
1
)
val
confessorUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
confessToUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
confessToUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
sendUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
sendUin
:
Long
=
0L
,
...
@@ -160,7 +160,7 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -160,7 +160,7 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GroupConfessItem
(
internal
class
GroupConfessItem
(
@ProtoId
(
1
)
val
topicId
:
Int
=
0
,
@ProtoId
(
1
)
val
topicId
:
Int
=
0
,
@ProtoId
(
2
)
val
confessToUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
confessToUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
confessToNick
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
confessToNick
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -169,7 +169,7 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -169,7 +169,7 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
GroupConfessMsg
(
internal
class
GroupConfessMsg
(
@ProtoId
(
1
)
val
confessTime
:
Long
=
0L
,
@ProtoId
(
1
)
val
confessTime
:
Long
=
0L
,
@ProtoId
(
2
)
val
confessorUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
confessorUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
confessorSex
:
Int
=
0
,
@ProtoId
(
3
)
val
confessorSex
:
Int
=
0
,
...
@@ -180,7 +180,7 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -180,7 +180,7 @@ internal class HummerCommelem : ProtoBuf {
}
}
@Serializable
@Serializable
class
MsgElemInfoServtype23
(
internal
class
MsgElemInfoServtype23
(
@ProtoId
(
1
)
val
faceType
:
Int
=
0
,
@ProtoId
(
1
)
val
faceType
:
Int
=
0
,
@ProtoId
(
2
)
val
faceBubbleCount
:
Int
=
0
,
@ProtoId
(
2
)
val
faceBubbleCount
:
Int
=
0
,
@ProtoId
(
3
)
val
faceSummary
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
faceSummary
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -189,12 +189,12 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -189,12 +189,12 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype24
(
internal
class
MsgElemInfoServtype24
(
@ProtoId
(
1
)
val
limitChatEnter
:
HummerCommelem
.
MsgElemInfoServtype24
.
LimitChatEnter
?
=
null
,
@ProtoId
(
1
)
val
limitChatEnter
:
HummerCommelem
.
MsgElemInfoServtype24
.
LimitChatEnter
?
=
null
,
@ProtoId
(
2
)
val
limitChatExit
:
HummerCommelem
.
MsgElemInfoServtype24
.
LimitChatExit
?
=
null
@ProtoId
(
2
)
val
limitChatExit
:
HummerCommelem
.
MsgElemInfoServtype24
.
LimitChatExit
?
=
null
)
:
ProtoBuf
{
)
:
ProtoBuf
{
@Serializable
@Serializable
class
LimitChatEnter
(
internal
class
LimitChatEnter
(
@ProtoId
(
1
)
val
tipsWording
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
tipsWording
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
leftChatTime
:
Int
=
0
,
@ProtoId
(
2
)
val
leftChatTime
:
Int
=
0
,
@ProtoId
(
3
)
val
matchTs
:
Long
=
0L
,
@ProtoId
(
3
)
val
matchTs
:
Long
=
0L
,
...
@@ -205,42 +205,42 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -205,42 +205,42 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
LimitChatExit
(
internal
class
LimitChatExit
(
@ProtoId
(
1
)
val
exitMethod
:
Int
=
0
,
@ProtoId
(
1
)
val
exitMethod
:
Int
=
0
,
@ProtoId
(
2
)
val
matchTs
:
Long
=
0L
@ProtoId
(
2
)
val
matchTs
:
Long
=
0L
)
:
ProtoBuf
)
:
ProtoBuf
}
}
@Serializable
@Serializable
class
MsgElemInfoServtype27
(
internal
class
MsgElemInfoServtype27
(
@ProtoId
(
1
)
val
videoFile
:
ImMsgBody
.
VideoFile
?
=
null
@ProtoId
(
1
)
val
videoFile
:
ImMsgBody
.
VideoFile
?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype29
(
internal
class
MsgElemInfoServtype29
(
@ProtoId
(
1
)
val
luckybagMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
1
)
val
luckybagMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype3
(
internal
class
MsgElemInfoServtype3
(
@ProtoId
(
1
)
val
flashTroopPic
:
ImMsgBody
.
CustomFace
?
=
null
,
@ProtoId
(
1
)
val
flashTroopPic
:
ImMsgBody
.
CustomFace
?
=
null
,
@ProtoId
(
2
)
val
flashC2cPic
:
ImMsgBody
.
NotOnlineImage
?
=
null
@ProtoId
(
2
)
val
flashC2cPic
:
ImMsgBody
.
NotOnlineImage
?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype31
(
internal
class
MsgElemInfoServtype31
(
@ProtoId
(
1
)
val
text
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
text
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
ext
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
2
)
val
ext
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype4
(
internal
class
MsgElemInfoServtype4
(
@ProtoId
(
1
)
val
imsgType
:
Int
=
0
,
@ProtoId
(
1
)
val
imsgType
:
Int
=
0
,
@ProtoId
(
4
)
val
stStoryAioObjMsg
:
HummerCommelem
.
StoryAioObjMsg
?
=
null
@ProtoId
(
4
)
val
stStoryAioObjMsg
:
HummerCommelem
.
StoryAioObjMsg
?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype5
(
internal
class
MsgElemInfoServtype5
(
@ProtoId
(
1
)
val
vid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
vid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
cover
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
cover
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
title
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
title
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -251,12 +251,12 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -251,12 +251,12 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype8
(
internal
class
MsgElemInfoServtype8
(
@ProtoId
(
1
)
val
wifiDeliverGiftMsg
:
ImMsgBody
.
DeliverGiftMsg
?
=
null
@ProtoId
(
1
)
val
wifiDeliverGiftMsg
:
ImMsgBody
.
DeliverGiftMsg
?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgElemInfoServtype9
(
internal
class
MsgElemInfoServtype9
(
@ProtoId
(
1
)
val
anchorStatus
:
Int
=
0
,
@ProtoId
(
1
)
val
anchorStatus
:
Int
=
0
,
@ProtoId
(
2
)
val
jumpSchema
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
jumpSchema
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
anchorNickname
:
String
=
""
,
@ProtoId
(
3
)
val
anchorNickname
:
String
=
""
,
...
@@ -265,7 +265,7 @@ internal class HummerCommelem : ProtoBuf {
...
@@ -265,7 +265,7 @@ internal class HummerCommelem : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
StoryAioObjMsg
(
internal
class
StoryAioObjMsg
(
@ProtoId
(
1
)
val
uiUrl
:
String
=
""
,
@ProtoId
(
1
)
val
uiUrl
:
String
=
""
,
@ProtoId
(
2
)
val
jmpUrl
:
String
=
""
@ProtoId
(
2
)
val
jmpUrl
:
String
=
""
)
:
ProtoBuf
)
:
ProtoBuf
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/LongMsg.kt
View file @
acd11b6e
...
@@ -7,19 +7,19 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
...
@@ -7,19 +7,19 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
internal
class
LongMsg
:
ProtoBuf
{
internal
class
LongMsg
:
ProtoBuf
{
@Serializable
@Serializable
class
MsgDeleteReq
(
internal
class
MsgDeleteReq
(
@ProtoId
(
1
)
val
msgResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
msgResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
msgType
:
Int
=
0
@ProtoId
(
2
)
val
msgType
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgDeleteRsp
(
internal
class
MsgDeleteRsp
(
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
2
)
val
msgResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
2
)
val
msgResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgDownReq
(
internal
class
MsgDownReq
(
@ProtoId
(
1
)
val
srcUin
:
Int
=
0
,
@ProtoId
(
1
)
val
srcUin
:
Int
=
0
,
@ProtoId
(
2
)
val
msgResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
msgResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
msgType
:
Int
=
0
,
@ProtoId
(
3
)
val
msgType
:
Int
=
0
,
...
@@ -27,14 +27,14 @@ internal class LongMsg : ProtoBuf {
...
@@ -27,14 +27,14 @@ internal class LongMsg : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgDownRsp
(
internal
class
MsgDownRsp
(
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
2
)
val
msgResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
msgResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
msgContent
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
3
)
val
msgContent
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgUpReq
(
internal
class
MsgUpReq
(
@ProtoId
(
1
)
val
msgType
:
Int
=
0
,
@ProtoId
(
1
)
val
msgType
:
Int
=
0
,
@ProtoId
(
2
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
msgId
:
Int
=
0
,
@ProtoId
(
3
)
val
msgId
:
Int
=
0
,
...
@@ -45,14 +45,14 @@ internal class LongMsg : ProtoBuf {
...
@@ -45,14 +45,14 @@ internal class LongMsg : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MsgUpRsp
(
internal
class
MsgUpRsp
(
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
2
)
val
msgId
:
Int
=
0
,
@ProtoId
(
2
)
val
msgId
:
Int
=
0
,
@ProtoId
(
3
)
val
msgResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
3
)
val
msgResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ReqBody
(
internal
class
ReqBody
(
@ProtoId
(
1
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
1
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
2
)
val
termType
:
Int
=
0
,
@ProtoId
(
2
)
val
termType
:
Int
=
0
,
@ProtoId
(
3
)
val
platformType
:
Int
=
0
,
@ProtoId
(
3
)
val
platformType
:
Int
=
0
,
...
@@ -63,7 +63,7 @@ internal class LongMsg : ProtoBuf {
...
@@ -63,7 +63,7 @@ internal class LongMsg : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
RspBody
(
internal
class
RspBody
(
@ProtoId
(
1
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
1
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
2
)
val
msgUpRsp
:
List
<
LongMsg
.
MsgUpRsp
>?
=
null
,
@ProtoId
(
2
)
val
msgUpRsp
:
List
<
LongMsg
.
MsgUpRsp
>?
=
null
,
@ProtoId
(
3
)
val
msgDownRsp
:
List
<
LongMsg
.
MsgDownRsp
>?
=
null
,
@ProtoId
(
3
)
val
msgDownRsp
:
List
<
LongMsg
.
MsgDownRsp
>?
=
null
,
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/MsgRevokeUserDef.kt
View file @
acd11b6e
...
@@ -15,13 +15,13 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
...
@@ -15,13 +15,13 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
class
MsgRevokeUserDef
:
ProtoBuf
{
class
MsgRevokeUserDef
:
ProtoBuf
{
@Serializable
@Serializable
class
MsgInfoUserDef
(
internal
class
MsgInfoUserDef
(
@ProtoId
(
1
)
val
longMessageFlag
:
Int
=
0
,
@ProtoId
(
1
)
val
longMessageFlag
:
Int
=
0
,
@ProtoId
(
2
)
val
longMsgInfo
:
List
<
MsgInfoDef
>?
=
null
,
@ProtoId
(
2
)
val
longMsgInfo
:
List
<
MsgInfoDef
>?
=
null
,
@ProtoId
(
3
)
val
fileUuid
:
List
<
String
>
=
listOf
()
@ProtoId
(
3
)
val
fileUuid
:
List
<
String
>
=
listOf
()
)
:
ProtoBuf
{
)
:
ProtoBuf
{
@Serializable
@Serializable
class
MsgInfoDef
(
internal
class
MsgInfoDef
(
@ProtoId
(
1
)
val
msgSeq
:
Int
=
0
,
@ProtoId
(
1
)
val
msgSeq
:
Int
=
0
,
@ProtoId
(
2
)
val
longMsgId
:
Int
=
0
,
@ProtoId
(
2
)
val
longMsgId
:
Int
=
0
,
@ProtoId
(
3
)
val
longMsgNum
:
Int
=
0
,
@ProtoId
(
3
)
val
longMsgNum
:
Int
=
0
,
...
@@ -30,7 +30,7 @@ class MsgRevokeUserDef : ProtoBuf {
...
@@ -30,7 +30,7 @@ class MsgRevokeUserDef : ProtoBuf {
}
}
@Serializable
@Serializable
class
UinTypeUserDef
(
internal
class
UinTypeUserDef
(
@ProtoId
(
1
)
val
fromUinType
:
Int
=
0
,
@ProtoId
(
1
)
val
fromUinType
:
Int
=
0
,
@ProtoId
(
2
)
val
fromGroupCode
:
Long
=
0L
,
@ProtoId
(
2
)
val
fromGroupCode
:
Long
=
0L
,
@ProtoId
(
3
)
val
fileUuid
:
List
<
String
>
=
listOf
()
@ProtoId
(
3
)
val
fileUuid
:
List
<
String
>
=
listOf
()
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/MsgTransmit.kt
View file @
acd11b6e
...
@@ -7,18 +7,18 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
...
@@ -7,18 +7,18 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
internal
class
MsgTransmit
:
ProtoBuf
{
internal
class
MsgTransmit
:
ProtoBuf
{
@Serializable
@Serializable
class
PbMultiMsgItem
(
internal
class
PbMultiMsgItem
(
@ProtoId
(
1
)
val
fileName
:
String
=
""
,
@ProtoId
(
1
)
val
fileName
:
String
=
""
,
@ProtoId
(
2
)
val
buffer
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
2
)
val
buffer
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
PbMultiMsgNew
(
internal
class
PbMultiMsgNew
(
@ProtoId
(
1
)
val
msg
:
List
<
MsgComm
.
Msg
>?
=
null
@ProtoId
(
1
)
val
msg
:
List
<
MsgComm
.
Msg
>?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
PbMultiMsgTransmit
(
internal
class
PbMultiMsgTransmit
(
@ProtoId
(
1
)
val
msg
:
List
<
MsgComm
.
Msg
>?
=
null
,
@ProtoId
(
1
)
val
msg
:
List
<
MsgComm
.
Msg
>?
=
null
,
@ProtoId
(
2
)
val
pbItemList
:
List
<
MsgTransmit
.
PbMultiMsgItem
>?
=
null
@ProtoId
(
2
)
val
pbItemList
:
List
<
MsgTransmit
.
PbMultiMsgItem
>?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/MultiMsg.kt
View file @
acd11b6e
...
@@ -8,19 +8,19 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
...
@@ -8,19 +8,19 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
@Serializable
@Serializable
internal
class
MultiMsg
:
ProtoBuf
{
internal
class
MultiMsg
:
ProtoBuf
{
@Serializable
@Serializable
class
ExternMsg
(
internal
class
ExternMsg
(
@ProtoId
(
1
)
val
channelType
:
Int
=
0
@ProtoId
(
1
)
val
channelType
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MultiMsgApplyDownReq
(
internal
class
MultiMsgApplyDownReq
(
@ProtoId
(
1
)
val
msgResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
msgResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
msgType
:
Int
=
0
,
@ProtoId
(
2
)
val
msgType
:
Int
=
0
,
@ProtoId
(
3
)
val
srcUin
:
Long
=
0L
@ProtoId
(
3
)
val
srcUin
:
Long
=
0L
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MultiMsgApplyDownRsp
(
internal
class
MultiMsgApplyDownRsp
(
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
2
)
val
thumbDownPara
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
thumbDownPara
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
msgKey
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
msgKey
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -33,7 +33,7 @@ internal class MultiMsg : ProtoBuf {
...
@@ -33,7 +33,7 @@ internal class MultiMsg : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MultiMsgApplyUpReq
(
internal
class
MultiMsgApplyUpReq
(
@ProtoId
(
1
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
1
)
val
dstUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
msgSize
:
Long
=
0L
,
@ProtoId
(
2
)
val
msgSize
:
Long
=
0L
,
@ProtoId
(
3
)
val
msgMd5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
msgMd5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -42,7 +42,7 @@ internal class MultiMsg : ProtoBuf {
...
@@ -42,7 +42,7 @@ internal class MultiMsg : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
MultiMsgApplyUpRsp
(
internal
class
MultiMsgApplyUpRsp
(
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
2
)
val
msgResid
:
String
=
""
,
@ProtoId
(
2
)
val
msgResid
:
String
=
""
,
@ProtoId
(
3
)
val
msgUkey
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
msgUkey
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -59,7 +59,7 @@ internal class MultiMsg : ProtoBuf {
...
@@ -59,7 +59,7 @@ internal class MultiMsg : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ReqBody
(
internal
class
ReqBody
(
@ProtoId
(
1
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
1
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
2
)
val
termType
:
Int
=
0
,
@ProtoId
(
2
)
val
termType
:
Int
=
0
,
@ProtoId
(
3
)
val
platformType
:
Int
=
0
,
@ProtoId
(
3
)
val
platformType
:
Int
=
0
,
...
@@ -72,7 +72,7 @@ internal class MultiMsg : ProtoBuf {
...
@@ -72,7 +72,7 @@ internal class MultiMsg : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
RspBody
(
internal
class
RspBody
(
@ProtoId
(
1
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
1
)
val
subcmd
:
Int
=
0
,
@ProtoId
(
2
)
val
multimsgApplyupRsp
:
List
<
MultiMsg
.
MultiMsgApplyUpRsp
>?
=
null
,
@ProtoId
(
2
)
val
multimsgApplyupRsp
:
List
<
MultiMsg
.
MultiMsgApplyUpRsp
>?
=
null
,
@ProtoId
(
3
)
val
multimsgApplydownRsp
:
List
<
MultiMsg
.
MultiMsgApplyDownRsp
>?
=
null
@ProtoId
(
3
)
val
multimsgApplydownRsp
:
List
<
MultiMsg
.
MultiMsgApplyDownRsp
>?
=
null
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/OIDB.kt
View file @
acd11b6e
...
@@ -19,7 +19,7 @@ internal class Oidb0x8a0 : ProtoBuf {
...
@@ -19,7 +19,7 @@ internal class Oidb0x8a0 : ProtoBuf {
@Serializable
@Serializable
internal
class
RspBody
(
internal
class
RspBody
(
@ProtoId
(
1
)
val
optUint64GroupCode
:
Long
=
0L
,
@ProtoId
(
1
)
val
optUint64GroupCode
:
Long
=
0L
,
@ProtoId
(
2
)
val
msgKickResult
:
List
<
KickResult
>?
=
null
@ProtoId
(
2
)
val
msgKickResult
:
List
<
Oidb0x8a0
.
KickResult
>?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
...
@@ -39,7 +39,7 @@ internal class Oidb0x8a0 : ProtoBuf {
...
@@ -39,7 +39,7 @@ internal class Oidb0x8a0 : ProtoBuf {
@Serializable
@Serializable
internal
class
ReqBody
(
internal
class
ReqBody
(
@ProtoId
(
1
)
val
optUint64GroupCode
:
Long
=
0L
,
@ProtoId
(
1
)
val
optUint64GroupCode
:
Long
=
0L
,
@ProtoId
(
2
)
val
msgKickList
:
List
<
KickMemberInfo
>?
=
null
,
@ProtoId
(
2
)
val
msgKickList
:
List
<
Oidb0x8a0
.
KickMemberInfo
>?
=
null
,
@ProtoId
(
3
)
val
kickList
:
List
<
Long
>?
=
null
,
@ProtoId
(
3
)
val
kickList
:
List
<
Long
>?
=
null
,
@ProtoId
(
4
)
val
kickFlag
:
Int
=
0
,
@ProtoId
(
4
)
val
kickFlag
:
Int
=
0
,
@ProtoId
(
5
)
val
kickMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
5
)
val
kickMsg
:
ByteArray
=
EMPTY_BYTE_ARRAY
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Oidb0x769.kt
View file @
acd11b6e
...
@@ -15,7 +15,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
...
@@ -15,7 +15,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
class
Oidb0x769
{
class
Oidb0x769
{
@Serializable
@Serializable
class
RequestBody
(
internal
class
RequestBody
(
@ProtoId
(
1
)
val
rpt_config_list
:
List
<
ConfigSeq
>
@ProtoId
(
1
)
val
rpt_config_list
:
List
<
ConfigSeq
>
// @SerialId(2) val msg_device_info: DeviceInfo,
// @SerialId(2) val msg_device_info: DeviceInfo,
// @SerialId(3) val str_info: String = "",
// @SerialId(3) val str_info: String = "",
...
@@ -26,19 +26,19 @@ class Oidb0x769 {
...
@@ -26,19 +26,19 @@ class Oidb0x769 {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
QueryUinPackageUsageReq
(
internal
class
QueryUinPackageUsageReq
(
@ProtoId
(
1
)
val
type
:
Int
,
@ProtoId
(
1
)
val
type
:
Int
,
@ProtoId
(
2
)
val
uinFileSize
:
Long
=
0
@ProtoId
(
2
)
val
uinFileSize
:
Long
=
0
):
ProtoBuf
):
ProtoBuf
@Serializable
@Serializable
class
ConfigSeq
(
internal
class
ConfigSeq
(
@ProtoId
(
1
)
val
type
:
Int
,
// uint
@ProtoId
(
1
)
val
type
:
Int
,
// uint
@ProtoId
(
2
)
val
version
:
Int
// uint
@ProtoId
(
2
)
val
version
:
Int
// uint
):
ProtoBuf
):
ProtoBuf
@Serializable
@Serializable
class
DeviceInfo
(
internal
class
DeviceInfo
(
@ProtoId
(
1
)
val
brand
:
String
,
@ProtoId
(
1
)
val
brand
:
String
,
@ProtoId
(
2
)
val
model
:
String
@ProtoId
(
2
)
val
model
:
String
//@SerialId(3) val os: OS,
//@SerialId(3) val os: OS,
...
@@ -50,7 +50,7 @@ class Oidb0x769 {
...
@@ -50,7 +50,7 @@ class Oidb0x769 {
):
ProtoBuf
):
ProtoBuf
@Serializable
@Serializable
class
OS
(
internal
class
OS
(
@ProtoId
(
1
)
val
type
:
Int
=
1
,
@ProtoId
(
1
)
val
type
:
Int
=
1
,
@ProtoId
(
2
)
val
version
:
String
,
@ProtoId
(
2
)
val
version
:
String
,
@ProtoId
(
3
)
val
sdk
:
String
,
@ProtoId
(
3
)
val
sdk
:
String
,
...
@@ -59,27 +59,27 @@ class Oidb0x769 {
...
@@ -59,27 +59,27 @@ class Oidb0x769 {
):
ProtoBuf
):
ProtoBuf
@Serializable
@Serializable
class
Camera
(
internal
class
Camera
(
@ProtoId
(
1
)
val
primary
:
Long
,
@ProtoId
(
1
)
val
primary
:
Long
,
@ProtoId
(
2
)
val
secondary
:
Long
,
@ProtoId
(
2
)
val
secondary
:
Long
,
@ProtoId
(
3
)
val
flag
:
Boolean
@ProtoId
(
3
)
val
flag
:
Boolean
):
ProtoBuf
):
ProtoBuf
@Serializable
@Serializable
class
CPU
(
internal
class
CPU
(
@ProtoId
(
1
)
val
model
:
String
,
@ProtoId
(
1
)
val
model
:
String
,
@ProtoId
(
2
)
val
frequency
:
Int
,
@ProtoId
(
2
)
val
frequency
:
Int
,
@ProtoId
(
3
)
val
cores
:
Int
@ProtoId
(
3
)
val
cores
:
Int
):
ProtoBuf
):
ProtoBuf
@Serializable
@Serializable
class
Memory
(
internal
class
Memory
(
@ProtoId
(
1
)
val
total
:
Int
,
@ProtoId
(
1
)
val
total
:
Int
,
@ProtoId
(
2
)
val
process
:
Int
@ProtoId
(
2
)
val
process
:
Int
):
ProtoBuf
):
ProtoBuf
@Serializable
@Serializable
class
Screen
(
internal
class
Screen
(
@ProtoId
(
1
)
val
model
:
String
,
@ProtoId
(
1
)
val
model
:
String
,
@ProtoId
(
2
)
val
width
:
Int
,
@ProtoId
(
2
)
val
width
:
Int
,
@ProtoId
(
3
)
val
height
:
Int
,
@ProtoId
(
3
)
val
height
:
Int
,
...
@@ -88,7 +88,7 @@ class Oidb0x769 {
...
@@ -88,7 +88,7 @@ class Oidb0x769 {
):
ProtoBuf
):
ProtoBuf
@Serializable
@Serializable
class
Storage
(
internal
class
Storage
(
@ProtoId
(
1
)
val
builtin
:
Int
,
@ProtoId
(
1
)
val
builtin
:
Int
,
@ProtoId
(
2
)
val
external
:
Int
@ProtoId
(
2
)
val
external
:
Int
):
ProtoBuf
):
ProtoBuf
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/OnlinePush.kt
View file @
acd11b6e
...
@@ -27,15 +27,15 @@ internal class MsgOnlinePush {
...
@@ -27,15 +27,15 @@ internal class MsgOnlinePush {
}
}
@Serializable
@Serializable
class
OnlinePushTrans
:
ProtoBuf
{
internal
class
OnlinePushTrans
:
ProtoBuf
{
@Serializable
@Serializable
class
ExtGroupKeyInfo
(
internal
class
ExtGroupKeyInfo
(
@ProtoId
(
1
)
val
curMaxSeq
:
Int
=
0
,
@ProtoId
(
1
)
val
curMaxSeq
:
Int
=
0
,
@ProtoId
(
2
)
val
curTime
:
Long
=
0L
@ProtoId
(
2
)
val
curTime
:
Long
=
0L
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
PbMsgInfo
(
internal
class
PbMsgInfo
(
@ProtoId
(
1
)
val
fromUin
:
Long
=
0L
,
@ProtoId
(
1
)
val
fromUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
toUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
toUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
msgType
:
Int
=
0
,
@ProtoId
(
3
)
val
msgType
:
Int
=
0
,
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/PbReserve.kt
View file @
acd11b6e
...
@@ -16,7 +16,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
...
@@ -16,7 +16,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
internal
class
Generalflags
:
ProtoBuf
{
internal
class
Generalflags
:
ProtoBuf
{
@Serializable
@Serializable
class
ResvAttr
(
internal
class
ResvAttr
(
@ProtoId
(
1
)
val
globalGroupLevel
:
Int
=
0
,
@ProtoId
(
1
)
val
globalGroupLevel
:
Int
=
0
,
@ProtoId
(
2
)
val
nearbyCharmLevel
:
Int
=
0
,
@ProtoId
(
2
)
val
nearbyCharmLevel
:
Int
=
0
,
@ProtoId
(
3
)
val
redbagMsgSenderUin
:
Long
=
0L
,
@ProtoId
(
3
)
val
redbagMsgSenderUin
:
Long
=
0L
,
...
@@ -85,7 +85,7 @@ internal class Generalflags : ProtoBuf {
...
@@ -85,7 +85,7 @@ internal class Generalflags : ProtoBuf {
@Serializable
@Serializable
internal
class
ResvAttrForGiftMsg
:
ProtoBuf
{
internal
class
ResvAttrForGiftMsg
:
ProtoBuf
{
@Serializable
@Serializable
class
ActivityGiftInfo
(
internal
class
ActivityGiftInfo
(
@ProtoId
(
1
)
val
isActivityGift
:
Int
=
0
,
@ProtoId
(
1
)
val
isActivityGift
:
Int
=
0
,
@ProtoId
(
2
)
val
textColor
:
String
=
""
,
@ProtoId
(
2
)
val
textColor
:
String
=
""
,
@ProtoId
(
3
)
val
text
:
String
=
""
,
@ProtoId
(
3
)
val
text
:
String
=
""
,
...
@@ -93,12 +93,12 @@ internal class ResvAttrForGiftMsg : ProtoBuf {
...
@@ -93,12 +93,12 @@ internal class ResvAttrForGiftMsg : ProtoBuf {
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
InteractGift
(
internal
class
InteractGift
(
@ProtoId
(
1
)
val
interactId
:
ByteArray
=
EMPTY_BYTE_ARRAY
@ProtoId
(
1
)
val
interactId
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ResvAttr
(
internal
class
ResvAttr
(
@ProtoId
(
1
)
val
int32SendScore
:
Int
=
0
,
@ProtoId
(
1
)
val
int32SendScore
:
Int
=
0
,
@ProtoId
(
2
)
val
int32RecvScore
:
Int
=
0
,
@ProtoId
(
2
)
val
int32RecvScore
:
Int
=
0
,
@ProtoId
(
3
)
val
charmHeroism
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
charmHeroism
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
@@ -113,7 +113,7 @@ internal class ResvAttrForGiftMsg : ProtoBuf {
...
@@ -113,7 +113,7 @@ internal class ResvAttrForGiftMsg : ProtoBuf {
@Serializable
@Serializable
internal
class
SourceMsg
:
ProtoBuf
{
internal
class
SourceMsg
:
ProtoBuf
{
@Serializable
@Serializable
class
ResvAttr
(
internal
class
ResvAttr
(
@ProtoId
(
1
)
val
richMsg2
:
ByteArray
?
=
null
,
@ProtoId
(
1
)
val
richMsg2
:
ByteArray
?
=
null
,
@ProtoId
(
2
)
val
oriMsgtype
:
Int
?
=
null
,
@ProtoId
(
2
)
val
oriMsgtype
:
Int
?
=
null
,
@ProtoId
(
3
)
val
origUids
:
Long
?
=
null
// 原来是 list
@ProtoId
(
3
)
val
origUids
:
Long
?
=
null
// 原来是 list
...
@@ -123,7 +123,7 @@ internal class SourceMsg : ProtoBuf {
...
@@ -123,7 +123,7 @@ internal class SourceMsg : ProtoBuf {
@Serializable
@Serializable
internal
class
VideoFile
:
ProtoBuf
{
internal
class
VideoFile
:
ProtoBuf
{
@Serializable
@Serializable
class
ResvAttr
(
internal
class
ResvAttr
(
@ProtoId
(
1
)
val
hotvideoIcon
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
hotvideoIcon
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
hotvideoTitle
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
hotvideoTitle
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
hotvideoUrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
hotvideoUrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/StatSvcGetOnline.kt
View file @
acd11b6e
...
@@ -15,19 +15,19 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
...
@@ -15,19 +15,19 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
class
StatSvcGetOnline
{
class
StatSvcGetOnline
{
@Serializable
@Serializable
class
Instance
(
internal
class
Instance
(
@ProtoId
(
1
)
val
instanceId
:
Int
=
0
,
@ProtoId
(
1
)
val
instanceId
:
Int
=
0
,
@ProtoId
(
2
)
val
clientType
:
Int
=
0
@ProtoId
(
2
)
val
clientType
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
ReqBody
(
internal
class
ReqBody
(
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
2
)
val
appid
:
Int
=
0
@ProtoId
(
2
)
val
appid
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
class
RspBody
(
internal
class
RspBody
(
@ProtoId
(
1
)
val
errorCode
:
Int
=
0
,
@ProtoId
(
1
)
val
errorCode
:
Int
=
0
,
@ProtoId
(
2
)
val
errorMsg
:
String
=
""
,
@ProtoId
(
2
)
val
errorMsg
:
String
=
""
,
@ProtoId
(
3
)
val
uin
:
Long
=
0L
,
@ProtoId
(
3
)
val
uin
:
Long
=
0L
,
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/StructMsg.kt
View file @
acd11b6e
package
net.mamoe.mirai.qqandroid.network.protocol.data.proto
package
net.mamoe.mirai.qqandroid.network.protocol.data.proto
import
net.mamoe.mirai.qqandroid.network.protocol.packet.EMPTY_BYTE_ARRAY
import
kotlinx.serialization.protobuf.ProtoId
import
kotlinx.serialization.Serializable
import
kotlinx.serialization.Serializable
import
kotlinx.serialization.protobuf.ProtoId
import
net.mamoe.mirai.qqandroid.network.protocol.packet.EMPTY_BYTE_ARRAY
import
net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
import
net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
@Serializable
@Serializable
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/SyncCookie.kt
View file @
acd11b6e
...
@@ -16,7 +16,7 @@ import kotlin.math.absoluteValue
...
@@ -16,7 +16,7 @@ import kotlin.math.absoluteValue
import
kotlin.random.Random
import
kotlin.random.Random
@Serializable
@Serializable
class
SyncCookie
(
internal
class
SyncCookie
(
@ProtoId
(
1
)
val
time1
:
Long
?
=
null
,
// 1580277992
@ProtoId
(
1
)
val
time1
:
Long
?
=
null
,
// 1580277992
@ProtoId
(
2
)
val
time
:
Long
,
// 1580277992
@ProtoId
(
2
)
val
time
:
Long
,
// 1580277992
@ProtoId
(
3
)
val
unknown1
:
Long
=
Random
.
nextLong
().
absoluteValue
,
// 678328038
@ProtoId
(
3
)
val
unknown1
:
Long
=
Random
.
nextLong
().
absoluteValue
,
// 678328038
...
@@ -33,7 +33,7 @@ private val const2_: Long = Random.nextLong().absoluteValue
...
@@ -33,7 +33,7 @@ private val const2_: Long = Random.nextLong().absoluteValue
/*
/*
@Serializable
@Serializable
class SyncCookie(
internal
class SyncCookie(
@SerialId(1) val time1: Long? = null, // 1580277992
@SerialId(1) val time1: Long? = null, // 1580277992
@SerialId(2) val time: Long, // 1580277992
@SerialId(2) val time: Long, // 1580277992
@SerialId(3) val unknown1: Long = 678328038,// 678328038
@SerialId(3) val unknown1: Long = 678328038,// 678328038
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment