class Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource
This is a JSON template for 1P/3P metadata about the player's experience.
Attributes
The current number of experience points for the player. Corresponds to the JSON property `currentExperiencePoints` @return [String]
This is a JSON template for 1P/3P metadata about a user's level. Corresponds to the JSON property `currentLevel` @return [Google::Apis::GamesManagementV1management::GamesPlayerLevelResource]
The timestamp when the player was leveled up, in millis since Unix epoch UTC. Corresponds to the JSON property `lastLevelUpTimestampMillis` @return [String]
This is a JSON template for 1P/3P metadata about a user's level. Corresponds to the JSON property `nextLevel` @return [Google::Apis::GamesManagementV1management::GamesPlayerLevelResource]
Public Class Methods
# File generated/google/apis/games_management_v1management/classes.rb, line 199 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/games_management_v1management/classes.rb, line 204 def update!(**args) @current_experience_points = args[:current_experience_points] if args.key?(:current_experience_points) @current_level = args[:current_level] if args.key?(:current_level) @last_level_up_timestamp_millis = args[:last_level_up_timestamp_millis] if args.key?(:last_level_up_timestamp_millis) @next_level = args[:next_level] if args.key?(:next_level) end