google_api_games v0.3.0 GoogleApi.Games.V1.Model.AchievementDefinition View Source
This is a JSON template for an achievement definition object.
Attributes
- achievementType (String.t): The type of the achievement. Possible values are: - "STANDARD" - Achievement is either locked or unlocked. - "INCREMENTAL" - Achievement is incremental. Defaults to:
null. - description (String.t): The description of the achievement. Defaults to:
null. - experiencePoints (String.t): Experience points which will be earned when unlocking this achievement. Defaults to:
null. - formattedTotalSteps (String.t): The total steps for an incremental achievement as a string. Defaults to:
null. - id (String.t): The ID of the achievement. Defaults to:
null. - initialState (String.t): The initial state of the achievement. Possible values are: - "HIDDEN" - Achievement is hidden. - "REVEALED" - Achievement is revealed. - "UNLOCKED" - Achievement is unlocked. Defaults to:
null. - isRevealedIconUrlDefault (boolean()): Indicates whether the revealed icon image being returned is a default image, or is provided by the game. Defaults to:
null. - isUnlockedIconUrlDefault (boolean()): Indicates whether the unlocked icon image being returned is a default image, or is game-provided. Defaults to:
null. - kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#achievementDefinition. Defaults to:
null. - name (String.t): The name of the achievement. Defaults to:
null. - revealedIconUrl (String.t): The image URL for the revealed achievement icon. Defaults to:
null. - totalSteps (integer()): The total steps for an incremental achievement. Defaults to:
null. - unlockedIconUrl (String.t): The image URL for the unlocked achievement icon. Defaults to:
null.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Games.V1.Model.AchievementDefinition{
achievementType: any(),
description: any(),
experiencePoints: any(),
formattedTotalSteps: any(),
id: any(),
initialState: any(),
isRevealedIconUrlDefault: any(),
isUnlockedIconUrlDefault: any(),
kind: any(),
name: any(),
revealedIconUrl: any(),
totalSteps: any(),
unlockedIconUrl: any()
}
t() :: %GoogleApi.Games.V1.Model.AchievementDefinition{
achievementType: any(),
description: any(),
experiencePoints: any(),
formattedTotalSteps: any(),
id: any(),
initialState: any(),
isRevealedIconUrlDefault: any(),
isUnlockedIconUrlDefault: any(),
kind: any(),
name: any(),
revealedIconUrl: any(),
totalSteps: any(),
unlockedIconUrl: any()
}
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.