Class AchievementDefinition
This is a JSON template for an achievement definition object.
Inheritance
Implements
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class AchievementDefinition : object, IDirectResponseSchema
Properties
AchievementType
The type of the achievement. Possible values are: - "STANDARD" - Achievement is either locked or unlocked. - "INCREMENTAL" - Achievement is incremental.
Declaration
public virtual string AchievementType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Description
The description of the achievement.
Declaration
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ExperiencePoints
Experience points which will be earned when unlocking this achievement.
Declaration
public virtual Nullable<long> ExperiencePoints { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
FormattedTotalSteps
The total steps for an incremental achievement as a string.
Declaration
public virtual string FormattedTotalSteps { 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 |
InitialState
The initial state of the achievement. Possible values are: - "HIDDEN" - Achievement is hidden. - "REVEALED" - Achievement is revealed. - "UNLOCKED" - Achievement is unlocked.
Declaration
public virtual string InitialState { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IsRevealedIconUrlDefault
Indicates whether the revealed icon image being returned is a default image, or is provided by the game.
Declaration
public virtual Nullable<bool> IsRevealedIconUrlDefault { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
IsUnlockedIconUrlDefault
Indicates whether the unlocked icon image being returned is a default image, or is game- provided.
Declaration
public virtual Nullable<bool> IsUnlockedIconUrlDefault { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string games#achievementDefinition.
Declaration
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
The name of the achievement.
Declaration
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RevealedIconUrl
The image URL for the revealed achievement icon.
Declaration
public virtual string RevealedIconUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
TotalSteps
The total steps for an incremental achievement.
Declaration
public virtual Nullable<int> TotalSteps { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
UnlockedIconUrl
The image URL for the unlocked achievement icon.
Declaration
public virtual string UnlockedIconUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |