summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects
diff options
context:
space:
mode:
authorBrandon <brandon.wamboldt@gmail.com>2023-10-15 10:33:55 -0300
committerGitHub <noreply@github.com>2023-10-15 15:33:55 +0200
commit29904921c5d2c81b8d7cb37dcd57af9fd0761343 (patch)
tree27071d1df08073a2356454e6992321cd534dc591 /src/main/java/at/hannibal2/skyhanni/utils/jsonobjects
parent9755df0878023c73ac18ffc7aa07706b6c0a77c0 (diff)
downloadskyhanni-29904921c5d2c81b8d7cb37dcd57af9fd0761343.tar.gz
skyhanni-29904921c5d2c81b8d7cb37dcd57af9fd0761343.tar.bz2
skyhanni-29904921c5d2c81b8d7cb37dcd57af9fd0761343.zip
Feature: Show alerts when the player catches a legendary sea creature (#530)
dded Alerts when the player catches a legendary sea creature. #530
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/jsonobjects')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/SeaCreatureJson.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/SeaCreatureJson.java b/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/SeaCreatureJson.java
new file mode 100644
index 000000000..52ed7f636
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/SeaCreatureJson.java
@@ -0,0 +1,32 @@
+package at.hannibal2.skyhanni.utils.jsonobjects;
+
+import at.hannibal2.skyhanni.utils.LorenzRarity;
+import com.google.gson.annotations.Expose;
+import com.google.gson.reflect.TypeToken;
+
+import java.lang.reflect.Type;
+import java.util.Map;
+
+public class SeaCreatureJson {
+
+ public static Type TYPE = new TypeToken<Map<String, SeaCreatureJson.Variant>>(){}.getType();
+
+ public static class Variant {
+ @Expose
+ public String chat_color;
+ @Expose
+ public Map<String, SeaCreature> sea_creatures;
+ }
+
+ public static class SeaCreature {
+ @Expose
+ public String chat_message;
+ @Expose
+ public int fishing_experience;
+ @Expose
+ public Boolean rare;
+ @Expose
+ public LorenzRarity rarity;
+ }
+
+}