mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-03 16:13:48 +08:00
Make private
This commit is contained in:
parent
c59d58deff
commit
cc9f21591b
@ -25,12 +25,12 @@ internal object LoginPacket : PacketFactory<LoginPacket.LoginPacketResponse, Log
|
|||||||
}
|
}
|
||||||
|
|
||||||
object SubCommand9 {
|
object SubCommand9 {
|
||||||
const val appId = 16L
|
private const val appId = 16L
|
||||||
const val subAppId = 537062845L
|
private const val subAppId = 537062845L
|
||||||
|
|
||||||
operator fun invoke(
|
operator fun invoke(
|
||||||
client: QQAndroidClient
|
client: QQAndroidClient
|
||||||
): OutgoingPacket = buildLoginOutgoingPacket(client, 537062845L) { sequenceId ->
|
): OutgoingPacket = buildLoginOutgoingPacket(client, subAppId) { sequenceId ->
|
||||||
writeOicqRequestPacket(client, EncryptMethodECDH135(client.ecdh), id) {
|
writeOicqRequestPacket(client, EncryptMethodECDH135(client.ecdh), id) {
|
||||||
writeShort(9) // subCommand
|
writeShort(9) // subCommand
|
||||||
writeShort(LoginType.PASSWORD.value.toShort())
|
writeShort(LoginType.PASSWORD.value.toShort())
|
||||||
|
Loading…
Reference in New Issue
Block a user