mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-13 03:16:05 +08:00
friend list packet
This commit is contained in:
parent
e891073433
commit
421365cd8b
@ -96,9 +96,9 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
|
|||||||
FriendListPacket(
|
FriendListPacket(
|
||||||
bot.client,
|
bot.client,
|
||||||
0,
|
0,
|
||||||
10,
|
20,
|
||||||
0,
|
0,
|
||||||
5
|
0
|
||||||
).sendAndExpect<FriendListPacket.GetFriendListResponse>()
|
).sendAndExpect<FriendListPacket.GetFriendListResponse>()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -48,6 +48,7 @@ internal object FriendListPacket :
|
|||||||
iVersion = 3,
|
iVersion = 3,
|
||||||
cPacketType = 0x003,
|
cPacketType = 0x003,
|
||||||
iMessageType = 0x00000,
|
iMessageType = 0x00000,
|
||||||
|
iRequestId = 1921334514,
|
||||||
sBuffer = RequestDataVersion3(
|
sBuffer = RequestDataVersion3(
|
||||||
mapOf(
|
mapOf(
|
||||||
"FL" to GetFriendListReq(
|
"FL" to GetFriendListReq(
|
||||||
@ -69,13 +70,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,
|
||||||
|
Loading…
Reference in New Issue
Block a user