Commit d3557c92 authored by Him188's avatar Him188

Merge remote-tracking branch 'origin/master'

parents c378dcb0 6fff5b27
......@@ -98,9 +98,9 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
val data = FriendList.GetFriendGroupList(
bot.client,
0,
20,
10,
0,
10
0
).sendAndExpect<FriendList.GetFriendGroupList.Response>()
println(data.contentToString())
}
......
......@@ -32,7 +32,9 @@ internal class FriendList {
override suspend fun ByteReadPacket.decode(bot: QQAndroidBot): Response {
println(this
.apply { discardExact(4) }
.apply {
this.discardExact(4)
}
.decodeUniPacket(GetFriendListResp.serializer())
.contentToString()
)
......
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