Commit 553283ef authored by Him188's avatar Him188

Add NoLog to EventPacketFactory

parent a4ea0772
...@@ -39,6 +39,7 @@ fun matchEventPacketFactory(value: UShort): EventParserAndHandler<*> = ...@@ -39,6 +39,7 @@ fun matchEventPacketFactory(value: UShort): EventParserAndHandler<*> =
/** /**
* 事件包, 它将会分析事件 ID 并解析事件为 [Packet] * 事件包, 它将会分析事件 ID 并解析事件为 [Packet]
*/ */
@NoLog
@Suppress("FunctionName") @Suppress("FunctionName")
object EventPacketFactory : PacketFactory<Packet, SessionKey>(SessionKey) { object EventPacketFactory : PacketFactory<Packet, SessionKey>(SessionKey) {
override suspend fun ByteReadPacket.decode(id: PacketId, sequenceId: UShort, handler: BotNetworkHandler<*>): Packet { override suspend fun ByteReadPacket.decode(id: PacketId, sequenceId: UShort, handler: BotNetworkHandler<*>): Packet {
......
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