GW2v2AccountAchievement

constructor(id: GW2AchievementId, done: Boolean, bits: List<Int>? = null, current: Int? = null, max: Int? = null, repeated: Int? = null, unlocked: Boolean? = null)

Parameters

id

the achievement's ID

done

a flag indicating whether the account has completed the achievement

bits

an array of numbers (whose exact meaning differs) giving information about the progress towards an achievement

current

the account's current progress towards the achievement

max

the amount of progress required to complete the achievement

repeated

the number of times the achievement has been completed (if the achievement is repeatable)

unlocked

a flag indicating whether the achievement is unlocked (if the achievement can be unlocked)