GW2v2Specialization

@Serializable
data class GW2v2Specialization(val id: Int, val name: String, val profession: String, val elite: Boolean, val icon: String, val background: String, val minorTraits: List<Int>, val majorTraits: List<Int>, val weaponTrait: Int? = null, val professionIcon: String? = null, val bigProfessionIcon: String? = null)

Information about a specialization.

Parameters

id

the ID of the specialization

name

the localized name of the specialization

profession

the ID of the profession the specialization belongs to

elite

a flag indicating whether the specialization is an elite specialization

icon

a render service URL for the specialization's icon

background

a render service URL for the specialization's background image

minorTraits

a list of all IDs of the specialization's minor traits

majorTraits

a list of all IDs of the specialization's major traits

weaponTrait

the ID of the elite specialization's weapon trait

professionIcon

a render service URL for the elite specialization's icon

bigProfessionIcon

a render service URL for a large variant of the elite specialization's icon

Constructors

Link copied to clipboard
constructor(id: Int, name: String, profession: String, elite: Boolean, icon: String, background: String, minorTraits: List<Int>, majorTraits: List<Int>, weaponTrait: Int? = null, professionIcon: String? = null, bigProfessionIcon: String? = null)

Properties

Link copied to clipboard

This field holds a render service URL for the specialization's background image.

Link copied to clipboard
@SerialName(value = "profession_icon_big")
val bigProfessionIcon: String? = null

This field holds a render service URL for a large variant of the elite specialization's icon.

Link copied to clipboard

This field holds a flag indicating whether the specialization is an elite specialization.

Link copied to clipboard

This field holds a render service URL for the specialization's icon.

Link copied to clipboard
val id: Int

This field holds the ID of the specialization.

Link copied to clipboard
@SerialName(value = "major_traits")
val majorTraits: List<Int>

This field holds a list of all IDs of the specialization's major traits.

Link copied to clipboard
@SerialName(value = "minor_traits")
val minorTraits: List<Int>

This field holds a list of all IDs of the specialization's minor traits.

Link copied to clipboard

This field holds the localized name of the specialization.

Link copied to clipboard

This field holds the ID of the profession the specialization belongs to.

Link copied to clipboard
@SerialName(value = "profession_icon")
val professionIcon: String? = null

This field holds a render service URL for the elite specialization's icon.

Link copied to clipboard
@SerialName(value = "weapon_trait")
val weaponTrait: Int? = null

This field holds the ID of the elite specialization's weapon trait.