friend list packet

This commit is contained in:
jiahua.liu 2020-01-30 16:12:23 +08:00
parent e891073433
commit 421365cd8b
2 changed files with 5 additions and 4 deletions

View File

@ -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>()
} }

View File

@ -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,