Commit 1ea84785 authored by Him188's avatar Him188

Make all packets and network stuff internal

parent d7338540
...@@ -20,7 +20,7 @@ import java.io.InputStream ...@@ -20,7 +20,7 @@ import java.io.InputStream
* @author Him188moe * @author Him188moe
*/ */
@UseExperimental(MiraiInternalAPI::class) @UseExperimental(MiraiInternalAPI::class)
actual class BotSession actual constructor( actual class BotSession internal actual constructor(
bot: Bot, bot: Bot,
sessionKey: SessionKey, sessionKey: SessionKey,
socket: DataPacketSocketAdapter, socket: DataPacketSocketAdapter,
......
...@@ -23,7 +23,7 @@ import javax.imageio.ImageIO ...@@ -23,7 +23,7 @@ import javax.imageio.ImageIO
*/ */
@UseExperimental(MiraiInternalAPI::class) @UseExperimental(MiraiInternalAPI::class)
@Suppress("unused") @Suppress("unused")
actual class BotSession actual constructor( actual class BotSession internal actual constructor(
bot: Bot, bot: Bot,
sessionKey: SessionKey, sessionKey: SessionKey,
socket: DataPacketSocketAdapter, socket: DataPacketSocketAdapter,
......
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