From e05ad6cf6a7e34bf29787f58edb0d1f1b7f82ec4 Mon Sep 17 00:00:00 2001 From: Him188 Date: Mon, 7 Oct 2019 13:04:54 +0800 Subject: [PATCH] Add comments --- .../mamoe/mirai/network/protocol/tim/TIMBotNetworkHandler.kt | 2 +- .../src/jvmMain/kotlin/net/mamoe/mirai/utils/BotAccount.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/network/protocol/tim/TIMBotNetworkHandler.kt b/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/network/protocol/tim/TIMBotNetworkHandler.kt index 94c67d86e..3d16b7bc6 100644 --- a/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/network/protocol/tim/TIMBotNetworkHandler.kt +++ b/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/network/protocol/tim/TIMBotNetworkHandler.kt @@ -388,7 +388,7 @@ internal class TIMBotNetworkHandler(private val bot: Bot) : BotNetworkHandler { socket.loginResult.complete(LoginState.SUCCESS) - loginHandler.changeOnlineStatus(ClientLoginStatus.ONLINE) + loginHandler.changeOnlineStatus(ClientLoginStatus.ONLINE)//required } is ServerLoginSuccessPacket -> { diff --git a/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/utils/BotAccount.kt b/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/utils/BotAccount.kt index bc7186e6a..535765829 100644 --- a/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/utils/BotAccount.kt +++ b/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/utils/BotAccount.kt @@ -4,6 +4,6 @@ package net.mamoe.mirai.utils * @author Him188moe */ data class BotAccount( - val qqNumber: Long, + val qqNumber: Long,//实际上是 UInt val password: String ) \ No newline at end of file