mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-15 16:10:12 +08:00
FriendList fundamental
This commit is contained in:
parent
69532e0e57
commit
749bab1232
@ -1,5 +1,13 @@
|
||||
@file:Suppress("EXPERIMENTAL_API_USAGE")
|
||||
|
||||
package net.mamoe.mirai.network.protocol.tim.packet.action
|
||||
|
||||
import kotlinx.io.core.ByteReadPacket
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.protocol.tim.packet.Packet
|
||||
import net.mamoe.mirai.network.protocol.tim.packet.PacketId
|
||||
import net.mamoe.mirai.network.protocol.tim.packet.SessionPacketFactory
|
||||
|
||||
|
||||
// 0001
|
||||
// 已确认 查好友列表的列表
|
||||
@ -15,6 +23,13 @@ package net.mamoe.mirai.network.protocol.tim.packet.action
|
||||
// 00 00
|
||||
|
||||
|
||||
internal inline class FriendListList(val delegate: List<FriendList>): Packet
|
||||
|
||||
internal object QueryFriendListListPacket : SessionPacketFactory<FriendList>() {
|
||||
override suspend fun ByteReadPacket.decode(id: PacketId, sequenceId: UShort, handler: BotNetworkHandler<*>): FriendList {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// 0134
|
||||
|
Loading…
Reference in New Issue
Block a user