diff options
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/config/data')
7 files changed, 0 insertions, 118 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/InfoType.java b/src/main/java/io/polyfrost/oneconfig/config/data/InfoType.java deleted file mode 100644 index 1b96161..0000000 --- a/src/main/java/io/polyfrost/oneconfig/config/data/InfoType.java +++ /dev/null @@ -1,8 +0,0 @@ -package io.polyfrost.oneconfig.config.data; - -public enum InfoType { - INFO, - WARNING, - ERROR, - SUCCESS -} diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/Mod.java b/src/main/java/io/polyfrost/oneconfig/config/data/Mod.java deleted file mode 100644 index 095dded..0000000 --- a/src/main/java/io/polyfrost/oneconfig/config/data/Mod.java +++ /dev/null @@ -1,26 +0,0 @@ -package io.polyfrost.oneconfig.config.data; - -import io.polyfrost.oneconfig.config.interfaces.Config; - -public class Mod { - public final String name; - public final ModType modType; - public final String creator; - public final String version; - public Config config; - public final OptionPage defaultPage; - - /** - * @param name Friendly name of the mod - * @param modType Type of the mod (for example ModType.QOL) - * @param creator Creator of the mod - * @param version Version of the mod - */ - public Mod(String name, ModType modType, String creator, String version) { - this.name = name; - this.modType = modType; - this.creator = creator; - this.version = version; - this.defaultPage = new OptionPage(name, this); - } -} diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/ModType.java b/src/main/java/io/polyfrost/oneconfig/config/data/ModType.java deleted file mode 100644 index 9769584..0000000 --- a/src/main/java/io/polyfrost/oneconfig/config/data/ModType.java +++ /dev/null @@ -1,10 +0,0 @@ -package io.polyfrost.oneconfig.config.data; - -public enum ModType { - PVP, - HUD, - UTIL_QOL, - HYPIXEL, - SKYBLOCK, - OTHER -} diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/OptionCategory.java b/src/main/java/io/polyfrost/oneconfig/config/data/OptionCategory.java deleted file mode 100644 index a3752bb..0000000 --- a/src/main/java/io/polyfrost/oneconfig/config/data/OptionCategory.java +++ /dev/null @@ -1,13 +0,0 @@ -package io.polyfrost.oneconfig.config.data; - -import io.polyfrost.oneconfig.config.interfaces.BasicOption; -import io.polyfrost.oneconfig.gui.elements.config.ConfigPageButton; - -import java.util.ArrayList; -import java.util.LinkedHashMap; - -public class OptionCategory { - public final LinkedHashMap<String, ArrayList<BasicOption>> subcategories = new LinkedHashMap<>(); - public final ArrayList<ConfigPageButton> topPages = new ArrayList<>(); - public final ArrayList<ConfigPageButton> bottomPages = new ArrayList<>(); -} diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java b/src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java deleted file mode 100644 index 8103404..0000000 --- a/src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java +++ /dev/null @@ -1,19 +0,0 @@ -package io.polyfrost.oneconfig.config.data; - -import java.util.LinkedHashMap; - -public class OptionPage { - public final String name; - public final Mod mod; - /** - * Depth 1 = categories - * Depth 2 = subcategories - * Depth 3 = list of options - */ - public final LinkedHashMap<String, OptionCategory> categories = new LinkedHashMap<>(); - - public OptionPage(String name, Mod mod) { - this.name = name; - this.mod = mod; - } -} diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/OptionType.java b/src/main/java/io/polyfrost/oneconfig/config/data/OptionType.java deleted file mode 100644 index 2a6fce4..0000000 --- a/src/main/java/io/polyfrost/oneconfig/config/data/OptionType.java +++ /dev/null @@ -1,36 +0,0 @@ -package io.polyfrost.oneconfig.config.data; - -public enum OptionType { - /** - * Type: boolean - */ - SWITCH, - /** - * Type: boolean - */ - CHECKBOX, - /** - * Type: boolean - */ - DUAL_OPTION, - /** - * Type: int - */ - UNI_SELECTOR, - /** - * Type: String - * Normal: 1x and 2x, Secure and Mutliline: 2x only - */ - TEXT, - /** - * Type: int or float - */ - SLIDER, - COLOR, - /** - * Type: int - */ - DROPDOWN, - MULTI_DROPDOWN, - INFO -} diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/PageLocation.java b/src/main/java/io/polyfrost/oneconfig/config/data/PageLocation.java deleted file mode 100644 index 9fe0c91..0000000 --- a/src/main/java/io/polyfrost/oneconfig/config/data/PageLocation.java +++ /dev/null @@ -1,6 +0,0 @@ -package io.polyfrost.oneconfig.config.data; - -public enum PageLocation { - TOP, - BOTTOM -} |