diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-08 22:59:24 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-08 22:59:24 +0100 |
commit | cfee6ce21b0d1a963b83517056a3edec86609174 (patch) | |
tree | 178eb432dc3ca5cc62006e114ad05e3cc8b8cc1c /src/main/java/at/hannibal2/skyhanni/config | |
parent | 37581a1ae179b97b80a85b63681011e4f61610b8 (diff) | |
download | skyhanni-cfee6ce21b0d1a963b83517056a3edec86609174.tar.gz skyhanni-cfee6ce21b0d1a963b83517056a3edec86609174.tar.bz2 skyhanni-cfee6ce21b0d1a963b83517056a3edec86609174.zip |
Saving bingo goal data into the config.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/Storage.java | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java index 52f10c40e..d3796b767 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java @@ -1,6 +1,7 @@ package at.hannibal2.skyhanni.config; import at.hannibal2.skyhanni.data.model.ComposterUpgrade; +import at.hannibal2.skyhanni.features.bingo.card.goals.BingoGoal; import at.hannibal2.skyhanni.features.combat.endernodetracker.EnderNodeTracker; import at.hannibal2.skyhanni.features.combat.ghostcounter.GhostData; import at.hannibal2.skyhanni.features.dungeon.DungeonAPI; @@ -92,6 +93,14 @@ public class Storage { public int amountGifted = 0; } + @Expose + public Map<Long, BingoProfile> bingoProfiles = new HashMap<>(); + + public static class BingoProfile { + + @Expose + public Map<Integer, BingoGoal> goals = new HashMap<>(); + } } public static class ProfileSpecific { @@ -113,9 +122,9 @@ public class Storage { @Override public String toString() { return "MinionConfig{" + - "displayName='" + displayName + '\'' + - ", lastClicked=" + lastClicked + - '}'; + "displayName='" + displayName + '\'' + + ", lastClicked=" + lastClicked + + '}'; } } @@ -367,11 +376,11 @@ public class Storage { @Override public String toString() { return "SlayerRngMeterStorage{" + - "currentMeter=" + currentMeter + - ", gainPerBoss=" + gainPerBoss + - ", goalNeeded=" + goalNeeded + - ", itemGoal='" + itemGoal + '\'' + - '}'; + "currentMeter=" + currentMeter + + ", gainPerBoss=" + gainPerBoss + + ", goalNeeded=" + goalNeeded + + ", itemGoal='" + itemGoal + '\'' + + '}'; } } |