From a8973b851ad4d3edb0e6c605eb7aea29c6e66938 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Fri, 22 Mar 2024 18:04:45 +0100 Subject: Improvement: Load Trophy Fishing from NEU (#1123) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Co-authored-by: Cal Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> --- .../data/jsonobjects/other/HypixelPlayerApiJson.kt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/HypixelPlayerApiJson.kt (limited to 'src/main/java/at/hannibal2/skyhanni/data/jsonobjects') diff --git a/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/HypixelPlayerApiJson.kt b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/HypixelPlayerApiJson.kt new file mode 100644 index 000000000..0a18ca28e --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/HypixelPlayerApiJson.kt @@ -0,0 +1,22 @@ +package at.hannibal2.skyhanni.data.jsonobjects.other + +import com.google.gson.annotations.Expose +import com.google.gson.annotations.SerializedName + +data class HypixelPlayerApiJson( + @Expose val profiles: List +) + +data class HypixelApiProfile( + @Expose val members: Map, + @Expose @SerializedName("cute_name") val profileName: String +) + +data class HypixelApiPlayer( + @Expose @SerializedName("trophy_fish") val trophyFish: HypixelApiTrophyFish +) + +data class HypixelApiTrophyFish( + val totalCaught: Int, + val caught: Map +) -- cgit