Level

@Serializable
data class Level(val name: String, val description: String, val instruction: String, val icon: String, val pointCost: Int, val expCost: Int)

Information about a mastery level.

Parameters

name

the mastery level's name

description

the mastery level's description

instruction

the in-game instruction for the mastery level

icon

the URL for the mastery level's icon

pointCost

the amount of mastery points required to unlock the level

expCost

the amount of experience required to unlock the level

Constructors

Link copied to clipboard
constructor(name: String, description: String, instruction: String, icon: String, pointCost: Int, expCost: Int)

Properties

Link copied to clipboard

This field holds the mastery level's description.

Link copied to clipboard
@SerialName(value = "exp_cost")
val expCost: Int

This field holds the amount of experience required to unlock the level.

Link copied to clipboard

This field holds the URL for the mastery level's icon.

Link copied to clipboard

This field holds the in-game instruction for the mastery level.

Link copied to clipboard

This field holds the mastery level's name.

Link copied to clipboard
@SerialName(value = "point_cost")
val pointCost: Int

This field holds the amount of mastery points required to unlock the level.