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