-
-
Notifications
You must be signed in to change notification settings - Fork 375
Expand file tree
/
Copy pathItemsJson.kt
More file actions
47 lines (41 loc) · 2.69 KB
/
Copy pathItemsJson.kt
File metadata and controls
47 lines (41 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package at.hannibal2.skyhanni.data.jsonobjects.repo
import at.hannibal2.skyhanni.utils.NeuInternalName
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
data class ItemsJson(
@Expose @SerializedName("crimson_armors") val crimsonArmors: List<String>,
@Expose @SerializedName("crimson_tiers") val crimsonTiers: Map<String, Int>,
@Expose @SerializedName("crimson_prestige_costs") val crimsonPrestigeCosts: Map<String, Map<NeuInternalName, Int>>,
@Expose @SerializedName("enchant_multiplier") val enchantMultiplier: Map<String, Float>,
@Expose @SerializedName("lava_fishing_rods") val lavaFishingRods: List<NeuInternalName>,
@Expose @SerializedName("water_fishing_rods") val waterFishingRods: List<NeuInternalName>,
@Expose @SerializedName("dungeon_secret_items") val dungeonSecretItems: Set<NeuInternalName>,
@Expose @SerializedName("book_bundle_amount") val bookBundleAmount: Map<String, Int>,
@Expose @SerializedName("value_calculation_data") val valueCalculationData: ItemValueCalculationDataJson,
@Expose @SerializedName("compact_names") val compactNames: Map<String, String>,
@Expose @SerializedName("renamed_enchantments") val renamedEnchantments: Map<String, String>,
@Expose @SerializedName("shard_name_overrides") val shardNameOverrides: Map<String, String>,
@Expose @SerializedName("distance_enchant_data") val distanceEnchantData: Map<String, DistanceEnchantData>,
@Expose @SerializedName("hunting_blackholes") val huntingBlackholes: List<NeuInternalName>?,
@Expose @SerializedName("hunting_axes") val huntingAxes: List<NeuInternalName>?,
@Expose @SerializedName("has_legacy_gemstone_slots") val hasLegacyGemstoneSlots: List<NeuInternalName>?,
)
data class ItemValueCalculationDataJson(
@Expose @SerializedName("always_active_enchants") val alwaysActiveEnchants: Map<String, AlwaysActiveEnchantJson>,
@Expose @SerializedName("only_tier_one_prices") val onlyTierOnePrices: List<String>,
@Expose @SerializedName("only_tier_five_prices") val onlyTierFivePrices: List<String>,
@Expose @SerializedName("endcap_enchants_new") val endcapEnchants: Map<String, List<EndCapData>>? = emptyMap(),
)
data class AlwaysActiveEnchantJson(
@Expose val level: Int,
@Expose @SerializedName("items") val internalNames: List<NeuInternalName>,
)
data class EndCapData(
@Expose @SerializedName("required_level") val requiredLevel: Int,
@Expose @SerializedName("endcap_item") val endcapItem: NeuInternalName,
)
data class DistanceEnchantData(
@Expose val distance: Double,
@Expose @SerializedName("max_amount") val maxAmount: Int,
@Expose @SerializedName("per_stack_multiplier") val perStackMultiplier: Double,
)