Class AchievementDefinition
An achievement definition object.
Implements
Inherited Members
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class AchievementDefinition : IDirectResponseSchema
Properties
AchievementType
The type of the achievement.
Declaration
[JsonProperty("achievementType")]
public virtual string AchievementType { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
The description of the achievement.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExperiencePoints
Experience points which will be earned when unlocking this achievement.
Declaration
[JsonProperty("experiencePoints")]
public virtual long? ExperiencePoints { get; set; }
Property Value
Type | Description |
---|---|
long? |
FormattedTotalSteps
The total steps for an incremental achievement as a string.
Declaration
[JsonProperty("formattedTotalSteps")]
public virtual string FormattedTotalSteps { 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 |
InitialState
The initial state of the achievement.
Declaration
[JsonProperty("initialState")]
public virtual string InitialState { get; set; }
Property Value
Type | Description |
---|---|
string |
IsRevealedIconUrlDefault
Indicates whether the revealed icon image being returned is a default image, or is provided by the game.
Declaration
[JsonProperty("isRevealedIconUrlDefault")]
public virtual bool? IsRevealedIconUrlDefault { get; set; }
Property Value
Type | Description |
---|---|
bool? |
IsUnlockedIconUrlDefault
Indicates whether the unlocked icon image being returned is a default image, or is game-provided.
Declaration
[JsonProperty("isUnlockedIconUrlDefault")]
public virtual bool? IsUnlockedIconUrlDefault { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string
games#achievementDefinition
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The name of the achievement.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
RevealedIconUrl
The image URL for the revealed achievement icon.
Declaration
[JsonProperty("revealedIconUrl")]
public virtual string RevealedIconUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
TotalSteps
The total steps for an incremental achievement.
Declaration
[JsonProperty("totalSteps")]
public virtual int? TotalSteps { get; set; }
Property Value
Type | Description |
---|---|
int? |
UnlockedIconUrl
The image URL for the unlocked achievement icon.
Declaration
[JsonProperty("unlockedIconUrl")]
public virtual string UnlockedIconUrl { get; set; }
Property Value
Type | Description |
---|---|
string |