#include <achievement_reveal_response.h>
This is a JSON template for an achievement reveal response.
◆ AchievementRevealResponse() [1/2]
google_games_api::AchievementRevealResponse::AchievementRevealResponse |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ AchievementRevealResponse() [2/2]
google_games_api::AchievementRevealResponse::AchievementRevealResponse |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~AchievementRevealResponse()
google_games_api::AchievementRevealResponse::~AchievementRevealResponse |
( |
| ) |
|
|
virtual |
◆ clear_current_state()
void google_games_api::AchievementRevealResponse::clear_current_state |
( |
| ) |
|
|
inline |
Clears the 'currentState
' attribute.
◆ clear_kind()
void google_games_api::AchievementRevealResponse::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ get_current_state()
const StringPiece google_games_api::AchievementRevealResponse::get_current_state |
( |
| ) |
const |
|
inline |
Get the value of the 'currentState
' attribute.
◆ get_kind()
const StringPiece google_games_api::AchievementRevealResponse::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ GetTypeName()
const StringPiece google_games_api::AchievementRevealResponse::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_current_state()
bool google_games_api::AchievementRevealResponse::has_current_state |
( |
| ) |
const |
|
inline |
Determine if the 'currentState
' attribute was set.
- Returns
- true if the '
currentState
' attribute was set.
◆ has_kind()
bool google_games_api::AchievementRevealResponse::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_current_state()
void google_games_api::AchievementRevealResponse::set_current_state |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'currentState
' attribute.
The current state of the achievement for which a reveal was attempted. This might be UNLOCKED if the achievement was already unlocked. Possible values are:
- "REVEALED"
- Achievement is revealed.
- "UNLOCKED"
- Achievement is unlocked.
- Parameters
-
◆ set_kind()
void google_games_api::AchievementRevealResponse::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::achievementRevealResponse.
- Parameters
-
The documentation for this class was generated from the following files: