Commit fa80ddf8 authored by Him188moe's avatar Him188moe

update

parent d0dc5476
...@@ -8,7 +8,7 @@ import net.mamoe.mirai.util.TEACryptor ...@@ -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) : ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment