mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-11 21:30:11 +08:00
Cleanup
This commit is contained in:
parent
903ad51092
commit
bb6cac3261
@ -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(
|
||||
client: QQAndroidClient,
|
||||
toUin: Long,
|
||||
@ -136,7 +138,7 @@ internal class PbMessageSvc {
|
||||
)
|
||||
)
|
||||
),
|
||||
reserved = "08 00".hexToBytes()
|
||||
reserved = byteArrayOf(0x08, 0x00)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
@ -11,9 +11,6 @@
|
||||
|
||||
package net.mamoe.mirai.qqandroid.utils
|
||||
|
||||
import kotlin.random.Random
|
||||
import kotlin.random.nextInt
|
||||
|
||||
/*
|
||||
* 类型转换 Utils.
|
||||
* 这些函数为内部函数, 可能会改变
|
||||
|
Loading…
Reference in New Issue
Block a user