google_api_games v0.1.0 GoogleApi.Games.V1.Model.PlayerAchievement View Source

This is a JSON template for an achievement object.

Attributes

  • achievementState (String.t): The state of the achievement. Possible values are: - "HIDDEN" - Achievement is hidden. - "REVEALED" - Achievement is revealed. - "UNLOCKED" - Achievement is unlocked. Defaults to: null.
  • currentSteps (integer()): The current steps for an incremental achievement. Defaults to: null.
  • experiencePoints (String.t): 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. Defaults to: null.
  • formattedCurrentStepsString (String.t): The current steps for an incremental achievement as a string. Defaults to: null.
  • id (String.t): The ID of the achievement. Defaults to: null.
  • kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#playerAchievement. Defaults to: null.
  • lastUpdatedTimestamp (String.t): The timestamp of the last modification to this achievement's state. 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() :: %GoogleApi.Games.V1.Model.PlayerAchievement{
  achievementState: any(),
  currentSteps: any(),
  experiencePoints: any(),
  formattedCurrentStepsString: any(),
  id: any(),
  kind: any(),
  lastUpdatedTimestamp: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.