GW2v2Title

@Serializable
data class GW2v2Title(val id: Int, val name: String, val achievement: GW2AchievementId? = null, val achievements: List<GW2AchievementId>? = null, val apRequired: Int? = null)

Information about a title.

Parameters

id

the ID of the title

name

the display name of the title

achievement

the ID of the achievement that grants this title

achievements

the IDs of the achievements that grant this title

apRequired

the amount of AP required to unlock this title

Constructors

Link copied to clipboard
constructor(id: Int, name: String, achievement: GW2AchievementId? = null, achievements: List<GW2AchievementId>? = null, apRequired: Int? = null)

Properties

Link copied to clipboard

This field holds the ID of the achievement that grants this title.

Link copied to clipboard

This field holds the IDs of the achievements that grant this title.

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

This field holds the amount of AP required to unlock this title.

Link copied to clipboard
val id: Int

This field holds the ID of the title.

Link copied to clipboard

This field holds the display name of the title.