Make all packets and network stuff internal

This commit is contained in:
Him188 2019-12-06 23:46:20 +08:00
parent d7338540db
commit 1ea8478584
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ import java.io.InputStream
* @author Him188moe
*/
@UseExperimental(MiraiInternalAPI::class)
actual class BotSession actual constructor(
actual class BotSession internal actual constructor(
bot: Bot,
sessionKey: SessionKey,
socket: DataPacketSocketAdapter,

View File

@ -23,7 +23,7 @@ import javax.imageio.ImageIO
*/
@UseExperimental(MiraiInternalAPI::class)
@Suppress("unused")
actual class BotSession actual constructor(
actual class BotSession internal actual constructor(
bot: Bot,
sessionKey: SessionKey,
socket: DataPacketSocketAdapter,