diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-08-14 12:24:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-14 17:24:38 +0700 |
commit | e18629af6aee276b0be6cec473e4099cca9100f1 (patch) | |
tree | 39fc264f55b0db96d8794d0a59a4fd19bb53b5db /api/OneConfig.api | |
parent | 67a78a550c9d87715b834b4615662cc2d9e65bed (diff) | |
download | OneConfig-e18629af6aee276b0be6cec473e4099cca9100f1.tar.gz OneConfig-e18629af6aee276b0be6cec473e4099cca9100f1.tar.bz2 OneConfig-e18629af6aee276b0be6cec473e4099cca9100f1.zip |
fix: fix profile init (#92)
Diffstat (limited to 'api/OneConfig.api')
-rw-r--r-- | api/OneConfig.api | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/OneConfig.api b/api/OneConfig.api index b8a8849..751ba76 100644 --- a/api/OneConfig.api +++ b/api/OneConfig.api @@ -151,8 +151,13 @@ public class cc/polyfrost/oneconfig/config/core/ConfigUtils { public static fun findAnnotation (Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/annotation/Annotation; public static fun getClassFields (Ljava/lang/Class;)Ljava/util/ArrayList; public static fun getClassOptions (Ljava/lang/Object;)Ljava/util/ArrayList; + public static fun getCurrentProfile ()Ljava/lang/String; public static fun getField (Ljava/lang/reflect/Field;Ljava/lang/Object;)Ljava/lang/Object; + public static fun getNonProfileSpecificFile (Ljava/lang/String;)Ljava/io/File; + public static fun getNonSpecificProfileDir ()Ljava/io/File; public static fun getOption (Lcc/polyfrost/oneconfig/internal/config/annotations/Option;Ljava/lang/reflect/Field;Ljava/lang/Object;)Lcc/polyfrost/oneconfig/config/elements/BasicOption; + public static fun getProfileDir ()Ljava/io/File; + public static fun getProfileFile (Ljava/lang/String;)Ljava/io/File; public static fun getSubCategory (Lcc/polyfrost/oneconfig/config/elements/OptionPage;Ljava/lang/String;Ljava/lang/String;)Lcc/polyfrost/oneconfig/config/elements/OptionSubcategory; public static fun setField (Ljava/lang/reflect/Field;Ljava/lang/Object;Ljava/lang/Object;)V } |