blob: f32bc5e4a6a5f492c74a1b9b7cc2113d131dda3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/*
* SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
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
}
|