From 4d73331a449f0b0647066f7dde0628730fe0e178 Mon Sep 17 00:00:00 2001 From: nea Date: Wed, 28 Sep 2022 12:45:56 +0200 Subject: Fairy souls --- src/main/kotlin/moe/nea/notenoughupdates/util/Locraw.kt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/main/kotlin/moe/nea/notenoughupdates/util/Locraw.kt (limited to 'src/main/kotlin/moe/nea/notenoughupdates/util/Locraw.kt') diff --git a/src/main/kotlin/moe/nea/notenoughupdates/util/Locraw.kt b/src/main/kotlin/moe/nea/notenoughupdates/util/Locraw.kt new file mode 100644 index 0000000..400842f --- /dev/null +++ b/src/main/kotlin/moe/nea/notenoughupdates/util/Locraw.kt @@ -0,0 +1,8 @@ +package moe.nea.notenoughupdates.util + +import kotlinx.serialization.Serializable + +@Serializable +data class Locraw(val server: String, val gametype: String? = null, val mode: String? = null, val map: String? = null) { + val skyblockLocation = if (gametype == "SKYBLOCK") mode else null +} -- cgit