mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-06 18:55:35 +08:00
Merge code
This commit is contained in:
@@ -388,16 +388,18 @@ class YukiHookCreater(private val packageParam: PackageParam, @PublishedApi inte
|
|||||||
* - ❗此功能交由方法体自动完成 - 你不应该手动调用此方法
|
* - ❗此功能交由方法体自动完成 - 你不应该手动调用此方法
|
||||||
* @return [Result]
|
* @return [Result]
|
||||||
*/
|
*/
|
||||||
|
@PublishedApi
|
||||||
@YukiPrivateApi
|
@YukiPrivateApi
|
||||||
fun build() = Result()
|
internal fun build() = Result()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hook 执行入口
|
* Hook 执行入口
|
||||||
*
|
*
|
||||||
* - ❗此功能交由方法体自动完成 - 你不应该手动调用此方法
|
* - ❗此功能交由方法体自动完成 - 你不应该手动调用此方法
|
||||||
*/
|
*/
|
||||||
|
@PublishedApi
|
||||||
@YukiPrivateApi
|
@YukiPrivateApi
|
||||||
fun hook() {
|
internal fun hook() {
|
||||||
if (YukiHookAPI.hasXposedBridge.not() || isDisableMemberRunHook) return
|
if (YukiHookAPI.hasXposedBridge.not() || isDisableMemberRunHook) return
|
||||||
if (hookClass.instance == null) {
|
if (hookClass.instance == null) {
|
||||||
(hookClass.throwable ?: Throwable("HookClass [${hookClass.name}] not found")).also {
|
(hookClass.throwable ?: Throwable("HookClass [${hookClass.name}] not found")).also {
|
||||||
|
Reference in New Issue
Block a user