diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/HypixelPlayerApiJson.kt | 22 |
1 files changed, 22 insertions, 0 deletions
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<HypixelApiProfile> +) + +data class HypixelApiProfile( + @Expose val members: Map<String, HypixelApiPlayer>, + @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<String, Int> +) |