games
v1
|
#include <player_experience_info.h>
Public Member Functions | |
PlayerExperienceInfo (const Json::Value &storage) | |
PlayerExperienceInfo (Json::Value *storage) | |
virtual | ~PlayerExperienceInfo () |
const StringPiece | GetTypeName () const |
bool | has_current_experience_points () const |
void | clear_current_experience_points () |
int64 | get_current_experience_points () const |
void | set_current_experience_points (int64 value) |
bool | has_current_level () const |
void | clear_current_level () |
const PlayerLevel | get_current_level () const |
PlayerLevel | mutable_currentLevel () |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_last_level_up_timestamp_millis () const |
void | clear_last_level_up_timestamp_millis () |
int64 | get_last_level_up_timestamp_millis () const |
void | set_last_level_up_timestamp_millis (int64 value) |
bool | has_next_level () const |
void | clear_next_level () |
const PlayerLevel | get_next_level () const |
PlayerLevel | mutable_nextLevel () |
Static Public Member Functions | |
static PlayerExperienceInfo * | New () |
This is a JSON template for 1P/3P metadata about the player's experience.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'currentExperiencePoints
' attribute.
|
inline |
Clears the 'currentLevel
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'lastLevelUpTimestampMillis
' attribute.
|
inline |
Clears the 'nextLevel
' attribute.
|
inline |
Get the value of the 'currentExperiencePoints
' attribute.
const PlayerLevel google_games_api::PlayerExperienceInfo::get_current_level | ( | ) | const |
Get a reference to the value of the 'currentLevel
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'lastLevelUpTimestampMillis
' attribute.
const PlayerLevel google_games_api::PlayerExperienceInfo::get_next_level | ( | ) | const |
Get a reference to the value of the 'nextLevel
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'currentExperiencePoints
' attribute was set.
currentExperiencePoints
' attribute was set.
|
inline |
Determine if the 'currentLevel
' attribute was set.
currentLevel
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'lastLevelUpTimestampMillis
' attribute was set.
lastLevelUpTimestampMillis
' attribute was set.
|
inline |
Determine if the 'nextLevel
' attribute was set.
nextLevel
' attribute was set. PlayerLevel google_games_api::PlayerExperienceInfo::mutable_currentLevel | ( | ) |
Gets a reference to a mutable value of the 'currentLevel
' property.
The current level of the player.
PlayerLevel google_games_api::PlayerExperienceInfo::mutable_nextLevel | ( | ) |
Gets a reference to a mutable value of the 'nextLevel
' property.
The next level of the player. If the current level is the maximum level, this should be same as the current level.
|
static |
Creates a new default instance.
|
inline |
Change the 'currentExperiencePoints
' attribute.
The current number of experience points for the player.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::playerExperienceInfo.
[in] | value | The new value. |
|
inline |
Change the 'lastLevelUpTimestampMillis
' attribute.
The timestamp when the player was leveled up, in millis since Unix epoch UTC.
[in] | value | The new value. |