#include <achievement_update_response.h>
This is a JSON template for an achievement update response.
◆ AchievementUpdateResponse() [1/2]
google_games_api::AchievementUpdateResponse::AchievementUpdateResponse |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ AchievementUpdateResponse() [2/2]
google_games_api::AchievementUpdateResponse::AchievementUpdateResponse |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~AchievementUpdateResponse()
google_games_api::AchievementUpdateResponse::~AchievementUpdateResponse |
( |
| ) |
|
|
virtual |
◆ clear_achievement_id()
void google_games_api::AchievementUpdateResponse::clear_achievement_id |
( |
| ) |
|
|
inline |
Clears the 'achievementId
' attribute.
◆ clear_current_state()
void google_games_api::AchievementUpdateResponse::clear_current_state |
( |
| ) |
|
|
inline |
Clears the 'currentState
' attribute.
◆ clear_current_steps()
void google_games_api::AchievementUpdateResponse::clear_current_steps |
( |
| ) |
|
|
inline |
Clears the 'currentSteps
' attribute.
◆ clear_kind()
void google_games_api::AchievementUpdateResponse::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_newly_unlocked()
void google_games_api::AchievementUpdateResponse::clear_newly_unlocked |
( |
| ) |
|
|
inline |
Clears the 'newlyUnlocked
' attribute.
◆ clear_update_occurred()
void google_games_api::AchievementUpdateResponse::clear_update_occurred |
( |
| ) |
|
|
inline |
Clears the 'updateOccurred
' attribute.
◆ get_achievement_id()
const StringPiece google_games_api::AchievementUpdateResponse::get_achievement_id |
( |
| ) |
const |
|
inline |
Get the value of the 'achievementId
' attribute.
◆ get_current_state()
const StringPiece google_games_api::AchievementUpdateResponse::get_current_state |
( |
| ) |
const |
|
inline |
Get the value of the 'currentState
' attribute.
◆ get_current_steps()
int32 google_games_api::AchievementUpdateResponse::get_current_steps |
( |
| ) |
const |
|
inline |
Get the value of the 'currentSteps
' attribute.
◆ get_kind()
const StringPiece google_games_api::AchievementUpdateResponse::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_newly_unlocked()
bool google_games_api::AchievementUpdateResponse::get_newly_unlocked |
( |
| ) |
const |
|
inline |
Get the value of the 'newlyUnlocked
' attribute.
◆ get_update_occurred()
bool google_games_api::AchievementUpdateResponse::get_update_occurred |
( |
| ) |
const |
|
inline |
Get the value of the 'updateOccurred
' attribute.
◆ GetTypeName()
const StringPiece google_games_api::AchievementUpdateResponse::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_achievement_id()
bool google_games_api::AchievementUpdateResponse::has_achievement_id |
( |
| ) |
const |
|
inline |
Determine if the 'achievementId
' attribute was set.
- Returns
- true if the '
achievementId
' attribute was set.
◆ has_current_state()
bool google_games_api::AchievementUpdateResponse::has_current_state |
( |
| ) |
const |
|
inline |
Determine if the 'currentState
' attribute was set.
- Returns
- true if the '
currentState
' attribute was set.
◆ has_current_steps()
bool google_games_api::AchievementUpdateResponse::has_current_steps |
( |
| ) |
const |
|
inline |
Determine if the 'currentSteps
' attribute was set.
- Returns
- true if the '
currentSteps
' attribute was set.
◆ has_kind()
bool google_games_api::AchievementUpdateResponse::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_newly_unlocked()
bool google_games_api::AchievementUpdateResponse::has_newly_unlocked |
( |
| ) |
const |
|
inline |
Determine if the 'newlyUnlocked
' attribute was set.
- Returns
- true if the '
newlyUnlocked
' attribute was set.
◆ has_update_occurred()
bool google_games_api::AchievementUpdateResponse::has_update_occurred |
( |
| ) |
const |
|
inline |
Determine if the 'updateOccurred
' attribute was set.
- Returns
- true if the '
updateOccurred
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_achievement_id()
void google_games_api::AchievementUpdateResponse::set_achievement_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'achievementId
' attribute.
The achievement this update is was applied to.
- Parameters
-
◆ set_current_state()
void google_games_api::AchievementUpdateResponse::set_current_state |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'currentState
' attribute.
The current state of the achievement. Possible values are:
- "HIDDEN"
- Achievement is hidden.
- "REVEALED"
- Achievement is revealed.
- "UNLOCKED"
- Achievement is unlocked.
- Parameters
-
◆ set_current_steps()
void google_games_api::AchievementUpdateResponse::set_current_steps |
( |
int32 |
value | ) |
|
|
inline |
Change the 'currentSteps
' attribute.
The current steps recorded for this achievement if it is incremental.
- Parameters
-
◆ set_kind()
void google_games_api::AchievementUpdateResponse::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::achievementUpdateResponse.
- Parameters
-
◆ set_newly_unlocked()
void google_games_api::AchievementUpdateResponse::set_newly_unlocked |
( |
bool |
value | ) |
|
|
inline |
Change the 'newlyUnlocked
' attribute.
Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).
- Parameters
-
◆ set_update_occurred()
void google_games_api::AchievementUpdateResponse::set_update_occurred |
( |
bool |
value | ) |
|
|
inline |
Change the 'updateOccurred
' attribute.
Whether the requested updates actually affected the achievement.
- Parameters
-
The documentation for this class was generated from the following files: