mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 10:30:13 +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
|
* @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
|
|||||||
*/
|
*/
|
||||||
@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,
|
||||||
|
Loading…
Reference in New Issue
Block a user