aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorEmpa <42304516+ItsEmpa@users.noreply.github.com>2024-06-01 13:13:37 +0200
committerGitHub <noreply@github.com>2024-06-01 13:13:37 +0200
commit4a6e2b16fc0171124c2a900751a34f71c5e470cd (patch)
tree588f9dea97b70c00900d54130568a11084c5b07b /src/main/java/at/hannibal2/skyhanni/config
parenta20da5a79b5b05839862c8e8fd165b18368729c1 (diff)
downloadskyhanni-4a6e2b16fc0171124c2a900751a34f71c5e470cd.tar.gz
skyhanni-4a6e2b16fc0171124c2a900751a34f71c5e470cd.tar.bz2
skyhanni-4a6e2b16fc0171124c2a900751a34f71c5e470cd.zip
Feature: Beacon Power Display (#1901)
Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/gui/GUIConfig.java15
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java12
2 files changed, 27 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/gui/GUIConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/gui/GUIConfig.java
index b259fd26d..a242d099f 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/gui/GUIConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/gui/GUIConfig.java
@@ -87,6 +87,21 @@ public class GUIConfig {
public InGameDateConfig inGameDate = new InGameDateConfig();
@Expose
+ @ConfigOption(name = "Beacon Power", desc = "Displays the current beacon power duration and what stat is boosted.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean beaconPower = false;
+
+ @Expose
+ @ConfigOption(name = "Show Beacon Stat", desc = "Show what stat is being boosted by your beacon.")
+ @ConfigEditorBoolean
+ public boolean beaconPowerStat = true;
+
+ @Expose
+ @ConfigLink(owner = GUIConfig.class, field = "beaconPower")
+ public Position beaconPowerPosition = new Position(10, 10);
+
+ @Expose
@ConfigOption(name = "Real Time", desc = "Display the current computer time, a handy feature when playing in full-screen mode.")
@ConfigEditorBoolean
@FeatureToggle
diff --git a/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java b/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
index d73e707ab..d88ccb315 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
@@ -199,6 +199,18 @@ public class ProfileSpecificStorage {
}
@Expose
+ public BeaconPowerStorage beaconPower = new BeaconPowerStorage();
+
+ public static class BeaconPowerStorage {
+
+ @Expose
+ public Long beaconPowerExpiryTime = null;
+
+ @Expose
+ public String boostedStat = null;
+ }
+
+ @Expose
public CrimsonIsleStorage crimsonIsle = new CrimsonIsleStorage();
public static class CrimsonIsleStorage {