GW2v2Mastery

@Serializable
data class GW2v2Mastery(val id: Int, val name: String, val requirement: String, val order: Int, val background: String, val region: String, val levels: List<GW2v2Mastery.Level>)

Information about a mastery.

Parameters

id

the mastery's ID

name

the mastery's name

requirement

the written out requirement to unlock the mastery track

order

the order in which the mastery track appears in a list

background

the URL for the mastery track's background graphic

region

the mastery region the track belongs to

levels

information about each mastery level

Constructors

Link copied to clipboard
constructor(id: Int, name: String, requirement: String, order: Int, background: String, region: String, levels: List<GW2v2Mastery.Level>)

Types

Link copied to clipboard
@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.

Properties

Link copied to clipboard

This field holds the URL for the mastery track's background graphic.

Link copied to clipboard
val id: Int

This field holds the mastery's ID.

Link copied to clipboard

This field holds information about each mastery level.

Link copied to clipboard

This field holds the mastery's name.

Link copied to clipboard
val order: Int

This field holds the order in which the mastery track appears in a list.

Link copied to clipboard

This field holds the mastery region the track belongs to.

Link copied to clipboard

This field holds the written out requirement to unlock the mastery track.