google_api_games_management v0.2.0 GoogleApi.GamesManagement.V1management.Model.GamesPlayerExperienceInfoResource 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 (GamesPlayerLevelResource): The current level of the player. Defaults to: null.
  • lastLevelUpTimestampMillis (String.t): The timestamp when the player was leveled up, in millis since Unix epoch UTC. Defaults to: null.
  • nextLevel (GamesPlayerLevelResource): 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.GamesManagement.V1management.Model.GamesPlayerExperienceInfoResource{
    currentExperiencePoints: any(),
    currentLevel:
      GoogleApi.GamesManagement.V1management.Model.GamesPlayerLevelResource.t(),
    lastLevelUpTimestampMillis: any(),
    nextLevel:
      GoogleApi.GamesManagement.V1management.Model.GamesPlayerLevelResource.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.