Commit 421365cd authored by jiahua.liu's avatar jiahua.liu

friend list packet

parent e8910734
...@@ -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,
10, 20,
0, 0,
5 0
).sendAndExpect<FriendListPacket.GetFriendListResponse>() ).sendAndExpect<FriendListPacket.GetFriendListResponse>()
} }
......
...@@ -48,6 +48,7 @@ internal object FriendListPacket : ...@@ -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 : ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment