Show / Hide Table of Contents

Class PlayerAchievement

This is a JSON template for an achievement object.

Inheritance
System.Object
PlayerAchievement
Implements
IDirectResponseSchema
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class PlayerAchievement : object, IDirectResponseSchema

Properties

AchievementState

The state of the achievement. Possible values are: - "HIDDEN" - Achievement is hidden. - "REVEALED"

  • Achievement is revealed. - "UNLOCKED" - Achievement is unlocked.
Declaration
public virtual string AchievementState { get; set; }
Property Value
Type Description
System.String

CurrentSteps

The current steps for an incremental achievement.

Declaration
public virtual Nullable<int> CurrentSteps { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.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
public virtual Nullable<long> ExperiencePoints { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

FormattedCurrentStepsString

The current steps for an incremental achievement as a string.

Declaration
public virtual string FormattedCurrentStepsString { get; set; }
Property Value
Type Description
System.String

Id

The ID of the achievement.

Declaration
public virtual string Id { get; set; }
Property Value
Type Description
System.String

Kind

Uniquely identifies the type of this resource. Value is always the fixed string games#playerAchievement.

Declaration
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

LastUpdatedTimestamp

The timestamp of the last modification to this achievement's state.

Declaration
public virtual Nullable<long> LastUpdatedTimestamp { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

Implements

IDirectResponseSchema
Back to top