mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-08 03:24:12 +08:00
Modify move NameConditions, ModifierRules to finder/base/rules and renamed and replace them with a new method of use
This commit is contained in:
@@ -69,7 +69,7 @@ var type: Any?
|
||||
### modifiers *- method*
|
||||
|
||||
```kotlin
|
||||
inline fun modifiers(initiate: ModifierRules.() -> Unit): IndexTypeCondition
|
||||
fun modifiers(conditions: ModifierConditions): IndexTypeCondition
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -80,6 +80,10 @@ inline fun modifiers(initiate: ModifierRules.() -> Unit): IndexTypeCondition
|
||||
|
||||
将方法体进行 inline
|
||||
|
||||
`v1.0.93` `修改`
|
||||
|
||||
合并到 `ModifierConditions`
|
||||
|
||||
**功能描述**
|
||||
|
||||
> 设置 `Field` 标识符筛选条件。
|
||||
@@ -123,13 +127,17 @@ fun name(value: String): IndexTypeCondition
|
||||
### name *- method*
|
||||
|
||||
```kotlin
|
||||
inline fun name(initiate: NameConditions.() -> Unit): IndexTypeCondition
|
||||
fun name(conditions: NameConditions): IndexTypeCondition
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
|
||||
`v1.0.88` `新增`
|
||||
|
||||
`v1.0.93` `修改`
|
||||
|
||||
合并到 `NameConditions`
|
||||
|
||||
**功能描述**
|
||||
|
||||
> 设置 `Field` 名称条件。
|
||||
|
Reference in New Issue
Block a user