PlayerIO

The fastest way to build online games without breaking a sweat.

HTML5 (Javascript) Client Reference

javascript (html5) achievement class informationClass achievement

Language: Javascript (HTML5)

This class encapsulates all the data of a single achievement.

Properties

 
completed :bool

If this achievement is completed.

description :string

The description of this achievement.

id :string

The id of this achievement.

imageUrl :string

The image url of this achievement.

lastUpdated :Date

When this achievement was last updated.

progress :Number

The progress of this achievement.

progressGoal :Number

The progress goal of this achievement.

progressRatio :Number

The progress ratio of this achievement.

title :string

The title of this achievement.

achievement.completed

completed :bool

If this achievement is completed.

achievement.description

description :string

The description of this achievement.

achievement.id

id :string

The id of this achievement.

achievement.imageUrl

imageUrl :string

The image url of this achievement.

achievement.lastUpdated

lastUpdated :Date

When this achievement was last updated.

achievement.progress

progress :Number

The progress of this achievement.

achievement.progressGoal

progressGoal :Number

The progress goal of this achievement.

achievement.progressRatio

progressRatio :Number

The progress ratio of this achievement.

achievement.title

title :string

The title of this achievement.