mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
Modify change documentation file style
This commit is contained in:
@@ -478,14 +478,6 @@ fun VariousClass.toAppClass(): Class<*>
|
||||
"com.example.demo.DemoClass".toAppClass()
|
||||
```
|
||||
|
||||
为了美观,你可以把字符串用 `(` `)` 括起来。
|
||||
|
||||
> 示例如下
|
||||
|
||||
```kotlin
|
||||
("com.example.demo.DemoClass").toAppClass()
|
||||
```
|
||||
|
||||
你还可以创建一个 `VariousClass`,并转换为实体类。
|
||||
|
||||
`VariousClass` 会枚举所有设置的 `Class` 并最终获得第一个存在的 `Class`。
|
||||
@@ -731,7 +723,7 @@ inline fun HookClass.hook(initiate: YukiMemberHookCreator.() -> Unit): YukiMembe
|
||||
> 示例如下
|
||||
|
||||
```kotlin
|
||||
("com.example.demo.DemoClass").hook {
|
||||
"com.example.demo.DemoClass".hook {
|
||||
// Your code here.
|
||||
}
|
||||
|
||||
|
@@ -185,7 +185,7 @@ TestClass.hook {
|
||||
> 示例如下
|
||||
|
||||
```kotlin
|
||||
("$packageName.TestClass").hook {
|
||||
"$packageName.TestClass".hook {
|
||||
injectMember {
|
||||
// Your code here.
|
||||
}
|
||||
|
Reference in New Issue
Block a user