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(
bot.client,
0,
10,
20,
0,
5
0
).sendAndExpect<FriendListPacket.GetFriendListResponse>()
}

View File

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