From 05e5232694e26558b8ebd36c6d337854f9c6c192 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Thu, 29 Feb 2024 06:17:29 +1100 Subject: Fixed Farming Weight Display sometimes not showing when joining the Garden. (#1073) --- .../data/jsonobjects/other/EliteBotJson.kt | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/EliteBotJson.kt (limited to 'src/main/java/at/hannibal2/skyhanni/data/jsonobjects') diff --git a/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/EliteBotJson.kt b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/EliteBotJson.kt new file mode 100644 index 000000000..3cdcfa512 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/EliteBotJson.kt @@ -0,0 +1,30 @@ +package at.hannibal2.skyhanni.data.jsonobjects.other + +import com.google.gson.annotations.Expose +import com.google.gson.annotations.SerializedName + +data class EliteWeightJson( + @Expose val selectedProfileId: String, + @Expose val profiles: List +) + +data class WeightProfile( + @Expose val profileId: String, + @Expose val profileName: String, + @Expose val totalWeight: Double +) + +data class EliteLeaderboardJson( + @Expose val data: EliteLeaderboard +) + +data class EliteLeaderboard( + @Expose val rank: Int, + @Expose val upcomingRank: Int, + @Expose val upcomingPlayers: List +) + +data class UpcomingLeaderboardPlayer( + @Expose @SerializedName("ign") val name: String, + @Expose @SerializedName("amount") val weight: Double +) -- cgit