aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/util/BazaarPriceStrategy.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/util/BazaarPriceStrategy.kt')
-rw-r--r--src/main/kotlin/moe/nea/firmament/util/BazaarPriceStrategy.kt19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/util/BazaarPriceStrategy.kt b/src/main/kotlin/moe/nea/firmament/util/BazaarPriceStrategy.kt
deleted file mode 100644
index 002eedb..0000000
--- a/src/main/kotlin/moe/nea/firmament/util/BazaarPriceStrategy.kt
+++ /dev/null
@@ -1,19 +0,0 @@
-
-package moe.nea.firmament.util
-
-import moe.nea.firmament.repo.HypixelStaticData
-
-enum class BazaarPriceStrategy {
- BUY_ORDER,
- SELL_ORDER,
- NPC_SELL;
-
- fun getSellPrice(skyblockId: SkyblockId): Double {
- val bazaarEntry = HypixelStaticData.bazaarData[skyblockId] ?: return 0.0
- return when (this) {
- BUY_ORDER -> bazaarEntry.quickStatus.sellPrice
- SELL_ORDER -> bazaarEntry.quickStatus.buyPrice
- NPC_SELL -> TODO()
- }
- }
-}