Commit bb6cac32 authored by Him188's avatar Him188

Cleanup

parent 903ad510
...@@ -101,13 +101,15 @@ internal class PbMessageSvc { ...@@ -101,13 +101,15 @@ internal class PbMessageSvc {
) )
) )
), ),
reserved = "08 01 10 E3 E9 D6 80 02".hexToBytes() reserved = RESERVED_TEMP
) )
) )
) )
) )
} }
private val RESERVED_TEMP = "08 01 10 E3 E9 D6 80 02".hexToBytes()
fun createForFriendMessage( fun createForFriendMessage(
client: QQAndroidClient, client: QQAndroidClient,
toUin: Long, toUin: Long,
...@@ -136,7 +138,7 @@ internal class PbMessageSvc { ...@@ -136,7 +138,7 @@ internal class PbMessageSvc {
) )
) )
), ),
reserved = "08 00".hexToBytes() reserved = byteArrayOf(0x08, 0x00)
) )
) )
) )
......
...@@ -11,9 +11,6 @@ ...@@ -11,9 +11,6 @@
package net.mamoe.mirai.qqandroid.utils package net.mamoe.mirai.qqandroid.utils
import kotlin.random.Random
import kotlin.random.nextInt
/* /*
* 类型转换 Utils. * 类型转换 Utils.
* 这些函数为内部函数, 可能会改变 * 这些函数为内部函数, 可能会改变
......
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