games
v1
|
#include <turn_based_match_create_request.h>
Public Member Functions | |
TurnBasedMatchCreateRequest (const Json::Value &storage) | |
TurnBasedMatchCreateRequest (Json::Value *storage) | |
virtual | ~TurnBasedMatchCreateRequest () |
const StringPiece | GetTypeName () const |
bool | has_auto_matching_criteria () const |
void | clear_auto_matching_criteria () |
const TurnBasedAutoMatchingCriteria | get_auto_matching_criteria () const |
TurnBasedAutoMatchingCriteria | mutable_autoMatchingCriteria () |
bool | has_invited_player_ids () const |
void | clear_invited_player_ids () |
const client::JsonCppArray< string > | get_invited_player_ids () const |
client::JsonCppArray< string > | mutable_invitedPlayerIds () |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_request_id () const |
void | clear_request_id () |
int64 | get_request_id () const |
void | set_request_id (int64 value) |
bool | has_variant () const |
void | clear_variant () |
int32 | get_variant () const |
void | set_variant (int32 value) |
Static Public Member Functions | |
static TurnBasedMatchCreateRequest * | New () |
This is a JSON template for a turn-based match creation request.
|
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 'autoMatchingCriteria
' attribute.
|
inline |
Clears the 'invitedPlayerIds
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'requestId
' attribute.
|
inline |
Clears the 'variant
' attribute.
const TurnBasedAutoMatchingCriteria google_games_api::TurnBasedMatchCreateRequest::get_auto_matching_criteria | ( | ) | const |
Get a reference to the value of the 'autoMatchingCriteria
' attribute.
|
inline |
Get a reference to the value of the 'invitedPlayerIds
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'requestId
' attribute.
|
inline |
Get the value of the 'variant
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'autoMatchingCriteria
' attribute was set.
autoMatchingCriteria
' attribute was set.
|
inline |
Determine if the 'invitedPlayerIds
' attribute was set.
invitedPlayerIds
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'requestId
' attribute was set.
requestId
' attribute was set.
|
inline |
Determine if the 'variant
' attribute was set.
variant
' attribute was set. TurnBasedAutoMatchingCriteria google_games_api::TurnBasedMatchCreateRequest::mutable_autoMatchingCriteria | ( | ) |
Gets a reference to a mutable value of the 'autoMatchingCriteria
' property.
Criteria for auto-matching players into this match.
|
inline |
Gets a reference to a mutable value of the 'invitedPlayerIds
' property.
The player ids to invite to 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::turnBasedMatchCreateRequest.
[in] | value | The new value. |
|
inline |
Change the 'requestId
' attribute.
A randomly generated numeric ID. This number is used at the server to ensure that the request is handled correctly across retries.
[in] | value | The new value. |
|
inline |
Change the 'variant
' attribute.
The variant / mode of the application to be played. This can be any integer value, or left blank. You should use a small number of variants to keep the auto-matching pool as large as possible.
[in] | value | The new value. |