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
5398e379
Commit
5398e379
authored
Jan 30, 2020
by
Him188
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
3a11adf1
421365cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidBotNetworkHandler.kt
...moe/mirai/qqandroid/network/QQAndroidBotNetworkHandler.kt
+2
-2
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/list/FriendListPacket.kt
...qandroid/network/protocol/packet/list/FriendListPacket.kt
+5
-2
No files found.
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidBotNetworkHandler.kt
View file @
5398e379
...
@@ -96,9 +96,9 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
...
@@ -96,9 +96,9 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
FriendListPacket
(
FriendListPacket
(
bot
.
client
,
bot
.
client
,
0
,
0
,
1
0
,
2
0
,
0
,
0
,
5
0
).
sendAndExpect
<
FriendListPacket
.
GetFriendListResponse
>()
).
sendAndExpect
<
FriendListPacket
.
GetFriendListResponse
>()
}
}
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/list/FriendListPacket.kt
View file @
5398e379
...
@@ -45,6 +45,9 @@ internal object FriendListPacket :
...
@@ -45,6 +45,9 @@ internal object FriendListPacket :
sFuncName
=
"GetFriendListReq"
,
sFuncName
=
"GetFriendListReq"
,
sServantName
=
"mqq.IMService.FriendListServiceServantObj"
,
sServantName
=
"mqq.IMService.FriendListServiceServantObj"
,
iVersion
=
3
,
iVersion
=
3
,
cPacketType
=
0
x003
,
iMessageType
=
0
x00000
,
iRequestId
=
1921334514
,
sBuffer
=
RequestDataVersion3
(
sBuffer
=
RequestDataVersion3
(
mapOf
(
mapOf
(
"FL"
to
GetFriendListReq
(
"FL"
to
GetFriendListReq
(
...
@@ -66,13 +69,13 @@ internal object FriendListPacket :
...
@@ -66,13 +69,13 @@ internal object FriendListPacket :
groupstartIndex
=
groupListStartIndex
.
toByte
(),
groupstartIndex
=
groupListStartIndex
.
toByte
(),
getgroupCount
=
groupListCount
.
toByte
(),
getgroupCount
=
groupListCount
.
toByte
(),
ifGetMSFGroup
=
0
,
ifGetMSFGroup
=
0
,
ifShowTermType
=
0
,
ifShowTermType
=
1
,
version
=
27L
,
version
=
27L
,
uinList
=
null
,
uinList
=
null
,
eAppType
=
0
,
eAppType
=
0
,
ifGetBothFlag
=
0
,
ifGetBothFlag
=
0
,
ifGetDOVId
=
0
,
ifGetDOVId
=
0
,
vec0xd6bReq
=
Vec0xd6b
.
ReqBody
().
toByteArray
(
Vec0xd6b
.
ReqBody
.
serializer
())
,
vec0xd6bReq
=
EMPTY_BYTE_ARRAY
,
vec0xd50Req
=
Vec0xd50
.
ReqBody
(
vec0xd50Req
=
Vec0xd50
.
ReqBody
(
appid
=
10002L
,
appid
=
10002L
,
reqKsingSwitch
=
1
,
reqKsingSwitch
=
1
,
...
...
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