mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-10 04:24:21 +08:00
docs: update api-example, example, move-to-new-api, reflection
This commit is contained in:
@@ -30,7 +30,7 @@ override fun onHook() = encase {
|
||||
// Hook specified app
|
||||
loadApp(name = "com.demo.test") {
|
||||
// Class Hook
|
||||
findClass("com.demo.test.TestClass").hook {
|
||||
"com.demo.test.TestClass".toClass().hook {
|
||||
injectMember {
|
||||
method {
|
||||
name = "test"
|
||||
|
Reference in New Issue
Block a user