---
pageClass: code-page
---

::: warning

Due to maintenance costs, the `YukiHookAPI` will no longer update this document from version `1.3.0` and switch to the API document automatically generated by the Dokka plugin in version `2.0.0`.

:::

::: warning

The English translation of this page has not been completed, you are welcome to contribute translations to us.

You can use the **Chrome Translation Plugin** to translate entire pages for reference.

:::

# YukiBaseHooker <span class="symbol">- class</span>

```kotlin:no-line-numbers
abstract class YukiBaseHooker : PackageParam()
```

**Change Records**

`v1.0` `first`

**Function Illustrate**

> `YukiHookAPI` 的子类 Hooker 实现。

## onHook <span class="symbol">- method</span>

```kotlin:no-line-numbers
fun onHook()
```

**Change Records**

`v1.0` `first`

**Function Illustrate**

> 子类 Hook 开始。