class Google::Apis::GamesV1::PlayerExperienceInfo
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 [Fixnum]
1P/3P metadata about a user's level. Corresponds to the JSON property `currentLevel` @return [Google::Apis::GamesV1::PlayerLevel]
Uniquely identifies the type of this resource. Value is always the fixed string `games#playerExperienceInfo`. Corresponds to the JSON property `kind` @return [String]
The timestamp when the player was leveled up, in millis since Unix epoch UTC. Corresponds to the JSON property `lastLevelUpTimestampMillis` @return [Fixnum]
1P/3P metadata about a user's level. Corresponds to the JSON property `nextLevel` @return [Google::Apis::GamesV1::PlayerLevel]
Public Class Methods
# File lib/google/apis/games_v1/classes.rb, line 1927 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/games_v1/classes.rb, line 1932 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) @kind = args[:kind] if args.key?(:kind) @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