Class AN_Achievement
Data interface for retrieving achievement information.
Inheritance
System.Object
AN_Achievement
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.Android.GMS.Games
Assembly: cs.temp.dll.dll
Syntax
public class AN_Achievement
Properties
AchievementId
The achievement ID.
Declaration
public string AchievementId { get; }
Property Value
Type | Description |
---|---|
System.String |
CurrentSteps
Retrieves the number of steps this user has gone toward unlocking this achievement; only applicable for INCREMENTAL achievement types.
Declaration
public int CurrentSteps { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Description
Retrieves the description for this achievement.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Retrieves the name of this achievement.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
State
Returns the State of the achievement.
Declaration
public AN_Achievement.AchievementState State { get; }
Property Value
Type | Description |
---|---|
AN_Achievement.AchievementState |
TotalSteps
Retrieves the total number of steps necessary to unlock this achievement; only applicable for INCREMENTAL achievement types.
Declaration
public int TotalSteps { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Type
Returns the Type of this achievement.
Declaration
public AN_Achievement.AchievementType Type { get; }
Property Value
Type | Description |
---|---|
AN_Achievement.AchievementType |
UnlockedImageUri
Retrieves a URI that can be used to load the achievement's revealed image icon. Returns null if the achievement has no revealed image.
Declaration
public string UnlockedImageUri { get; }
Property Value
Type | Description |
---|---|
System.String |
XpValue
Retrieves the XP value of this achievement. The XP value will be given to players for unlocking this achievement.
Declaration
public long XpValue { get; }
Property Value
Type | Description |
---|---|
System.Int64 |