diff options
| author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-02-29 06:17:29 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-28 20:17:29 +0100 |
| commit | 05e5232694e26558b8ebd36c6d337854f9c6c192 (patch) | |
| tree | 6299fff36a8548b18e955d4729b1ed986293d68b /src/main/java/at/hannibal2/skyhanni/data/jsonobjects | |
| parent | fbadabdb0ddb0bba18aa7421ffb09795463ea07f (diff) | |
| download | skyhanni-05e5232694e26558b8ebd36c6d337854f9c6c192.tar.gz skyhanni-05e5232694e26558b8ebd36c6d337854f9c6c192.tar.bz2 skyhanni-05e5232694e26558b8ebd36c6d337854f9c6c192.zip | |
Fixed Farming Weight Display sometimes not showing when joining the Garden. (#1073)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/jsonobjects')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/EliteBotJson.kt | 30 |
1 files changed, 30 insertions, 0 deletions
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<WeightProfile> +) + +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<UpcomingLeaderboardPlayer> +) + +data class UpcomingLeaderboardPlayer( + @Expose @SerializedName("ign") val name: String, + @Expose @SerializedName("amount") val weight: Double +) |
