Achievement

Achievement

Represents an achievement/badge

Constructor

new Achievement()

Source:

Members

color :string

Source:
The achievement color in the form of a hex code, used as a replacement of the grey color in the icon when unlocked
Type:
  • string

description :string

Source:
The achievement description
Type:
  • string

icon :string

Source:
The URL to the achievement icon in grey (300 x 300)
Type:
  • string

id :number

Source:
The achievement ID
Type:
  • number

isUnlocked :boolean

Source:
Whether or not the user has unlocked the achievement
Type:
  • boolean

points :number

Source:
Unknown value
Type:
  • number

title :string

Source:
The title of the achievement
Type:
  • string

type

Source:
The achievement type