From a0ff501947a84b268e099524a06b56a6b900dad2 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Tue, 3 May 2022 18:25:32 +0200 Subject: move to cc.polyfrost --- .../polyfrost/oneconfig/config/data/InfoType.java | 8 ----- .../io/polyfrost/oneconfig/config/data/Mod.java | 26 ---------------- .../polyfrost/oneconfig/config/data/ModType.java | 10 ------ .../oneconfig/config/data/OptionCategory.java | 13 -------- .../oneconfig/config/data/OptionPage.java | 19 ------------ .../oneconfig/config/data/OptionType.java | 36 ---------------------- .../oneconfig/config/data/PageLocation.java | 6 ---- 7 files changed, 118 deletions(-) delete mode 100644 src/main/java/io/polyfrost/oneconfig/config/data/InfoType.java delete mode 100644 src/main/java/io/polyfrost/oneconfig/config/data/Mod.java delete mode 100644 src/main/java/io/polyfrost/oneconfig/config/data/ModType.java delete mode 100644 src/main/java/io/polyfrost/oneconfig/config/data/OptionCategory.java delete mode 100644 src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java delete mode 100644 src/main/java/io/polyfrost/oneconfig/config/data/OptionType.java delete mode 100644 src/main/java/io/polyfrost/oneconfig/config/data/PageLocation.java (limited to 'src/main/java/io/polyfrost/oneconfig/config/data') 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> subcategories = new LinkedHashMap<>(); - public final ArrayList topPages = new ArrayList<>(); - public final ArrayList 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 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 -} -- cgit