emo / me.eater.emo.emo.dto.repository / ModpackVersion

ModpackVersion

data class ModpackVersion

A version of modpack

Types

Channel

enum class Channel

Channels for a modpack version, only 3 defined right now: release, beta, and alpha

Constructors

<init>

ModpackVersion(version: String, channel: ModpackVersion.Channel = Channel.Release, mods: List<Mod>, message: String = "", minecraft: String, forge: String? = null)

A version of modpack

Properties

channel

val channel: ModpackVersion.Channel

Which channel this version is released

forge

val forge: String?

message

val message: String

minecraft

val minecraft: String

mods

val mods: List<Mod>

version

val version: String

Version string, MUST be SemVer