google_api_games v0.11.0 GoogleApi.Games.V1.Model.PlayerExperienceInfo View Source

This is a JSON template for 1P/3P metadata about the player's experience.

Attributes

  • currentExperiencePoints (type: String.t, default: nil) - The current number of experience points for the player.
  • currentLevel (type: GoogleApi.Games.V1.Model.PlayerLevel.t, default: nil) - The current level of the player.
  • kind (type: String.t, default: games#playerExperienceInfo) - Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo.
  • lastLevelUpTimestampMillis (type: String.t, default: nil) - The timestamp when the player was leveled up, in millis since Unix epoch UTC.
  • nextLevel (type: GoogleApi.Games.V1.Model.PlayerLevel.t, default: nil) - The next level of the player. If the current level is the maximum level, this should be same as the current level.

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.PlayerExperienceInfo{
  currentExperiencePoints: String.t(),
  currentLevel: GoogleApi.Games.V1.Model.PlayerLevel.t(),
  kind: String.t(),
  lastLevelUpTimestampMillis: String.t(),
  nextLevel: GoogleApi.Games.V1.Model.PlayerLevel.t()
}

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.