mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
...
This commit is contained in:
@@ -45,6 +45,7 @@ class MainHooker : YukiBaseHooker() {
|
||||
method {
|
||||
name = "onCreate"
|
||||
param(BundleClass)
|
||||
}
|
||||
beforeHook {
|
||||
field {
|
||||
name = "a"
|
||||
@@ -52,7 +53,6 @@ class MainHooker : YukiBaseHooker() {
|
||||
}.set(instance, "这段文字被修改成功了")
|
||||
}
|
||||
}
|
||||
}
|
||||
injectMember {
|
||||
method {
|
||||
name = "test"
|
||||
|
@@ -57,6 +57,7 @@ class MainInjecter : YukiHookXposedInitProxy {
|
||||
method {
|
||||
name = "onCreate"
|
||||
param(BundleClass)
|
||||
}
|
||||
beforeHook {
|
||||
field {
|
||||
name = "a"
|
||||
@@ -64,7 +65,6 @@ class MainInjecter : YukiHookXposedInitProxy {
|
||||
}.set(instance, "这段文字被修改成功了")
|
||||
}
|
||||
}
|
||||
}
|
||||
injectMember {
|
||||
method {
|
||||
name = "test"
|
||||
|
Reference in New Issue
Block a user