MiniDigger/Hangar

View on GitHub
models/src/main/scala/ore/data/Prompt.scala

Summary

Maintainability
A
0 mins
Test Coverage
package ore.data

import scala.collection.immutable

import enumeratum.values._

sealed abstract class Prompt(val value: Int, val titleId: String, val messageId: String) extends IntEnumEntry
object Prompt extends IntEnum[Prompt] {

  val values: immutable.IndexedSeq[Prompt] = findValues

  case object ChangeAvatar extends Prompt(0, "prompt.changeAvatar.title", "prompt.changeAvatar.message")
}