GW2v2Achievement

constructor(id: GW2AchievementId, icon: String? = null, name: String, description: String, requirement: String, lockedText: String, type: String, flags: List<String>, tiers: List<GW2v2Achievement.Tier>, prerequisites: List<Int>? = null, rewards: List<GW2v2Achievement.Reward>? = null, bits: List<GW2v2Achievement.Bit>? = null, pointCap: Int? = null)

Parameters

id

the achievement's ID

icon

the URL for the achievement's icon

name

the achievement's localized name

description

the achievement's localized description

requirement

the achievement's requirement as listed in-game

lockedText

the achievement's in-game description prior to unlocking it

type

the achievement's type

flags

the achievement's categories

tiers

the achievement's tiers

prerequisites

the IDs of the achievements that are required to progress this achievement

rewards

the achievement's rewards

bits

the achievement's bits

pointCap

the maximum number of AP that can be rewarded by an achievement flagged as "Repeatable"