mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-06 02:35:40 +08:00
41 lines
611 B
Markdown
41 lines
611 B
Markdown
## CurrentClass [class]
|
|
|
|
```kotlin
|
|
class CurrentClass(private val instance: Class<*>, private val self: Any)
|
|
```
|
|
|
|
**变更记录**
|
|
|
|
`v1.0.70` `新增`
|
|
|
|
**功能描述**
|
|
|
|
> 当前实例的类操作对象。
|
|
|
|
### field [method]
|
|
|
|
```kotlin
|
|
fun field(initiate: FieldFinder.() -> Unit): FieldFinder.Result.Instance
|
|
```
|
|
|
|
**变更记录**
|
|
|
|
`v1.0.70` `新增`
|
|
|
|
**功能描述**
|
|
|
|
> 调用当前实例中的变量。
|
|
|
|
### method [method]
|
|
|
|
```kotlin
|
|
fun method(initiate: MethodFinder.() -> Unit): MethodFinder.Result.Instance
|
|
```
|
|
|
|
**变更记录**
|
|
|
|
`v1.0.70` `新增`
|
|
|
|
**功能描述**
|
|
|
|
> 调用当前实例中的方法。 |