mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 09:50:16 +08:00
Cleanup
This commit is contained in:
parent
3ab540d5f2
commit
7892333c27
@ -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
|
||||||
|
@ -29,4 +29,3 @@ 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()
|
|
Loading…
Reference in New Issue
Block a user