This commit is contained in:
Him188 2020-04-13 20:18:57 +08:00
parent 903ad51092
commit bb6cac3261
2 changed files with 4 additions and 5 deletions

View File

@ -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 {
) )
) )
), ),
reserved = "08 00".hexToBytes() reserved = byteArrayOf(0x08, 0x00)
) )
) )
) )

View File

@ -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.
* 这些函数为内部函数, 可能会改变 * 这些函数为内部函数, 可能会改变