#include <player_level.h>
This is a JSON template for 1P/3P metadata about a user's level.
◆ PlayerLevel() [1/2]
google_games_api::PlayerLevel::PlayerLevel |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ PlayerLevel() [2/2]
google_games_api::PlayerLevel::PlayerLevel |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~PlayerLevel()
google_games_api::PlayerLevel::~PlayerLevel |
( |
| ) |
|
|
virtual |
◆ clear_kind()
void google_games_api::PlayerLevel::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_level()
void google_games_api::PlayerLevel::clear_level |
( |
| ) |
|
|
inline |
Clears the 'level
' attribute.
◆ clear_max_experience_points()
void google_games_api::PlayerLevel::clear_max_experience_points |
( |
| ) |
|
|
inline |
Clears the 'maxExperiencePoints
' attribute.
◆ clear_min_experience_points()
void google_games_api::PlayerLevel::clear_min_experience_points |
( |
| ) |
|
|
inline |
Clears the 'minExperiencePoints
' attribute.
◆ get_kind()
const StringPiece google_games_api::PlayerLevel::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_level()
int32 google_games_api::PlayerLevel::get_level |
( |
| ) |
const |
|
inline |
Get the value of the 'level
' attribute.
◆ get_max_experience_points()
int64 google_games_api::PlayerLevel::get_max_experience_points |
( |
| ) |
const |
|
inline |
Get the value of the 'maxExperiencePoints
' attribute.
◆ get_min_experience_points()
int64 google_games_api::PlayerLevel::get_min_experience_points |
( |
| ) |
const |
|
inline |
Get the value of the 'minExperiencePoints
' attribute.
◆ GetTypeName()
const StringPiece google_games_api::PlayerLevel::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_kind()
bool google_games_api::PlayerLevel::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_level()
bool google_games_api::PlayerLevel::has_level |
( |
| ) |
const |
|
inline |
Determine if the 'level
' attribute was set.
- Returns
- true if the '
level
' attribute was set.
◆ has_max_experience_points()
bool google_games_api::PlayerLevel::has_max_experience_points |
( |
| ) |
const |
|
inline |
Determine if the 'maxExperiencePoints
' attribute was set.
- Returns
- true if the '
maxExperiencePoints
' attribute was set.
◆ has_min_experience_points()
bool google_games_api::PlayerLevel::has_min_experience_points |
( |
| ) |
const |
|
inline |
Determine if the 'minExperiencePoints
' attribute was set.
- Returns
- true if the '
minExperiencePoints
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_kind()
void google_games_api::PlayerLevel::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::playerLevel.
- Parameters
-
◆ set_level()
void google_games_api::PlayerLevel::set_level |
( |
int32 |
value | ) |
|
|
inline |
Change the 'level
' attribute.
The level for the user.
- Parameters
-
◆ set_max_experience_points()
void google_games_api::PlayerLevel::set_max_experience_points |
( |
int64 |
value | ) |
|
|
inline |
Change the 'maxExperiencePoints
' attribute.
The maximum experience points for this level.
- Parameters
-
◆ set_min_experience_points()
void google_games_api::PlayerLevel::set_min_experience_points |
( |
int64 |
value | ) |
|
|
inline |
Change the 'minExperiencePoints
' attribute.
The minimum experience points for this level.
- Parameters
-
The documentation for this class was generated from the following files: