aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/internal/config/OneConfigConfig.java
blob: 96fde65433f273974a1b3ee3be50356442b29957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package cc.polyfrost.oneconfig.internal.config;

import cc.polyfrost.oneconfig.config.Config;
import cc.polyfrost.oneconfig.config.core.OneColor;
import cc.polyfrost.oneconfig.config.data.Mod;
import cc.polyfrost.oneconfig.utils.JsonUtils;

import java.io.*;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;

public class OneConfigConfig extends InternalConfig {
    public static String currentProfile = "Default Profile";
    public static boolean autoUpdate = true;
    /**
     * 0 = Releases
     * 1 = Pre-Releases
     */
    public static int updateChannel = 0;
    public static ArrayList<String> favoriteMods = new ArrayList<>();
    public static ArrayList<OneColor> favoriteColors = new ArrayList<>();
    public static ArrayList<OneColor> recentColors = new ArrayList<>();
    public static boolean australia = false;

    public OneConfigConfig() {
        super("", "OneConfig.json");
    }
}