View Source GoogleApi.Games.V1.Model.PlayerExperienceInfo (google_api_games v0.26.0)

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: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Games.V1.Model.PlayerExperienceInfo{
  currentExperiencePoints: String.t() | nil,
  currentLevel: GoogleApi.Games.V1.Model.PlayerLevel.t() | nil,
  kind: String.t() | nil,
  lastLevelUpTimestampMillis: String.t() | nil,
  nextLevel: GoogleApi.Games.V1.Model.PlayerLevel.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.