IAchievement Manual     Reference     Scripting  
Scripting > Runtime Classes > IAchievement
IAchievement

Information for a users achievement.

This defines the relation between a particular achievement (described by IAchievementDescription) and the local user, what progress he has, last date he reported progress and so on. Use Social.CreateAchievement to create an instance of this object.

Variables
id

The unique identifier of this achievement.

percentCompleted

Progress for this achievement.

completed

Set to true when percentCompleted is 100.0.

hidden

This achievement is currently hidden from the user.

lastReportedDate

Set by server when percentCompleted is updated.

Functions
ReportProgress

Send notification about progress on this achievement.