Commit fe1af199 authored by Him188's avatar Him188

QQA Debugging update

parent aee51113
...@@ -64,7 +64,7 @@ internal object KnownPacketFactories : List<PacketFactory<*>> by mutableListOf( ...@@ -64,7 +64,7 @@ internal object KnownPacketFactories : List<PacketFactory<*>> by mutableListOf(
* full packet without length * full packet without length
*/ */
// do not inline. Exceptions thrown will not be reported correctly // do not inline. Exceptions thrown will not be reported correctly
suspend fun parseIncomingPacket(bot: QQAndroidBot, rawInput: Input, consumer: PacketConsumer): Unit { suspend fun parseIncomingPacket(bot: QQAndroidBot, rawInput: Input, consumer: PacketConsumer) {
rawInput.readBytes().let { rawInput.readBytes().let {
PacketLogger.verbose("开始处理包: ${it.toUHexString()}") PacketLogger.verbose("开始处理包: ${it.toUHexString()}")
it.toReadPacket() it.toReadPacket()
...@@ -115,8 +115,6 @@ internal object KnownPacketFactories : List<PacketFactory<*>> by mutableListOf( ...@@ -115,8 +115,6 @@ internal object KnownPacketFactories : List<PacketFactory<*>> by mutableListOf(
return return
} }
} }
Unit
} }
} }
......
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