This commit is contained in:
Him188moe 2019-08-18 22:05:17 +08:00
parent d0dc547641
commit fa80ddf843

View File

@ -8,7 +8,7 @@ import net.mamoe.mirai.util.TEACryptor
import java.io.DataInputStream import java.io.DataInputStream
/** /**
* @author Him188moe * @author NaturalHG
*/ */
@PacketId("08 36 31 03") @PacketId("08 36 31 03")
class ServerLoginResponseResendPacket(input: DataInputStream, val flag: Flag) : ServerPacket(input) { class ServerLoginResponseResendPacket(input: DataInputStream, val flag: Flag) : ServerPacket(input) {
@ -21,7 +21,7 @@ class ServerLoginResponseResendPacket(input: DataInputStream, val flag: Flag) :
lateinit var token: ByteArray lateinit var token: ByteArray
lateinit var tgtgtKey: ByteArray lateinit var tgtgtKey: ByteArray
override fun decode() {//todo 检查 override fun decode() {
this.input.skip(5) this.input.skip(5)
tgtgtKey = this.input.readNBytes(16)//22 tgtgtKey = this.input.readNBytes(16)//22
this.input.skip(3)//25 this.input.skip(3)//25