runecrafting: configs

This commit is contained in:
Owain van Brakel
2019-09-09 10:55:46 +02:00
parent 01e619df3a
commit 79c7b4a046

View File

@@ -71,7 +71,6 @@ import net.runelite.client.ui.overlay.OverlayManager;
tags = {"abyssal", "minimap", "overlay", "rifts", "rc", "runecrafting"} tags = {"abyssal", "minimap", "overlay", "rifts", "rc", "runecrafting"}
) )
@Singleton @Singleton
@Getter(AccessLevel.PACKAGE)
public class RunecraftPlugin extends Plugin public class RunecraftPlugin extends Plugin
{ {
private static final BankComparableEntry POUCH = new BankComparableEntry("fill", "pouch", false); private static final BankComparableEntry POUCH = new BankComparableEntry("fill", "pouch", false);
@@ -89,57 +88,54 @@ public class RunecraftPlugin extends Plugin
ItemID.LARGE_POUCH_5513, ItemID.LARGE_POUCH_5513,
ItemID.GIANT_POUCH_5515 ItemID.GIANT_POUCH_5515
); );
@Getter(AccessLevel.PACKAGE)
private final Set<AbyssRifts> rifts = new HashSet<>(); private final Set<AbyssRifts> rifts = new HashSet<>();
@Inject @Inject
@Getter(AccessLevel.NONE)
private Client client; private Client client;
@Inject @Inject
@Getter(AccessLevel.NONE)
private OverlayManager overlayManager; private OverlayManager overlayManager;
@Inject @Inject
@Getter(AccessLevel.NONE)
private AbyssOverlay abyssOverlay; private AbyssOverlay abyssOverlay;
@Inject @Inject
@Getter(AccessLevel.NONE)
private AbyssMinimapOverlay abyssMinimapOverlay; private AbyssMinimapOverlay abyssMinimapOverlay;
@Inject @Inject
@Getter(AccessLevel.NONE)
private RunecraftOverlay runecraftOverlay; private RunecraftOverlay runecraftOverlay;
@Inject @Inject
@Getter(AccessLevel.NONE)
private RunecraftConfig config; private RunecraftConfig config;
@Inject @Inject
@Getter(AccessLevel.NONE)
private Notifier notifier; private Notifier notifier;
@Inject @Inject
@Getter(AccessLevel.NONE)
private MenuManager menuManager; private MenuManager menuManager;
@Inject @Inject
@Getter(AccessLevel.NONE)
private EventBus eventBus; private EventBus eventBus;
@Getter(AccessLevel.PACKAGE)
private final Set<DecorativeObject> abyssObjects = new HashSet<>(); private final Set<DecorativeObject> abyssObjects = new HashSet<>();
@Getter(AccessLevel.PACKAGE)
private boolean degradedPouchInInventory; private boolean degradedPouchInInventory;
@Getter(AccessLevel.PACKAGE)
private boolean degradingNotification; private boolean degradingNotification;
@Getter(AccessLevel.PACKAGE)
private boolean essPouch; private boolean essPouch;
@Getter(AccessLevel.PACKAGE)
private boolean hightlightDarkMage; private boolean hightlightDarkMage;
@Getter(AccessLevel.PACKAGE)
private boolean lavas; private boolean lavas;
private boolean showAir; @Getter(AccessLevel.PACKAGE)
private boolean showBlood;
private boolean showBody;
private boolean showChaos;
private boolean showClickBox; private boolean showClickBox;
private boolean showCosmic; @Getter(AccessLevel.PACKAGE)
private boolean showDeath;
private boolean showEarth;
private boolean showFire;
private boolean showLaw;
private boolean showMind;
private boolean showNature;
private boolean showRifts; private boolean showRifts;
private boolean showSoul; @Getter(AccessLevel.PACKAGE)
private boolean showWater;
private NPC darkMage; private NPC darkMage;
@Provides @Provides
@@ -342,19 +338,6 @@ public class RunecraftPlugin extends Plugin
this.hightlightDarkMage = config.hightlightDarkMage(); this.hightlightDarkMage = config.hightlightDarkMage();
this.degradingNotification = config.degradingNotification(); this.degradingNotification = config.degradingNotification();
this.showRifts = config.showRifts(); this.showRifts = config.showRifts();
this.showAir = config.showAir();
this.showBlood = config.showBlood();
this.showBody = config.showBody();
this.showChaos = config.showChaos();
this.showCosmic = config.showCosmic();
this.showDeath = config.showDeath();
this.showEarth = config.showEarth();
this.showFire = config.showFire();
this.showLaw = config.showLaw();
this.showMind = config.showMind();
this.showNature = config.showNature();
this.showSoul = config.showSoul();
this.showWater = config.showWater();
this.showClickBox = config.showClickBox(); this.showClickBox = config.showClickBox();
updateRifts(); updateRifts();