Added compiledTimestamp function in YukiHookAPI

This commit is contained in:
2022-09-26 21:57:01 +08:00
parent f8f16d13c8
commit 40351a14a2
2 changed files with 20 additions and 0 deletions

View File

@@ -88,6 +88,12 @@ object YukiHookAPI {
*/
object Status {
/**
* 获取项目编译完成的时间戳 (当前本地时间)
* @return [Long]
*/
val compiledTimestamp get() = YukiHookBridge.moduleGeneratedVersion.toLongOrNull() ?: 0L
/**
* 获取当前是否为 (Xposed) 宿主环境
* @return [Boolean]