games
v1
|
#include <turn_based_match_results.h>
Public Member Functions | |
TurnBasedMatchResults (const Json::Value &storage) | |
TurnBasedMatchResults (Json::Value *storage) | |
virtual | ~TurnBasedMatchResults () |
const StringPiece | GetTypeName () const |
bool | has_data () const |
void | clear_data () |
const TurnBasedMatchDataRequest | get_data () const |
TurnBasedMatchDataRequest | mutable_data () |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_match_version () const |
void | clear_match_version () |
int32 | get_match_version () const |
void | set_match_version (int32 value) |
bool | has_results () const |
void | clear_results () |
const client::JsonCppArray< ParticipantResult > | get_results () const |
client::JsonCppArray< ParticipantResult > | mutable_results () |
Static Public Member Functions | |
static TurnBasedMatchResults * | New () |
This is a JSON template for a turn-based match results object.
|
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 'data
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'matchVersion
' attribute.
|
inline |
Clears the 'results
' attribute.
const TurnBasedMatchDataRequest google_games_api::TurnBasedMatchResults::get_data | ( | ) | const |
Get a reference to the value of the 'data
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'matchVersion
' attribute.
const client::JsonCppArray<ParticipantResult > google_games_api::TurnBasedMatchResults::get_results | ( | ) | const |
Get a reference to the value of the 'results
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'data
' attribute was set.
data
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'matchVersion
' attribute was set.
matchVersion
' attribute was set.
|
inline |
Determine if the 'results
' attribute was set.
results
' attribute was set. TurnBasedMatchDataRequest google_games_api::TurnBasedMatchResults::mutable_data | ( | ) |
Gets a reference to a mutable value of the 'data
' property.
The final match data.
client::JsonCppArray<ParticipantResult > google_games_api::TurnBasedMatchResults::mutable_results | ( | ) |
Gets a reference to a mutable value of the 'results
' property.
The match results for the participants in the match.
|
static |
Creates a new default instance.
|
inline |
Change the 'kind
' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::turnBasedMatchResults.
[in] | value | The new value. |
|
inline |
Change the 'matchVersion
' attribute.
The version of the match being updated.
[in] | value | The new value. |