Class PlayerAchievement
An achievement object.
Implements
Inherited Members
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class PlayerAchievement : IDirectResponseSchema
Properties
AchievementState
The state of the achievement.
Declaration
[JsonProperty("achievementState")]
public virtual string AchievementState { get; set; }
Property Value
Type | Description |
---|---|
string |
CurrentSteps
The current steps for an incremental achievement.
Declaration
[JsonProperty("currentSteps")]
public virtual int? CurrentSteps { get; set; }
Property Value
Type | Description |
---|---|
int? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExperiencePoints
Experience points earned for the achievement. This field is absent for achievements that have not yet been unlocked and 0 for achievements that have been unlocked by testers but that are unpublished.
Declaration
[JsonProperty("experiencePoints")]
public virtual long? ExperiencePoints { get; set; }
Property Value
Type | Description |
---|---|
long? |
FormattedCurrentStepsString
The current steps for an incremental achievement as a string.
Declaration
[JsonProperty("formattedCurrentStepsString")]
public virtual string FormattedCurrentStepsString { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
The ID of the achievement.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string games#playerAchievement
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
LastUpdatedTimestamp
The timestamp of the last modification to this achievement's state.
Declaration
[JsonProperty("lastUpdatedTimestamp")]
public virtual long? LastUpdatedTimestamp { get; set; }
Property Value
Type | Description |
---|---|
long? |