mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
Modify add VagueType conditions and rename function arrayContentsEq to paramTypesEq in ReflectionTool
This commit is contained in:
@@ -92,6 +92,8 @@ fun param(vararg paramType: Any): IndexTypeCondition
|
||||
|
||||
如果同时使用了 `paramCount` 则 `paramType` 的数量必须与 `paramCount` 完全匹配。
|
||||
|
||||
如果 `Constructor` 中存在一些无意义又很长的类型,你可以使用 `VagueType` 来替代它。
|
||||
|
||||
!> 无参 `Constructor` 请使用 `emptyParam` 设置查询条件。
|
||||
|
||||
!> 有参 `Constructor` 必须使用此方法设定参数或使用 `paramCount` 指定个数。
|
||||
|
@@ -126,6 +126,8 @@ fun param(vararg paramType: Any): IndexTypeCondition
|
||||
|
||||
如果同时使用了 `paramCount` 则 `paramType` 的数量必须与 `paramCount` 完全匹配。
|
||||
|
||||
如果 `Method` 中存在一些无意义又很长的类型,你可以使用 `VagueType` 来替代它。
|
||||
|
||||
!> 无参 `Method` 请使用 `emptyParam` 设置查询条件。
|
||||
|
||||
!> 有参 `Method` 必须使用此方法设定参数或使用 `paramCount` 指定个数。
|
||||
|
Reference in New Issue
Block a user