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(
|
||||
bot.client,
|
||||
0,
|
||||
10,
|
||||
20,
|
||||
0,
|
||||
5
|
||||
0
|
||||
).sendAndExpect<FriendListPacket.GetFriendListResponse>()
|
||||
|
||||
}
|
||||
|
@ -48,6 +48,7 @@ internal object FriendListPacket :
|
||||
iVersion = 3,
|
||||
cPacketType = 0x003,
|
||||
iMessageType = 0x00000,
|
||||
iRequestId = 1921334514,
|
||||
sBuffer = RequestDataVersion3(
|
||||
mapOf(
|
||||
"FL" to GetFriendListReq(
|
||||
@ -69,13 +70,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,
|
||||
|
Loading…
Reference in New Issue
Block a user