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

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

Attributes

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