aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java b/src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java
new file mode 100644
index 0000000..021786d
--- /dev/null
+++ b/src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java
@@ -0,0 +1,20 @@
+package io.polyfrost.oneconfig.config.data;
+
+import io.polyfrost.oneconfig.config.interfaces.BasicOption;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+
+public class OptionPage {
+ public final String name;
+ /**
+ * Depth 1 = categories
+ * Depth 2 = subcategories
+ * Depth 3 = list of options
+ */
+ public final HashMap<String, HashMap<String, ArrayList<BasicOption>>> categories = new HashMap<>();
+
+ public OptionPage(String name) {
+ this.name = name;
+ }
+}