GW2v2AccountAchievement

@Serializable
data class GW2v2AccountAchievement(val id: GW2AchievementId, val done: Boolean, val bits: List<Int>? = null, val current: Int? = null, val max: Int? = null, val repeated: Int? = null, val unlocked: Boolean? = null)

Information about a player's progress towards an achievement.

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)

Constructors

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

Properties

Link copied to clipboard
val bits: List<Int>? = null

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

Link copied to clipboard
val current: Int? = null

This field holds the account's current progress towards the achievement.

Link copied to clipboard

This field holds a flag indicating whether the account has completed the achievement.

Link copied to clipboard

This field holds the achievement's ID.

Link copied to clipboard
val max: Int? = null

This field holds the amount of progress required to complete the achievement.

Link copied to clipboard
val repeated: Int? = null

This field holds the number of times the achievement has been completed (if the achievement is repeatable).

Link copied to clipboard
val unlocked: Boolean? = null

This field holds a flag indicating whether the achievement is unlocked (if the achievement can be unlocked).