GooglePlayGames.
  Data interface for retrieving achievement information.
Summary
There are 3 states an achievement can be in:
Hidden - indicating the name and description of the achievement is not visible to the player.
Revealed - indicating the name and description of the achievement is visible to the player. Unlocked - indicating the player has unlocked, or achieved, the achievment.
Achievements has two types, standard which is unlocked in one step, and incremental, which require multiple steps to unlock.
| Constructors and Destructors | |
|---|---|
| Achievement() | 
| Properties | |
|---|---|
| CurrentSteps | intThe number of steps the user has gone towards unlocking this achievement.  | 
| Description | stringThe description of this achievement.  | 
| Id | stringThe ID string of this achievement.  | 
| IsIncremental | boolIndicates whether this achievement is incremental.  | 
| IsRevealed | boolIndicates whether the achievement is revealed or not (hidden).  | 
| IsUnlocked | boolIndicates whether the achievement is unlocked or not.  | 
| LastModifiedTime | DateTimeThe date and time the state of the achievement was modified.  | 
| Name | stringThe name of this achievement.  | 
| Points | ulongThe number of experience points earned for unlocking this Achievement.  | 
| RevealedImageUrl | stringThe URL to the image to display when the achievement is revealed.  | 
| TotalSteps | intThe total number of steps needed to unlock this achievement.  | 
| UnlockedImageUrl | stringThe URL to the image to display when the achievement is unlocked.  | 
| Public functions | |
|---|---|
| ToString() | override stringReturns a System.String that represents the current GooglePlayGames.BasicApi.Achievement.  | 
Properties
CurrentSteps
int CurrentSteps
The number of steps the user has gone towards unlocking this achievement.
Description
string Description
The description of this achievement.
Id
string Id
The ID string of this achievement.
IsIncremental
bool IsIncremental
Indicates whether this achievement is incremental.
IsRevealed
bool IsRevealed
Indicates whether the achievement is revealed or not (hidden).
IsUnlocked
bool IsUnlocked
Indicates whether the achievement is unlocked or not.
LastModifiedTime
DateTime LastModifiedTime
The date and time the state of the achievement was modified.
The value is invalid (-1 long) if the achievement state has never been updated.
Name
string Name
The name of this achievement.
RevealedImageUrl
string RevealedImageUrl
The URL to the image to display when the achievement is revealed.
TotalSteps
int TotalSteps
The total number of steps needed to unlock this achievement.
UnlockedImageUrl
string UnlockedImageUrl
The URL to the image to display when the achievement is unlocked.
Public functions
Achievement
Achievement()
ToString
override string ToString()
Returns a System.String that represents the current GooglePlayGames.BasicApi.Achievement.
| Details | |
|---|---|
| Returns | A System.String that represents the current GooglePlayGames.BasicApi.Achievement. | 
