aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/util/Locraw.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/util/Locraw.kt')
-rw-r--r--src/main/kotlin/moe/nea/firmament/util/Locraw.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/util/Locraw.kt b/src/main/kotlin/moe/nea/firmament/util/Locraw.kt
new file mode 100644
index 0000000..afbacef
--- /dev/null
+++ b/src/main/kotlin/moe/nea/firmament/util/Locraw.kt
@@ -0,0 +1,8 @@
+package moe.nea.firmament.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
+}