1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-14 23:20:49 +08:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Him188 2020-01-30 17:19:04 +08:00
commit 5398e3796a
2 changed files with 7 additions and 4 deletions
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network

View File

@ -96,9 +96,9 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
FriendListPacket(
bot.client,
0,
10,
20,
0,
5
0
).sendAndExpect<FriendListPacket.GetFriendListResponse>()
}

View File

@ -45,6 +45,9 @@ internal object FriendListPacket :
sFuncName = "GetFriendListReq",
sServantName = "mqq.IMService.FriendListServiceServantObj",
iVersion = 3,
cPacketType = 0x003,
iMessageType = 0x00000,
iRequestId = 1921334514,
sBuffer = RequestDataVersion3(
mapOf(
"FL" to GetFriendListReq(
@ -66,13 +69,13 @@ internal object FriendListPacket :
groupstartIndex = groupListStartIndex.toByte(),
getgroupCount = groupListCount.toByte(),
ifGetMSFGroup = 0,
ifShowTermType = 0,
ifShowTermType = 1,
version = 27L,
uinList = null,
eAppType = 0,
ifGetBothFlag = 0,
ifGetDOVId = 0,
vec0xd6bReq = Vec0xd6b.ReqBody().toByteArray(Vec0xd6b.ReqBody.serializer()),
vec0xd6bReq = EMPTY_BYTE_ARRAY,
vec0xd50Req = Vec0xd50.ReqBody(
appid = 10002L,
reqKsingSwitch = 1,