Commit 7892333c authored by Him188's avatar Him188

Cleanup

parent 3ab540d5
...@@ -106,6 +106,8 @@ class ServerFriendMessageEventPacket(input: ByteReadPacket, eventIdentity: Event ...@@ -106,6 +106,8 @@ class ServerFriendMessageEventPacket(input: ByteReadPacket, eventIdentity: Event
discardExact(1)//0x00 discardExact(1)//0x00
isPrevious = readByte().toInt() == 0x08 isPrevious = readByte().toInt() == 0x08
discardExact(l1.toInt() - 2) discardExact(l1.toInt() - 2)
//java.io.EOFException: Only 49 bytes were discarded of 69 requested
//抖动窗口消息
discardExact(69) discardExact(69)
readLVByteArray()//font readLVByteArray()//font
discardExact(2)//2个0x00 discardExact(2)//2个0x00
......
...@@ -28,5 +28,4 @@ interface MiraiLogger { ...@@ -28,5 +28,4 @@ interface MiraiLogger {
expect class PlatformLogger @JvmOverloads constructor(identity: String? = null) : MiraiLogger expect class PlatformLogger @JvmOverloads constructor(identity: String? = null) : MiraiLogger
fun Throwable.log() = MiraiLogger.log(this) fun Throwable.log() = MiraiLogger.log(this)
fun Throwable.printStacktrace() = this.log() \ No newline at end of file
\ No newline at end of file
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