Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed excludeFieldsWithoutExposeAnnotation #305

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import kotlin.concurrent.fixedRateTimer
class ConfigManager {
companion object {
val gson = GsonBuilder().setPrettyPrinting()
.excludeFieldsWithoutExposeAnnotation()
.serializeSpecialFloatingPointValues()
.registerTypeAdapterFactory(PropertyTypeAdapterFactory())
.registerTypeAdapter(UUID::class.java, object : TypeAdapter<UUID>() {
Expand Down
26 changes: 0 additions & 26 deletions src/main/java/at/hannibal2/skyhanni/config/Features.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import at.hannibal2.skyhanni.SkyHanniMod;
import at.hannibal2.skyhanni.config.features.*;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.Config;
import io.github.moulberry.moulconfig.Social;
import io.github.moulberry.moulconfig.annotations.Category;
Expand Down Expand Up @@ -39,101 +38,76 @@ public String getTitle() {
return "SkyHanni " + SkyHanniMod.getVersion() + " by §channibal2§r, config by §5Moulberry §rand §5nea89";
}

@Expose
@Category(name = "About", desc = "Information about SkyHanni and updates")
public About about = new About();

@Expose
@Category(name = "GUI Locations", desc = "Change the locations of GUI elements. (§e/sh gui§7)")
public GUI gui = new GUI();

@Expose
@Category(name = "Chat", desc = "Change how the chat looks.")
public Chat chat = new Chat();

@Expose
@Category(name = "Dungeon", desc = "Features that change the dungeon experience in catacombs.")
public Dungeon dungeon = new Dungeon();

@Expose
@Category(name = "Inventory", desc = "Changing the behavior around items and the inventory.")
public Inventory inventory = new Inventory();

@Expose
@Category(name = "Item Abilities", desc = "Stuff about item abilities.")
public ItemAbilities itemAbilities = new ItemAbilities();

@Expose
@Category(name = "Summonings", desc = "Mobs you revive.")
public Summonings summonings = new Summonings();

@Expose
@Category(name = "Ashfang", desc = "Ashfang fight in Crimson Isle.")
public Ashfang ashfang = new Ashfang();

@Expose
@Category(name = "Minion", desc = "The minions at your private island.")
public Minions minions = new Minions();

@Expose
@Category(name = "Bazaar", desc = "Bazaar settings.")
public Bazaar bazaar = new Bazaar();

@Expose
@Category(name = "Fishing", desc = "Fishing stuff.")
public Fishing fishing = new Fishing();

@Expose
@Category(name = "Damage Indicator", desc = "Better damage overview in combat with bosses of all sorts.")
public DamageIndicatorConfig damageIndicator = new DamageIndicatorConfig();

@Expose
@Category(name = "Slayer", desc = "Slayer features.")
public Slayer slayer = new Slayer();

@Expose
@Category(name = "Diana", desc = "Diana's mythological event.")
public Diana diana = new Diana();

@Expose
@Category(name = "Commands", desc = "Enable or disable commands.")
public CommandsFeatures commands = new CommandsFeatures();

@Expose
@Category(name = "Marked Players", desc = "Players that got marked with /shmarkplayer.")
public MarkedPlayers markedPlayers = new MarkedPlayers();

@Expose
@Category(name = "Bingo", desc = "Features for the Bingo mode.")
public Bingo bingo = new Bingo();

@Expose
@Category(name = "Mobs", desc = "Visual help for Mobs")
public Mobs mobs = new Mobs();

@Expose
@Category(name = "Garden", desc = "Features on the Garden island.")
public Garden garden = new Garden();

@Expose
@Category(name = "The Rift", desc = "Features for The Rift dimension.")
public RiftConfig rift = new RiftConfig();

@Expose
@Category(name = "Ghost Counter", desc = "Ghost Counter settings.")
public GhostCounter ghostCounter = new GhostCounter();

@Expose
@Category(name = "Misc", desc = "Settings without a category.")
public MiscConfig misc = new MiscConfig();

@Expose
@Category(name = "Dev", desc = "Debug and test stuff. Developers are cool.")
public DevConfig dev = new DevConfig();

@Expose
public OldHidden hidden = new OldHidden();

@Expose
public Storage storage = new Storage();
}
Loading
Loading