mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-06 02:35:40 +08:00
Update document file
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
## CurrentClass [class]
|
||||
|
||||
```kotlin
|
||||
class CurrentClass(private val instance: Class<*>, private val self: Any)
|
||||
class CurrentClass(internal val instance: Class<*>, internal val self: Any)
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -12,10 +12,24 @@ class CurrentClass(private val instance: Class<*>, private val self: Any)
|
||||
|
||||
> 当前实例的类操作对象。
|
||||
|
||||
### superClass [method]
|
||||
|
||||
```kotlin
|
||||
fun superClass(): SuperClass
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
|
||||
`v1.0.80` `新增`
|
||||
|
||||
**功能描述**
|
||||
|
||||
> 调用父类实例。
|
||||
|
||||
### field [method]
|
||||
|
||||
```kotlin
|
||||
fun field(initiate: FieldFinder.() -> Unit): FieldFinder.Result.Instance
|
||||
inline fun field(initiate: FieldFinder.() -> Unit): FieldFinder.Result.Instance
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -29,7 +43,7 @@ fun field(initiate: FieldFinder.() -> Unit): FieldFinder.Result.Instance
|
||||
### method [method]
|
||||
|
||||
```kotlin
|
||||
fun method(initiate: MethodFinder.() -> Unit): MethodFinder.Result.Instance
|
||||
inline fun method(initiate: MethodFinder.() -> Unit): MethodFinder.Result.Instance
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -38,4 +52,46 @@ fun method(initiate: MethodFinder.() -> Unit): MethodFinder.Result.Instance
|
||||
|
||||
**功能描述**
|
||||
|
||||
> 调用当前实例中的方法。
|
||||
> 调用当前实例中的方法。
|
||||
|
||||
### SuperClass [class]
|
||||
|
||||
```kotlin
|
||||
inner class SuperClass
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
|
||||
`v1.0.80` `新增`
|
||||
|
||||
**功能描述**
|
||||
|
||||
> 当前类的父类实例的类操作对象。
|
||||
|
||||
#### field [method]
|
||||
|
||||
```kotlin
|
||||
inline fun field(initiate: FieldFinder.() -> Unit): FieldFinder.Result.Instance
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
|
||||
`v1.0.80` `新增`
|
||||
|
||||
**功能描述**
|
||||
|
||||
> 调用父类实例中的变量。
|
||||
|
||||
#### method [method]
|
||||
|
||||
```kotlin
|
||||
inline fun method(initiate: MethodFinder.() -> Unit): MethodFinder.Result.Instance
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
|
||||
`v1.0.80` `新增`
|
||||
|
||||
**功能描述**
|
||||
|
||||
> 调用父类实例中的方法。
|
Reference in New Issue
Block a user