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
7bb9052a
Commit
7bb9052a
authored
Apr 10, 2020
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing copyright
parent
f1169047
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
175 additions
and
166 deletions
+175
-166
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
+104
-104
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
+13
-13
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/onlinePush0x210/msgType0x210.kt
...twork/protocol/data/proto/onlinePush0x210/msgType0x210.kt
+9
-0
No files found.
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Define.kt
View file @
7bb9052a
...
...
@@ -17,7 +17,7 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
@Serializable
internal
class
Common
:
ProtoBuf
{
@Serializable
internal
class
BindInfo
(
internal
class
BindInfo
(
@ProtoId
(
1
)
val
friUin
:
Long
=
0L
,
@ProtoId
(
2
)
val
friNick
:
String
=
""
,
@ProtoId
(
3
)
val
time
:
Long
=
0L
,
...
...
@@ -25,17 +25,17 @@ internal class BindInfo(
)
:
ProtoBuf
@Serializable
internal
class
MedalInfo
(
internal
class
MedalInfo
(
@ProtoId
(
1
)
val
id
:
Int
=
0
,
@ProtoId
(
2
)
val
type
:
Int
=
0
,
@ProtoId
(
4
)
val
seq
:
Long
=
0
,
@ProtoId
(
5
)
val
name
:
String
=
""
,
@ProtoId
(
6
)
val
newflag
:
Int
=
0
,
@ProtoId
(
7
)
val
time
:
Long
=
0L
,
@ProtoId
(
8
)
val
msgBindFri
:
Common
.
BindInfo
?
=
null
,
@ProtoId
(
8
)
val
msgBindFri
:
BindInfo
?
=
null
,
@ProtoId
(
11
)
val
desc
:
String
=
""
,
@ProtoId
(
31
)
val
level
:
Int
=
0
,
@ProtoId
(
36
)
val
taskinfos
:
List
<
Common
.
MedalTaskInfo
>?
=
null
,
@ProtoId
(
36
)
val
taskinfos
:
List
<
MedalTaskInfo
>?
=
null
,
@ProtoId
(
40
)
val
point
:
Int
=
0
,
@ProtoId
(
41
)
val
pointLevel2
:
Int
=
0
,
@ProtoId
(
42
)
val
pointLevel3
:
Int
=
0
,
...
...
@@ -62,7 +62,7 @@ internal class MedalInfo(
)
:
ProtoBuf
@Serializable
internal
class
MedalTaskInfo
(
internal
class
MedalTaskInfo
(
@ProtoId
(
1
)
val
taskid
:
Int
=
0
,
@ProtoId
(
32
)
val
int32TaskValue
:
Int
=
0
,
@ProtoId
(
33
)
val
tarValue
:
Int
=
0
,
...
...
@@ -74,25 +74,25 @@ internal class MedalTaskInfo(
@Serializable
internal
class
AppointDefine
:
ProtoBuf
{
@Serializable
internal
class
ADFeedContent
(
@ProtoId
(
1
)
val
msgUserInfo
:
AppointDefine
.
UserInfo
?
=
null
,
internal
class
ADFeedContent
(
@ProtoId
(
1
)
val
msgUserInfo
:
UserInfo
?
=
null
,
@ProtoId
(
2
)
val
strPicUrl
:
List
<
String
>
=
listOf
(),
@ProtoId
(
3
)
val
msgText
:
AppointDefine
.
RichText
?
=
null
,
@ProtoId
(
3
)
val
msgText
:
RichText
?
=
null
,
@ProtoId
(
4
)
val
attendInfo
:
String
=
""
,
@ProtoId
(
5
)
val
actionUrl
:
String
=
""
,
@ProtoId
(
6
)
val
publishTime
:
Int
=
0
,
@ProtoId
(
7
)
val
msgHotTopicList
:
AppointDefine
.
HotTopicList
?
=
null
,
@ProtoId
(
7
)
val
msgHotTopicList
:
HotTopicList
?
=
null
,
@ProtoId
(
8
)
val
moreUrl
:
String
=
""
,
@ProtoId
(
9
)
val
recordDuration
:
String
=
""
)
:
ProtoBuf
@Serializable
internal
class
RichText
(
@ProtoId
(
1
)
val
msgElems
:
List
<
AppointDefine
.
Elem
>?
=
null
internal
class
RichText
(
@ProtoId
(
1
)
val
msgElems
:
List
<
Elem
>?
=
null
)
:
ProtoBuf
@Serializable
internal
class
RankEvent
(
internal
class
RankEvent
(
@ProtoId
(
1
)
val
listtype
:
Int
=
0
,
@ProtoId
(
2
)
val
notifytype
:
Int
=
0
,
@ProtoId
(
3
)
val
eventtime
:
Int
=
0
,
...
...
@@ -101,13 +101,13 @@ internal class RankEvent(
)
:
ProtoBuf
@Serializable
internal
class
Wifi
(
internal
class
Wifi
(
@ProtoId
(
1
)
val
mac
:
Long
=
0L
,
@ProtoId
(
2
)
val
int32Rssi
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
InterestItem
(
internal
class
InterestItem
(
@ProtoId
(
1
)
val
tagId
:
Long
=
0L
,
@ProtoId
(
2
)
val
tagName
:
String
=
""
,
@ProtoId
(
3
)
val
tagIconUrl
:
String
=
""
,
...
...
@@ -123,32 +123,32 @@ internal class InterestItem(
)
:
ProtoBuf
@Serializable
internal
class
ShopID
(
internal
class
ShopID
(
@ProtoId
(
1
)
val
shopid
:
String
=
""
,
@ProtoId
(
2
)
val
sp
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
FeedComment
(
internal
class
FeedComment
(
@ProtoId
(
1
)
val
commentId
:
String
=
""
,
@ProtoId
(
2
)
val
feedId
:
String
=
""
,
@ProtoId
(
3
)
val
msgPublisherInfo
:
AppointDefine
.
StrangerInfo
?
=
null
,
@ProtoId
(
3
)
val
msgPublisherInfo
:
StrangerInfo
?
=
null
,
@ProtoId
(
4
)
val
time
:
Int
=
0
,
@ProtoId
(
6
)
val
msgReplyInfo
:
AppointDefine
.
ReplyInfo
?
=
null
,
@ProtoId
(
6
)
val
msgReplyInfo
:
ReplyInfo
?
=
null
,
@ProtoId
(
7
)
val
flag
:
Int
=
0
,
@ProtoId
(
8
)
val
msgContent
:
AppointDefine
.
RichText
?
=
null
,
@ProtoId
(
8
)
val
msgContent
:
RichText
?
=
null
,
@ProtoId
(
9
)
val
hot
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
ADFeed
(
internal
class
ADFeed
(
@ProtoId
(
1
)
val
taskId
:
Int
=
0
,
@ProtoId
(
2
)
val
style
:
Int
=
0
,
@ProtoId
(
3
)
val
content
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
@Serializable
internal
class
Cell
(
internal
class
Cell
(
@ProtoId
(
1
)
val
int32Mcc
:
Int
=
-
1
,
@ProtoId
(
2
)
val
int32Mnc
:
Int
=
-
1
,
@ProtoId
(
3
)
val
int32Lac
:
Int
=
-
1
,
...
...
@@ -157,27 +157,27 @@ internal class Cell(
)
:
ProtoBuf
@Serializable
internal
class
RecentVistorEvent
(
internal
class
RecentVistorEvent
(
@ProtoId
(
1
)
val
eventtype
:
Int
=
0
,
@ProtoId
(
2
)
val
eventTinyid
:
Long
=
0L
,
@ProtoId
(
3
)
val
unreadCount
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
OrganizerInfo
(
internal
class
OrganizerInfo
(
@ProtoId
(
1
)
val
hostName
:
String
=
""
,
@ProtoId
(
2
)
val
hostUrl
:
String
=
""
,
@ProtoId
(
3
)
val
hostCover
:
String
=
""
)
:
ProtoBuf
@Serializable
internal
class
InterestTag
(
internal
class
InterestTag
(
@ProtoId
(
1
)
val
tagType
:
Int
=
0
,
@ProtoId
(
2
)
val
msgTagList
:
List
<
AppointDefine
.
InterestItem
>?
=
null
@ProtoId
(
2
)
val
msgTagList
:
List
<
InterestItem
>?
=
null
)
:
ProtoBuf
@Serializable
internal
class
AppointInfoEx
(
internal
class
AppointInfoEx
(
@ProtoId
(
1
)
val
feedsPicUrl
:
String
=
""
,
@ProtoId
(
2
)
val
feedsUrl
:
String
=
""
,
@ProtoId
(
3
)
val
detailTitle
:
String
=
""
,
...
...
@@ -189,54 +189,54 @@ internal class AppointInfoEx(
)
:
ProtoBuf
@Serializable
internal
class
DateComment
(
internal
class
DateComment
(
@ProtoId
(
1
)
val
commentId
:
String
=
""
,
@ProtoId
(
2
)
val
msgAppointId
:
Appoint
Define
.
Appoint
ID
?
=
null
,
@ProtoId
(
3
)
val
msgPublisherInfo
:
AppointDefine
.
StrangerInfo
?
=
null
,
@ProtoId
(
2
)
val
msgAppointId
:
AppointID
?
=
null
,
@ProtoId
(
3
)
val
msgPublisherInfo
:
StrangerInfo
?
=
null
,
@ProtoId
(
4
)
val
time
:
Int
=
0
,
@ProtoId
(
6
)
val
msgReplyInfo
:
AppointDefine
.
ReplyInfo
?
=
null
,
@ProtoId
(
6
)
val
msgReplyInfo
:
ReplyInfo
?
=
null
,
@ProtoId
(
7
)
val
flag
:
Int
=
0
,
@ProtoId
(
8
)
val
msgContent
:
AppointDefine
.
RichText
?
=
null
@ProtoId
(
8
)
val
msgContent
:
RichText
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
AppointContent
(
internal
class
AppointContent
(
@ProtoId
(
1
)
val
appointSubject
:
Int
=
0
,
@ProtoId
(
2
)
val
payType
:
Int
=
0
,
@ProtoId
(
3
)
val
appointDate
:
Int
=
0
,
@ProtoId
(
4
)
val
appointGender
:
Int
=
0
,
@ProtoId
(
5
)
val
appointIntroduce
:
String
=
""
,
@ProtoId
(
6
)
val
msgAppointAddress
:
A
ppointDefine
.
A
ddressInfo
?
=
null
,
@ProtoId
(
7
)
val
msgTravelInfo
:
AppointDefine
.
TravelInfo
?
=
null
@ProtoId
(
6
)
val
msgAppointAddress
:
AddressInfo
?
=
null
,
@ProtoId
(
7
)
val
msgTravelInfo
:
TravelInfo
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
FeedInfo
(
internal
class
FeedInfo
(
@ProtoId
(
1
)
val
feedType
:
Long
=
0L
,
@ProtoId
(
2
)
val
feedId
:
String
=
""
,
@ProtoId
(
3
)
val
msgFeedContent
:
AppointDefine
.
FeedContent
?
=
null
,
@ProtoId
(
4
)
val
msgTopicInfo
:
AppointDefine
.
NearbyTopic
?
=
null
,
@ProtoId
(
3
)
val
msgFeedContent
:
FeedContent
?
=
null
,
@ProtoId
(
4
)
val
msgTopicInfo
:
NearbyTopic
?
=
null
,
@ProtoId
(
5
)
val
publishTime
:
Long
=
0
,
@ProtoId
(
6
)
val
praiseCount
:
Int
=
0
,
@ProtoId
(
7
)
val
praiseFlag
:
Int
=
0
,
@ProtoId
(
8
)
val
msgPraiseUser
:
List
<
AppointDefine
.
StrangerInfo
>?
=
null
,
@ProtoId
(
8
)
val
msgPraiseUser
:
List
<
StrangerInfo
>?
=
null
,
@ProtoId
(
9
)
val
commentCount
:
Int
=
0
,
@ProtoId
(
10
)
val
msgCommentList
:
List
<
AppointDefine
.
FeedComment
>?
=
null
,
@ProtoId
(
10
)
val
msgCommentList
:
List
<
FeedComment
>?
=
null
,
@ProtoId
(
11
)
val
commentRetAll
:
Int
=
0
,
@ProtoId
(
12
)
val
hotFlag
:
Int
=
0
,
@ProtoId
(
13
)
val
svrReserved
:
Long
=
0L
,
@ProtoId
(
14
)
val
msgHotEntry
:
AppointDefine
.
HotEntry
?
=
null
@ProtoId
(
14
)
val
msgHotEntry
:
HotEntry
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
HotTopicList
(
@ProtoId
(
1
)
val
topicList
:
List
<
AppointDefine
.
HotTopic
>?
=
null
internal
class
HotTopicList
(
@ProtoId
(
1
)
val
topicList
:
List
<
HotTopic
>?
=
null
)
:
ProtoBuf
@Serializable
internal
class
FeedContent
(
internal
class
FeedContent
(
@ProtoId
(
1
)
val
strPicUrl
:
List
<
String
>
=
listOf
(),
@ProtoId
(
2
)
val
msgText
:
AppointDefine
.
RichText
?
=
null
,
@ProtoId
(
2
)
val
msgText
:
RichText
?
=
null
,
@ProtoId
(
3
)
val
hrefUrl
:
String
=
""
,
@ProtoId
(
5
)
val
groupName
:
String
=
""
,
@ProtoId
(
6
)
val
groupBulletin
:
String
=
""
,
...
...
@@ -245,16 +245,16 @@ internal class FeedContent(
@ProtoId
(
9
)
val
poiTitle
:
String
=
""
,
@ProtoId
(
20
)
val
effectiveTime
:
Int
=
0
,
@ProtoId
(
21
)
val
expiationTime
:
Int
=
0
,
@ProtoId
(
22
)
val
msgLocale
:
AppointDefine
.
LocaleInfo
?
=
null
,
@ProtoId
(
22
)
val
msgLocale
:
LocaleInfo
?
=
null
,
@ProtoId
(
23
)
val
feedsIndex
:
Int
=
0
,
@ProtoId
(
24
)
val
msgAd
:
A
ppointDefine
.
A
DFeed
?
=
null
,
@ProtoId
(
24
)
val
msgAd
:
ADFeed
?
=
null
,
@ProtoId
(
25
)
val
privateData
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
@Serializable
internal
class
TravelInfo
(
@ProtoId
(
1
)
val
msgDepartLocale
:
AppointDefine
.
LocaleInfo
?
=
null
,
@ProtoId
(
2
)
val
msgDestination
:
AppointDefine
.
LocaleInfo
?
=
null
,
internal
class
TravelInfo
(
@ProtoId
(
1
)
val
msgDepartLocale
:
LocaleInfo
?
=
null
,
@ProtoId
(
2
)
val
msgDestination
:
LocaleInfo
?
=
null
,
@ProtoId
(
3
)
val
vehicle
:
Int
=
0
,
@ProtoId
(
4
)
val
partnerCount
:
Int
=
0
,
@ProtoId
(
5
)
val
placePicUrl
:
String
=
""
,
...
...
@@ -262,13 +262,13 @@ internal class TravelInfo(
)
:
ProtoBuf
@Serializable
internal
class
RecentFreshFeed
(
@ProtoId
(
1
)
val
freshFeedInfo
:
List
<
AppointDefine
.
FreshFeedInfo
>?
=
null
,
internal
class
RecentFreshFeed
(
@ProtoId
(
1
)
val
freshFeedInfo
:
List
<
FreshFeedInfo
>?
=
null
,
@ProtoId
(
2
)
val
uid
:
Long
=
0L
)
:
ProtoBuf
@Serializable
internal
class
GPS
(
internal
class
GPS
(
@ProtoId
(
1
)
val
int32Lat
:
Int
=
900000000
,
@ProtoId
(
2
)
val
int32Lon
:
Int
=
900000000
,
@ProtoId
(
3
)
val
int32Alt
:
Int
=
-
10000000
,
...
...
@@ -276,43 +276,43 @@ internal class GPS(
)
:
ProtoBuf
@Serializable
internal
class
AppointID
(
internal
class
AppointID
(
@ProtoId
(
1
)
val
requestId
:
String
=
""
)
:
ProtoBuf
@Serializable
internal
class
LocaleInfo
(
internal
class
LocaleInfo
(
@ProtoId
(
1
)
val
name
:
String
=
""
,
@ProtoId
(
2
)
val
country
:
String
=
""
,
@ProtoId
(
3
)
val
province
:
String
=
""
,
@ProtoId
(
4
)
val
city
:
String
=
""
,
@ProtoId
(
5
)
val
region
:
String
=
""
,
@ProtoId
(
6
)
val
poi
:
String
=
""
,
@ProtoId
(
7
)
val
msgGps
:
AppointDefine
.
GPS
?
=
null
,
@ProtoId
(
7
)
val
msgGps
:
GPS
?
=
null
,
@ProtoId
(
8
)
val
address
:
String
=
""
)
:
ProtoBuf
@Serializable
internal
class
LBSInfo
(
@ProtoId
(
1
)
val
msgGps
:
AppointDefine
.
GPS
?
=
null
,
@ProtoId
(
2
)
val
msgWifis
:
List
<
AppointDefine
.
Wifi
>?
=
null
,
@ProtoId
(
3
)
val
msgCells
:
List
<
AppointDefine
.
Cell
>?
=
null
internal
class
LBSInfo
(
@ProtoId
(
1
)
val
msgGps
:
GPS
?
=
null
,
@ProtoId
(
2
)
val
msgWifis
:
List
<
Wifi
>?
=
null
,
@ProtoId
(
3
)
val
msgCells
:
List
<
Cell
>?
=
null
)
:
ProtoBuf
@Serializable
internal
class
FeedEvent
(
internal
class
FeedEvent
(
@ProtoId
(
1
)
val
eventId
:
Long
=
0L
,
@ProtoId
(
2
)
val
time
:
Int
=
0
,
@ProtoId
(
3
)
val
eventtype
:
Int
=
0
,
@ProtoId
(
4
)
val
msgUserInfo
:
AppointDefine
.
StrangerInfo
?
=
null
,
@ProtoId
(
5
)
val
msgFeedInfo
:
AppointDefine
.
FeedInfo
?
=
null
,
@ProtoId
(
4
)
val
msgUserInfo
:
StrangerInfo
?
=
null
,
@ProtoId
(
5
)
val
msgFeedInfo
:
FeedInfo
?
=
null
,
@ProtoId
(
6
)
val
eventTips
:
String
=
""
,
@ProtoId
(
7
)
val
msgComment
:
AppointDefine
.
FeedComment
?
=
null
,
@ProtoId
(
7
)
val
msgComment
:
FeedComment
?
=
null
,
@ProtoId
(
8
)
val
cancelEventId
:
Long
=
0L
)
:
ProtoBuf
@Serializable
internal
class
FeedsCookie
(
internal
class
FeedsCookie
(
@ProtoId
(
1
)
val
strList
:
List
<
String
>
=
listOf
(),
@ProtoId
(
2
)
val
pose
:
Int
=
0
,
@ProtoId
(
3
)
val
cookie
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
...
@@ -320,7 +320,7 @@ internal class FeedsCookie(
)
:
ProtoBuf
@Serializable
internal
class
NearbyTopic
(
internal
class
NearbyTopic
(
@ProtoId
(
1
)
val
topicId
:
Long
=
0L
,
@ProtoId
(
2
)
val
topic
:
String
=
""
,
@ProtoId
(
3
)
val
foreword
:
String
=
""
,
...
...
@@ -342,22 +342,22 @@ internal class NearbyTopic(
)
:
ProtoBuf
@Serializable
internal
class
NearbyEvent
(
internal
class
NearbyEvent
(
@ProtoId
(
1
)
val
eventtype
:
Int
=
0
,
@ProtoId
(
2
)
val
msgRankevent
:
AppointDefine
.
RankEvent
?
=
null
,
@ProtoId
(
2
)
val
msgRankevent
:
RankEvent
?
=
null
,
@ProtoId
(
3
)
val
eventUin
:
Long
=
0L
,
@ProtoId
(
4
)
val
eventTinyid
:
Long
=
0L
)
:
ProtoBuf
@Serializable
internal
class
Feed
(
@ProtoId
(
1
)
val
msgUserInfo
:
AppointDefine
.
PublisherInfo
?
=
null
,
@ProtoId
(
2
)
val
msgFeedInfo
:
AppointDefine
.
FeedInfo
?
=
null
,
internal
class
Feed
(
@ProtoId
(
1
)
val
msgUserInfo
:
PublisherInfo
?
=
null
,
@ProtoId
(
2
)
val
msgFeedInfo
:
FeedInfo
?
=
null
,
@ProtoId
(
3
)
val
ownerFlag
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
ActivityInfo
(
internal
class
ActivityInfo
(
@ProtoId
(
2
)
val
name
:
String
=
""
,
@ProtoId
(
3
)
val
cover
:
String
=
""
,
@ProtoId
(
4
)
val
url
:
String
=
""
,
...
...
@@ -367,12 +367,12 @@ internal class ActivityInfo(
@ProtoId
(
8
)
val
enroll
:
Long
=
0L
,
@ProtoId
(
9
)
val
createUin
:
Long
=
0L
,
@ProtoId
(
10
)
val
createTime
:
Int
=
0
,
@ProtoId
(
11
)
val
organizerInfo
:
AppointDefine
.
OrganizerInfo
=
OrganizerInfo
(),
@ProtoId
(
11
)
val
organizerInfo
:
OrganizerInfo
=
OrganizerInfo
(),
@ProtoId
(
12
)
val
flag
:
Long
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
HotEntry
(
internal
class
HotEntry
(
@ProtoId
(
1
)
val
openFlag
:
Int
=
0
,
@ProtoId
(
2
)
val
restTime
:
Int
=
0
,
@ProtoId
(
3
)
val
foreword
:
String
=
""
,
...
...
@@ -380,42 +380,42 @@ internal class HotEntry(
)
:
ProtoBuf
@Serializable
internal
class
UserFeed
(
@ProtoId
(
1
)
val
msgUserInfo
:
AppointDefine
.
PublisherInfo
?
=
null
,
@ProtoId
(
2
)
val
msgFeedInfo
:
AppointDefine
.
FeedInfo
?
=
null
,
internal
class
UserFeed
(
@ProtoId
(
1
)
val
msgUserInfo
:
PublisherInfo
?
=
null
,
@ProtoId
(
2
)
val
msgFeedInfo
:
FeedInfo
?
=
null
,
@ProtoId
(
3
)
val
ownerFlag
:
Int
=
0
,
@ProtoId
(
4
)
val
msgActivityInfo
:
A
ppointDefine
.
A
ctivityInfo
?
=
null
@ProtoId
(
4
)
val
msgActivityInfo
:
ActivityInfo
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
Elem
(
internal
class
Elem
(
@ProtoId
(
1
)
val
content
:
String
=
""
,
@ProtoId
(
2
)
val
msgFaceInfo
:
AppointDefine
.
Face
?
=
null
@ProtoId
(
2
)
val
msgFaceInfo
:
Face
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
HotFreshFeedList
(
@ProtoId
(
1
)
val
msgFeeds
:
List
<
AppointDefine
.
HotUserFeed
>?
=
null
,
internal
class
HotFreshFeedList
(
@ProtoId
(
1
)
val
msgFeeds
:
List
<
HotUserFeed
>?
=
null
,
@ProtoId
(
2
)
val
updateTime
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
RptInterestTag
(
@ProtoId
(
1
)
val
interestTags
:
List
<
AppointDefine
.
InterestTag
>?
=
null
internal
class
RptInterestTag
(
@ProtoId
(
1
)
val
interestTags
:
List
<
InterestTag
>?
=
null
)
:
ProtoBuf
@Serializable
internal
class
AddressInfo
(
internal
class
AddressInfo
(
@ProtoId
(
1
)
val
companyZone
:
String
=
""
,
@ProtoId
(
2
)
val
companyName
:
String
=
""
,
@ProtoId
(
3
)
val
companyAddr
:
String
=
""
,
@ProtoId
(
4
)
val
companyPicUrl
:
String
=
""
,
@ProtoId
(
5
)
val
companyUrl
:
String
=
""
,
@ProtoId
(
6
)
val
msgCompanyId
:
AppointDefine
.
ShopID
?
=
null
@ProtoId
(
6
)
val
msgCompanyId
:
ShopID
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
PublisherInfo
(
internal
class
PublisherInfo
(
@ProtoId
(
1
)
val
tinyid
:
Long
=
0L
,
@ProtoId
(
2
)
val
nickname
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
age
:
Int
=
0
,
...
...
@@ -432,7 +432,7 @@ internal class PublisherInfo(
@ProtoId
(
14
)
val
charm
:
Int
=
0
,
@ProtoId
(
15
)
val
charmLevel
:
Int
=
0
,
@ProtoId
(
16
)
val
pubNumber
:
Int
=
0
,
@ProtoId
(
17
)
val
msgCommonLabel
:
AppointDefine
.
CommonLabel
?
=
null
,
@ProtoId
(
17
)
val
msgCommonLabel
:
CommonLabel
?
=
null
,
@ProtoId
(
18
)
val
recentVistorTime
:
Int
=
0
,
@ProtoId
(
19
)
val
strangerDeclare
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
20
)
val
friendUin
:
Long
=
0L
,
...
...
@@ -441,7 +441,7 @@ internal class PublisherInfo(
)
:
ProtoBuf
@Serializable
internal
class
HotUserFeed
(
internal
class
HotUserFeed
(
@ProtoId
(
1
)
val
feedId
:
String
=
""
,
@ProtoId
(
2
)
val
praiseCount
:
Int
=
0
,
@ProtoId
(
3
)
val
publishUid
:
Long
=
0L
,
...
...
@@ -449,7 +449,7 @@ internal class HotUserFeed(
)
:
ProtoBuf
@Serializable
internal
class
FreshFeedInfo
(
internal
class
FreshFeedInfo
(
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
2
)
val
time
:
Int
=
0
,
@ProtoId
(
3
)
val
feedId
:
String
=
""
,
...
...
@@ -457,7 +457,7 @@ internal class FreshFeedInfo(
)
:
ProtoBuf
@Serializable
internal
class
CommonLabel
(
internal
class
CommonLabel
(
@ProtoId
(
1
)
val
lableId
:
Int
=
0
,
@ProtoId
(
2
)
val
lableMsgPre
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
lableMsgLast
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
...
@@ -466,12 +466,12 @@ internal class CommonLabel(
)
:
ProtoBuf
@Serializable
internal
class
Face
(
internal
class
Face
(
@ProtoId
(
1
)
val
index
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
StrangerInfo
(
internal
class
StrangerInfo
(
@ProtoId
(
1
)
val
tinyid
:
Long
=
0L
,
@ProtoId
(
2
)
val
nickname
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
age
:
Int
=
0
,
...
...
@@ -490,7 +490,7 @@ internal class StrangerInfo(
)
:
ProtoBuf
@Serializable
internal
class
HotTopic
(
internal
class
HotTopic
(
@ProtoId
(
1
)
val
id
:
Long
=
0L
,
@ProtoId
(
2
)
val
title
:
String
=
""
,
@ProtoId
(
3
)
val
topicType
:
Long
=
0L
,
...
...
@@ -503,22 +503,22 @@ internal class HotTopic(
)
:
ProtoBuf
@Serializable
internal
class
DateEvent
(
internal
class
DateEvent
(
@ProtoId
(
1
)
val
eventId
:
Long
=
0L
,
@ProtoId
(
2
)
val
time
:
Int
=
0
,
@ProtoId
(
3
)
val
type
:
Int
=
0
,
@ProtoId
(
4
)
val
msgUserInfo
:
AppointDefine
.
StrangerInfo
?
=
null
,
@ProtoId
(
5
)
val
msgDateInfo
:
Appoint
Define
.
Appoint
Info
?
=
null
,
@ProtoId
(
4
)
val
msgUserInfo
:
StrangerInfo
?
=
null
,
@ProtoId
(
5
)
val
msgDateInfo
:
AppointInfo
?
=
null
,
@ProtoId
(
6
)
val
attendIdx
:
Int
=
0
,
@ProtoId
(
7
)
val
eventTips
:
String
=
""
,
@ProtoId
(
8
)
val
msgComment
:
AppointDefine
.
DateComment
?
=
null
,
@ProtoId
(
8
)
val
msgComment
:
DateComment
?
=
null
,
@ProtoId
(
9
)
val
cancelEventId
:
Long
=
0L
)
:
ProtoBuf
@Serializable
internal
class
AppointInfo
(
@ProtoId
(
1
)
val
msgAppointId
:
Appoint
Define
.
Appoint
ID
?
=
null
,
@ProtoId
(
2
)
val
msgAppointment
:
Appoint
Define
.
Appoint
Content
?
=
null
,
internal
class
AppointInfo
(
@ProtoId
(
1
)
val
msgAppointId
:
AppointID
?
=
null
,
@ProtoId
(
2
)
val
msgAppointment
:
AppointContent
?
=
null
,
@ProtoId
(
3
)
val
appointStatus
:
Int
=
0
,
@ProtoId
(
4
)
val
joinWording
:
String
=
""
,
@ProtoId
(
5
)
val
viewWording
:
String
=
""
,
...
...
@@ -529,11 +529,11 @@ internal class AppointInfo(
@ProtoId
(
10
)
val
commentWording
:
String
=
""
,
@ProtoId
(
11
)
val
commentNum
:
Int
=
0
,
@ProtoId
(
12
)
val
attendStatus
:
Int
=
0
,
@ProtoId
(
13
)
val
msgAppointmentEx
:
Appoint
Define
.
Appoint
InfoEx
?
=
null
@ProtoId
(
13
)
val
msgAppointmentEx
:
AppointInfoEx
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
UserInfo
(
internal
class
UserInfo
(
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
2
)
val
nickname
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
age
:
Int
=
0
,
...
...
@@ -542,8 +542,8 @@ internal class UserInfo(
)
:
ProtoBuf
@Serializable
internal
class
ReplyInfo
(
internal
class
ReplyInfo
(
@ProtoId
(
1
)
val
commentId
:
String
=
""
,
@ProtoId
(
2
)
val
msgStrangerInfo
:
AppointDefine
.
StrangerInfo
?
=
null
@ProtoId
(
2
)
val
msgStrangerInfo
:
StrangerInfo
?
=
null
)
:
ProtoBuf
}
\ No newline at end of file
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Group.kt
View file @
7bb9052a
...
...
@@ -17,51 +17,51 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
@Serializable
internal
class
GroupLabel
:
ProtoBuf
{
@Serializable
internal
class
Label
(
internal
class
Label
(
@ProtoId
(
1
)
val
name
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
enumType
:
Int
/* enum */
=
1
,
@ProtoId
(
3
)
val
textColor
:
GroupLabel
.
Color
?
=
null
,
@ProtoId
(
4
)
val
edgingColor
:
GroupLabel
.
Color
?
=
null
,
@ProtoId
(
3
)
val
textColor
:
Color
?
=
null
,
@ProtoId
(
4
)
val
edgingColor
:
Color
?
=
null
,
@ProtoId
(
5
)
val
labelAttr
:
Int
=
0
,
@ProtoId
(
6
)
val
labelType
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
RspBody
(
internal
class
RspBody
(
@ProtoId
(
1
)
val
error
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
groupInfo
:
List
<
Group
Label
.
Group
Info
>?
=
null
@ProtoId
(
2
)
val
groupInfo
:
List
<
GroupInfo
>?
=
null
)
:
ProtoBuf
@Serializable
internal
class
SourceId
(
internal
class
SourceId
(
@ProtoId
(
1
)
val
sourceId
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
GroupInfo
(
internal
class
GroupInfo
(
@ProtoId
(
1
)
val
int32Result
:
Int
=
0
,
@ProtoId
(
2
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
3
)
val
groupLabel
:
List
<
GroupLabel
.
Label
>?
=
null
@ProtoId
(
3
)
val
groupLabel
:
List
<
Label
>?
=
null
)
:
ProtoBuf
@Serializable
internal
class
Color
(
internal
class
Color
(
@ProtoId
(
1
)
val
r
:
Int
=
0
,
@ProtoId
(
2
)
val
g
:
Int
=
0
,
@ProtoId
(
3
)
val
b
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
ReqBody
(
@ProtoId
(
1
)
val
sourceId
:
GroupLabel
.
SourceId
?
=
null
,
@ProtoId
(
2
)
val
uinInfo
:
GroupLabel
.
UinInfo
?
=
null
,
internal
class
ReqBody
(
@ProtoId
(
1
)
val
sourceId
:
SourceId
?
=
null
,
@ProtoId
(
2
)
val
uinInfo
:
UinInfo
?
=
null
,
@ProtoId
(
3
)
val
numberLabel
:
Int
=
5
,
@ProtoId
(
4
)
val
groupCode
:
List
<
Long
>?
=
null
,
@ProtoId
(
5
)
val
labelStyle
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
UinInfo
(
internal
class
UinInfo
(
@ProtoId
(
1
)
val
int64Longitude
:
Long
=
0L
,
@ProtoId
(
2
)
val
int64Latitude
:
Long
=
0L
)
:
ProtoBuf
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Highway.kt
View file @
7bb9052a
...
...
@@ -19,19 +19,19 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
@Serializable
internal
class
BdhExtinfo
:
ProtoBuf
{
@Serializable
internal
class
CommFileExtReq
(
internal
class
CommFileExtReq
(
@ProtoId
(
1
)
val
actionType
:
Int
=
0
,
@ProtoId
(
2
)
val
uuid
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
@Serializable
internal
class
CommFileExtRsp
(
internal
class
CommFileExtRsp
(
@ProtoId
(
1
)
val
int32Retcode
:
Int
=
0
,
@ProtoId
(
2
)
val
downloadUrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
@Serializable
internal
class
PicInfo
(
internal
class
PicInfo
(
@ProtoId
(
1
)
val
idx
:
Int
=
0
,
@ProtoId
(
2
)
val
size
:
Int
=
0
,
@ProtoId
(
3
)
val
binMd5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
...
@@ -39,7 +39,7 @@ internal class PicInfo(
)
:
ProtoBuf
@Serializable
internal
class
QQVoiceExtReq
(
internal
class
QQVoiceExtReq
(
@ProtoId
(
1
)
val
qid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
fmt
:
Int
=
0
,
@ProtoId
(
3
)
val
rate
:
Int
=
0
,
...
...
@@ -49,21 +49,21 @@ internal class QQVoiceExtReq(
)
:
ProtoBuf
@Serializable
internal
class
QQVoiceExtRsp
(
internal
class
QQVoiceExtRsp
(
@ProtoId
(
1
)
val
qid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
int32Retcode
:
Int
=
0
,
@ProtoId
(
3
)
val
msgResult
:
List
<
QQVoiceResult
>?
=
null
)
:
ProtoBuf
@Serializable
internal
class
QQVoiceResult
(
internal
class
QQVoiceResult
(
@ProtoId
(
1
)
val
text
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
pinyin
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
source
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
ShortVideoReqExtInfo
(
internal
class
ShortVideoReqExtInfo
(
@ProtoId
(
1
)
val
cmd
:
Int
=
0
,
@ProtoId
(
2
)
val
sessionId
:
Long
=
0L
,
@ProtoId
(
3
)
val
msgThumbinfo
:
PicInfo
?
=
null
,
...
...
@@ -73,7 +73,7 @@ internal class ShortVideoReqExtInfo(
)
:
ProtoBuf
@Serializable
internal
class
ShortVideoRspExtInfo
(
internal
class
ShortVideoRspExtInfo
(
@ProtoId
(
1
)
val
cmd
:
Int
=
0
,
@ProtoId
(
2
)
val
sessionId
:
Long
=
0L
,
@ProtoId
(
3
)
val
int32Retcode
:
Int
=
0
,
...
...
@@ -85,7 +85,7 @@ internal class ShortVideoRspExtInfo(
)
:
ProtoBuf
@Serializable
internal
class
ShortVideoSureReqInfo
(
internal
class
ShortVideoSureReqInfo
(
@ProtoId
(
1
)
val
fromuin
:
Long
=
0L
,
@ProtoId
(
2
)
val
chatType
:
Int
=
0
,
@ProtoId
(
3
)
val
touin
:
Long
=
0L
,
...
...
@@ -99,7 +99,7 @@ internal class ShortVideoSureReqInfo(
)
:
ProtoBuf
@Serializable
internal
class
ShortVideoSureRspInfo
(
internal
class
ShortVideoSureRspInfo
(
@ProtoId
(
1
)
val
fileid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
ukey
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
msgVideoinfo
:
VideoInfo
?
=
null
,
...
...
@@ -107,10 +107,10 @@ internal class ShortVideoSureRspInfo(
)
:
ProtoBuf
@Serializable
internal
class
StoryVideoExtReq
:
ProtoBuf
internal
class
StoryVideoExtReq
:
ProtoBuf
@Serializable
internal
class
StoryVideoExtRsp
(
internal
class
StoryVideoExtRsp
(
@ProtoId
(
1
)
val
int32Retcode
:
Int
=
0
,
@ProtoId
(
2
)
val
msg
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
cdnUrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
...
@@ -119,14 +119,14 @@ internal class StoryVideoExtRsp(
)
:
ProtoBuf
@Serializable
internal
class
UploadPicExtInfo
(
internal
class
UploadPicExtInfo
(
@ProtoId
(
1
)
val
fileResid
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
downloadUrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
thumbDownloadUrl
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
@Serializable
internal
class
VideoInfo
(
internal
class
VideoInfo
(
@ProtoId
(
1
)
val
idx
:
Int
=
0
,
@ProtoId
(
2
)
val
size
:
Int
=
0
,
@ProtoId
(
3
)
val
binMd5
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
...
@@ -142,13 +142,13 @@ internal class VideoInfo(
@Serializable
internal
class
CSDataHighwayHead
:
ProtoBuf
{
@Serializable
internal
class
C2CCommonExtendinfo
(
internal
class
C2CCommonExtendinfo
(
@ProtoId
(
1
)
val
infoId
:
Int
=
0
,
@ProtoId
(
2
)
val
msgFilterExtendinfo
:
FilterExtendinfo
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
DataHighwayHead
(
internal
class
DataHighwayHead
(
@ProtoId
(
1
)
val
version
:
Int
=
0
,
@ProtoId
(
2
)
val
uin
:
String
=
""
,
// yes
@ProtoId
(
3
)
val
command
:
String
=
""
,
...
...
@@ -162,25 +162,25 @@ internal class DataHighwayHead(
)
:
ProtoBuf
@Serializable
internal
class
DataHole
(
internal
class
DataHole
(
@ProtoId
(
1
)
val
begin
:
Long
=
0L
,
@ProtoId
(
2
)
val
end
:
Long
=
0L
)
:
ProtoBuf
@Serializable
internal
class
FilterExtendinfo
(
internal
class
FilterExtendinfo
(
@ProtoId
(
1
)
val
filterFlag
:
Int
=
0
,
@ProtoId
(
2
)
val
msgImageFilterRequest
:
ImageFilterRequest
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
FilterStyle
(
internal
class
FilterStyle
(
@ProtoId
(
1
)
val
styleId
:
Int
=
0
,
@ProtoId
(
2
)
val
styleName
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
@Serializable
internal
class
ImageFilterRequest
(
internal
class
ImageFilterRequest
(
@ProtoId
(
1
)
val
sessionId
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
clientIp
:
Int
=
0
,
@ProtoId
(
3
)
val
uin
:
Long
=
0L
,
...
...
@@ -191,26 +191,26 @@ internal class ImageFilterRequest(
)
:
ProtoBuf
@Serializable
internal
class
ImageFilterResponse
(
internal
class
ImageFilterResponse
(
@ProtoId
(
1
)
val
retCode
:
Int
=
0
,
@ProtoId
(
2
)
val
imageData
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
costTime
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
LoginSigHead
(
internal
class
LoginSigHead
(
@ProtoId
(
1
)
val
loginsigType
:
Int
=
0
,
@ProtoId
(
2
)
val
loginsig
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
@Serializable
internal
class
NewServiceTicket
(
internal
class
NewServiceTicket
(
@ProtoId
(
1
)
val
signature
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
ukey
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
@Serializable
internal
class
PicInfoExt
(
internal
class
PicInfoExt
(
@ProtoId
(
1
)
val
picWidth
:
Int
=
0
,
@ProtoId
(
2
)
val
picHeight
:
Int
=
0
,
@ProtoId
(
3
)
val
picFlag
:
Int
=
0
,
...
...
@@ -223,7 +223,7 @@ internal class PicInfoExt(
)
:
ProtoBuf
@Serializable
internal
class
PicRspExtInfo
(
internal
class
PicRspExtInfo
(
@ProtoId
(
1
)
val
skey
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
clientIp
:
Int
=
0
,
@ProtoId
(
3
)
val
upOffset
:
Long
=
0L
,
...
...
@@ -231,14 +231,14 @@ internal class PicRspExtInfo(
)
:
ProtoBuf
@Serializable
internal
class
QueryHoleRsp
(
internal
class
QueryHoleRsp
(
@ProtoId
(
1
)
val
result
:
Int
=
0
,
@ProtoId
(
2
)
val
dataHole
:
List
<
DataHole
>?
=
null
,
@ProtoId
(
3
)
val
boolCompFlag
:
Boolean
=
false
)
:
ProtoBuf
@Serializable
internal
class
ReqDataHighwayHead
(
internal
class
ReqDataHighwayHead
(
@ProtoId
(
1
)
val
msgBasehead
:
DataHighwayHead
?
=
null
,
@ProtoId
(
2
)
val
msgSeghead
:
SegHead
?
=
null
,
@ProtoId
(
3
)
val
reqExtendinfo
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
...
@@ -247,12 +247,12 @@ internal class ReqDataHighwayHead(
)
:
ProtoBuf
@Serializable
internal
class
RspBody
(
internal
class
RspBody
(
@ProtoId
(
1
)
val
msgQueryHoleRsp
:
QueryHoleRsp
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
RspDataHighwayHead
(
internal
class
RspDataHighwayHead
(
@ProtoId
(
1
)
val
msgBasehead
:
DataHighwayHead
?
=
null
,
@ProtoId
(
2
)
val
msgSeghead
:
SegHead
?
=
null
,
@ProtoId
(
3
)
val
errorCode
:
Int
=
0
,
...
...
@@ -266,7 +266,7 @@ internal class RspDataHighwayHead(
)
:
ProtoBuf
@Serializable
internal
class
SegHead
(
internal
class
SegHead
(
@ProtoId
(
1
)
val
serviceid
:
Int
=
0
,
@ProtoId
(
2
)
val
filesize
:
Long
=
0L
,
@ProtoId
(
3
)
val
dataoffset
:
Long
=
0L
,
...
...
@@ -285,13 +285,13 @@ internal class SegHead(
@Serializable
internal
class
HwConfigPersistentPB
:
ProtoBuf
{
@Serializable
internal
class
HwConfigItemPB
(
internal
class
HwConfigItemPB
(
@ProtoId
(
1
)
val
ingKey
:
String
=
""
,
@ProtoId
(
2
)
val
endPointList
:
List
<
HwEndPointPB
>?
=
null
)
:
ProtoBuf
@Serializable
internal
class
HwConfigPB
(
internal
class
HwConfigPB
(
@ProtoId
(
1
)
val
configItemList
:
List
<
HwConfigItemPB
>?
=
null
,
@ProtoId
(
2
)
val
netSegConfList
:
List
<
HwNetSegConfPB
>?
=
null
,
@ProtoId
(
3
)
val
shortVideoNetConf
:
List
<
HwNetSegConfPB
>?
=
null
,
...
...
@@ -299,14 +299,14 @@ internal class HwConfigPB(
)
:
ProtoBuf
@Serializable
internal
class
HwEndPointPB
(
internal
class
HwEndPointPB
(
@ProtoId
(
1
)
val
ingHost
:
String
=
""
,
@ProtoId
(
2
)
val
int32Port
:
Int
=
0
,
@ProtoId
(
3
)
val
int64Timestampe
:
Long
=
0L
)
:
ProtoBuf
@Serializable
internal
class
HwNetSegConfPB
(
internal
class
HwNetSegConfPB
(
@ProtoId
(
1
)
val
int64NetType
:
Long
=
0L
,
@ProtoId
(
2
)
val
int64SegSize
:
Long
=
0L
,
@ProtoId
(
3
)
val
int64SegNum
:
Long
=
0L
,
...
...
@@ -317,7 +317,7 @@ internal class HwNetSegConfPB(
@Serializable
internal
class
HwSessionInfoPersistentPB
:
ProtoBuf
{
@Serializable
internal
class
HwSessionInfoPB
(
internal
class
HwSessionInfoPB
(
@ProtoId
(
1
)
val
httpconnSigSession
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
sessionKey
:
ByteArray
=
EMPTY_BYTE_ARRAY
)
:
ProtoBuf
...
...
@@ -326,17 +326,17 @@ internal class HwSessionInfoPB(
@Serializable
internal
class
Subcmd0x501
:
ProtoBuf
{
@Serializable
internal
class
ReqBody
(
internal
class
ReqBody
(
@ProtoId
(
1281
)
val
msgSubcmd0x501ReqBody
:
SubCmd0x501ReqBody
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
RspBody
(
internal
class
RspBody
(
@ProtoId
(
1281
)
val
msgSubcmd0x501RspBody
:
SubCmd0x501Rspbody
?
=
null
)
:
ProtoBuf
@Serializable
internal
class
SubCmd0x501ReqBody
(
internal
class
SubCmd0x501ReqBody
(
@ProtoId
(
1
)
val
uin
:
Long
=
0L
,
@ProtoId
(
2
)
val
idcId
:
Int
=
0
,
@ProtoId
(
3
)
val
appid
:
Int
=
0
,
...
...
@@ -352,7 +352,7 @@ internal class SubCmd0x501ReqBody(
)
:
ProtoBuf
@Serializable
internal
class
SubCmd0x501Rspbody
(
internal
class
SubCmd0x501Rspbody
(
@ProtoId
(
1
)
val
httpconnSigSession
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
sessionKey
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
msgHttpconnAddrs
:
List
<
SrvAddrs
>?
=
null
,
...
...
@@ -366,14 +366,14 @@ internal class SubCmd0x501Rspbody(
@ProtoId
(
11
)
val
msgPtvConf
:
PTVConf
?
=
null
)
:
ProtoBuf
{
@Serializable
internal
class
DownloadEncryptConf
(
internal
class
DownloadEncryptConf
(
@ProtoId
(
1
)
val
boolEnableEncryptRequest
:
Boolean
=
false
,
@ProtoId
(
2
)
val
boolEnableEncryptedPic
:
Boolean
=
false
,
@ProtoId
(
3
)
val
ctrlFlag
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
DynTimeOutConf
(
internal
class
DynTimeOutConf
(
@ProtoId
(
1
)
val
tbase2g
:
Int
=
0
,
@ProtoId
(
2
)
val
tbase3g
:
Int
=
0
,
@ProtoId
(
3
)
val
tbase4g
:
Int
=
0
,
...
...
@@ -396,7 +396,7 @@ internal class DynTimeOutConf(
)
:
ProtoBuf
@Serializable
internal
class
Ip6Addr
(
internal
class
Ip6Addr
(
@ProtoId
(
1
)
val
type
:
Int
=
0
,
@ProtoId
(
2
)
val
ip6
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
3
)
val
port
:
Int
=
0
,
...
...
@@ -405,7 +405,7 @@ internal class Ip6Addr(
)
:
ProtoBuf
@Serializable
internal
class
IpAddr
(
internal
class
IpAddr
(
@ProtoId
(
1
)
val
type
:
Int
=
0
,
@ProtoType
(
ProtoNumberType
.
FIXED
)
@ProtoId
(
2
)
val
ip
:
Int
=
0
,
@ProtoId
(
3
)
val
port
:
Int
=
0
,
...
...
@@ -414,13 +414,13 @@ internal class IpAddr(
)
:
ProtoBuf
@Serializable
internal
class
IpLearnConf
(
internal
class
IpLearnConf
(
@ProtoId
(
1
)
val
refreshCachedIp
:
Int
=
0
,
@ProtoId
(
2
)
val
enableIpLearn
:
Int
=
0
)
:
ProtoBuf
@Serializable
internal
class
NetSegConf
(
internal
class
NetSegConf
(
@ProtoId
(
1
)
val
netType
:
Int
=
0
,
@ProtoId
(
2
)
val
segsize
:
Int
=
0
,
@ProtoId
(
3
)
val
segnum
:
Int
=
0
,
...
...
@@ -428,7 +428,7 @@ internal class NetSegConf(
)
:
ProtoBuf
@Serializable
internal
class
OpenUpConf
(
internal
class
OpenUpConf
(
@ProtoId
(
1
)
val
boolEnableOpenup
:
Boolean
=
false
,
@ProtoId
(
2
)
val
preSendSegnum
:
Int
=
0
,
@ProtoId
(
3
)
val
preSendSegnum3g
:
Int
=
0
,
...
...
@@ -437,14 +437,14 @@ internal class OpenUpConf(
)
:
ProtoBuf
@Serializable
internal
class
PTVConf
(
internal
class
PTVConf
(
@ProtoId
(
1
)
val
channelType
:
Int
=
0
,
@ProtoId
(
2
)
val
msgNetsegconf
:
List
<
NetSegConf
>?
=
null
,
@ProtoId
(
3
)
val
boolOpenHardwareCodec
:
Boolean
=
false
)
:
ProtoBuf
@Serializable
internal
class
ShortVideoConf
(
internal
class
ShortVideoConf
(
@ProtoId
(
1
)
val
channelType
:
Int
=
0
,
@ProtoId
(
2
)
val
msgNetsegconf
:
List
<
NetSegConf
>?
=
null
,
@ProtoId
(
3
)
val
boolOpenHardwareCodec
:
Boolean
=
false
,
...
...
@@ -452,7 +452,7 @@ internal class ShortVideoConf(
)
:
ProtoBuf
@Serializable
internal
class
SrvAddrs
(
internal
class
SrvAddrs
(
@ProtoId
(
1
)
val
serviceType
:
Int
=
0
,
@ProtoId
(
2
)
val
msgAddrs
:
List
<
IpAddr
>?
=
null
,
@ProtoId
(
3
)
val
fragmentSize
:
Int
=
0
,
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/onlinePush0x210/msgType0x210.kt
View file @
7bb9052a
/*
* Copyright 2020 Mamoe Technologies and contributors.
*
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
*
* https://github.com/mamoe/mirai/blob/master/LICENSE
*/
@
file
:
Suppress
(
"unused"
,
"SpellCheckingInspection"
)
package
net.mamoe.mirai.qqandroid.network.protocol.data.proto.onlinePush0x210
...
...
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