data class Profile
Class that holds info about a profile, used for serialisation
Profile(location: String, name: String, modpack: Modpack, modpackVersion: ModpackVersion, createdOn: Instant = Instant.MIN, lastTouched: Instant = if (createdOn == Instant.MIN) Instant.now() else createdOn)
Class that holds info about a profile, used for serialisation |
val createdOn: Instant
Time created |
|
var lastTouched: Instant
Time last touched |
|
val location: String
Location where this profile is located |
|
val modpack: Modpack
Name of modpack of this profile |
|
val modpackVersion: ModpackVersion
Modpack version |
|
val name: String
Name of profile |
fun getExecutor(account: Account): MinecraftExecutor
Get MinecraftExecutor for this profile with account |