diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/EliteBotJson.kt | 20 |
1 files changed, 18 insertions, 2 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 index 3cdcfa512..2f2543f56 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/EliteBotJson.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/EliteBotJson.kt @@ -1,9 +1,11 @@ package at.hannibal2.skyhanni.data.jsonobjects.other +import at.hannibal2.skyhanni.features.garden.CropType +import at.hannibal2.skyhanni.features.garden.pests.PestType import com.google.gson.annotations.Expose import com.google.gson.annotations.SerializedName -data class EliteWeightJson( +data class ElitePlayerWeightJson( @Expose val selectedProfileId: String, @Expose val profiles: List<WeightProfile> ) @@ -11,7 +13,11 @@ data class EliteWeightJson( data class WeightProfile( @Expose val profileId: String, @Expose val profileName: String, - @Expose val totalWeight: Double + @Expose val totalWeight: Double, + @Expose val cropWeight: Map<CropType, Double>, + @Expose val bonusWeight: Map<String, Int>, + @Expose val uncountedCrops: Map<CropType, Int>, + @Expose val pests: Map<PestType, Int> ) data class EliteLeaderboardJson( @@ -28,3 +34,13 @@ data class UpcomingLeaderboardPlayer( @Expose @SerializedName("ign") val name: String, @Expose @SerializedName("amount") val weight: Double ) + +data class EliteWeightsJson( + @Expose val crops: Map<CropType, Double>, + @Expose val pests: PestWeightData +) + +data class PestWeightData( + @Expose val brackets: Map<Int, Int>, + @Expose @SerializedName("values") val pestWeights: Map<PestType, Map<Int, Double>> +) |
