mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 18:00:33 +08:00
Make all packets and network stuff internal
This commit is contained in:
parent
d7338540db
commit
1ea8478584
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user