Add interface NoLog

This commit is contained in:
Him188 2020-02-10 16:52:54 +08:00
parent 6504283d4d
commit 8180098a02

View File

@ -12,9 +12,14 @@ package net.mamoe.mirai.data
/**
* 从服务器收到的包解析之后的结构化数据.
*/
interface Packet
interface Packet {
/**
* 实现这个接口的包将不会被记录到日志中
*/
interface NoLog
}
object NoPacket : Packet{
object NoPacket : Packet {
override fun toString(): String {
return "NoPacket"
}