Commit 47e35707 authored by Him188's avatar Him188

Cleanup

parent d6125cd9
......@@ -14,7 +14,7 @@ import java.util.stream.Collectors
* @author Him188moe
*/
object TIMProtocol {
val SERVER_IP: List<String> by lazy {
val SERVER_IP: List<String> = {
//add("183.60.56.29")
val list = mutableListOf<String>()
arrayOf(
......@@ -28,7 +28,7 @@ object TIMProtocol {
).forEach { list.add(InetAddress.getByName(it).hostAddress) }
list.toList()
}
}()
const val head = "02"
const val ver = "37 13"
......@@ -40,13 +40,8 @@ object TIMProtocol {
const val fixVer2 = "02 00 00 00 01 01 01 00 00 68 20"
// 02 38 03 00 CD 48 68 3E 03 3F A2 02 00 00 00
// 02 00 00 00 01 2E 01 00 00 69 35
/**
* 0825data1
*/
const val constantData1 = "00 18 00 16 00 01 "
/**
* 0825data2
*/
const val constantData2 = "00 00 04 53 00 00 00 01 00 00 15 85 "
/**
......
......@@ -8,7 +8,7 @@ import java.io.DataInputStream
import java.io.IOException
/**
* A packet received when logging in, used to redirect server address
* The packet received when logging in, used to redirect server address
*
* @see ClientServerRedirectionPacket
* @see ClientPasswordSubmissionPacket
......
This diff is collapsed.
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