Oliver Rümpelein
034c00ca5b
- Category - Classification - Design - Layout - Order - Page - Status - Thrill
23 lines
759 B
Kotlin
23 lines
759 B
Kotlin
package de.pheerai.rcdbquery.dataMappings.classification
|
|
|
|
import de.pheerai.rcdbquery.dataMappings.internal.RcdbParamOption
|
|
import de.pheerai.rcdbquery.dataMappings.internal.StringGeneratable
|
|
|
|
enum class Classification(
|
|
override val prettyName: String,
|
|
override val fullName: String,
|
|
override val paramValue: Long
|
|
) : RcdbParamOption<Long> {
|
|
ROLLER_COASTER("Roller Coaster", 277),
|
|
POWERED_COASTER("Powered Coaster", 278),
|
|
MOUNTAIN_COASTER("Mountain Coaster", 279),
|
|
;
|
|
|
|
constructor(name: String, paramValue: Long) : this(name, name, paramValue)
|
|
|
|
companion object: StringGeneratable<Classification> {
|
|
override fun of(input: String) = values().find { it.fullName == input }
|
|
override val paramKey = "cs"
|
|
}
|
|
}
|