From e18629af6aee276b0be6cec473e4099cca9100f1 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Sun, 14 Aug 2022 12:24:38 +0200 Subject: fix: fix profile init (#92) --- api/OneConfig.api | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'api/OneConfig.api') 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 } -- cgit