games
v1
|
#include <turn_based_match.h>
Static Public Member Functions | |
static TurnBasedMatch * | New () |
This is a JSON template for a turn-based match resource 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 'applicationId
' attribute.
|
inline |
Clears the 'autoMatchingCriteria
' attribute.
|
inline |
Clears the 'creationDetails
' attribute.
|
inline |
Clears the 'data
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'inviterId
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'lastUpdateDetails
' attribute.
|
inline |
Clears the 'matchId
' attribute.
|
inline |
Clears the 'matchNumber
' attribute.
|
inline |
Clears the 'matchVersion
' attribute.
|
inline |
Clears the 'participants
' attribute.
|
inline |
Clears the 'pendingParticipantId
' attribute.
|
inline |
Clears the 'previousMatchData
' attribute.
|
inline |
Clears the 'rematchId
' attribute.
|
inline |
Clears the 'results
' attribute.
|
inline |
Clears the 'status
' attribute.
|
inline |
Clears the 'userMatchStatus
' attribute.
|
inline |
Clears the 'variant
' attribute.
|
inline |
Clears the 'withParticipantId
' attribute.
|
inline |
Get the value of the 'applicationId
' attribute.
const TurnBasedAutoMatchingCriteria google_games_api::TurnBasedMatch::get_auto_matching_criteria | ( | ) | const |
Get a reference to the value of the 'autoMatchingCriteria
' attribute.
const TurnBasedMatchModification google_games_api::TurnBasedMatch::get_creation_details | ( | ) | const |
Get a reference to the value of the 'creationDetails
' attribute.
const TurnBasedMatchData google_games_api::TurnBasedMatch::get_data | ( | ) | const |
Get a reference to the value of the 'data
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get the value of the 'inviterId
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
const TurnBasedMatchModification google_games_api::TurnBasedMatch::get_last_update_details | ( | ) | const |
Get a reference to the value of the 'lastUpdateDetails
' attribute.
|
inline |
Get the value of the 'matchId
' attribute.
|
inline |
Get the value of the 'matchNumber
' attribute.
|
inline |
Get the value of the 'matchVersion
' attribute.
const client::JsonCppArray<TurnBasedMatchParticipant > google_games_api::TurnBasedMatch::get_participants | ( | ) | const |
Get a reference to the value of the 'participants
' attribute.
|
inline |
Get the value of the 'pendingParticipantId
' attribute.
const TurnBasedMatchData google_games_api::TurnBasedMatch::get_previous_match_data | ( | ) | const |
Get a reference to the value of the 'previousMatchData
' attribute.
|
inline |
Get the value of the 'rematchId
' attribute.
const client::JsonCppArray<ParticipantResult > google_games_api::TurnBasedMatch::get_results | ( | ) | const |
Get a reference to the value of the 'results
' attribute.
|
inline |
Get the value of the 'status
' attribute.
|
inline |
Get the value of the 'userMatchStatus
' attribute.
|
inline |
Get the value of the 'variant
' attribute.
|
inline |
Get the value of the 'withParticipantId
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'applicationId
' attribute was set.
applicationId
' attribute was set.
|
inline |
Determine if the 'autoMatchingCriteria
' attribute was set.
autoMatchingCriteria
' attribute was set.
|
inline |
Determine if the 'creationDetails
' attribute was set.
creationDetails
' attribute was set.
|
inline |
Determine if the 'data
' attribute was set.
data
' attribute was set.
|
inline |
Determine if the 'description
' attribute was set.
description
' attribute was set.
|
inline |
Determine if the 'inviterId
' attribute was set.
inviterId
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'lastUpdateDetails
' attribute was set.
lastUpdateDetails
' attribute was set.
|
inline |
Determine if the 'matchId
' attribute was set.
matchId
' attribute was set.
|
inline |
Determine if the 'matchNumber
' attribute was set.
matchNumber
' attribute was set.
|
inline |
Determine if the 'matchVersion
' attribute was set.
matchVersion
' attribute was set.
|
inline |
Determine if the 'participants
' attribute was set.
participants
' attribute was set.
|
inline |
Determine if the 'pendingParticipantId
' attribute was set.
pendingParticipantId
' attribute was set.
|
inline |
Determine if the 'previousMatchData
' attribute was set.
previousMatchData
' attribute was set.
|
inline |
Determine if the 'rematchId
' attribute was set.
rematchId
' attribute was set.
|
inline |
Determine if the 'results
' attribute was set.
results
' attribute was set.
|
inline |
Determine if the 'status
' attribute was set.
status
' attribute was set.
|
inline |
Determine if the 'userMatchStatus
' attribute was set.
userMatchStatus
' attribute was set.
|
inline |
Determine if the 'variant
' attribute was set.
variant
' attribute was set.
|
inline |
Determine if the 'withParticipantId
' attribute was set.
withParticipantId
' attribute was set. TurnBasedAutoMatchingCriteria google_games_api::TurnBasedMatch::mutable_autoMatchingCriteria | ( | ) |
Gets a reference to a mutable value of the 'autoMatchingCriteria
' property.
Criteria for auto-matching players into this match.
TurnBasedMatchModification google_games_api::TurnBasedMatch::mutable_creationDetails | ( | ) |
Gets a reference to a mutable value of the 'creationDetails
' property.
Details about the match creation.
TurnBasedMatchData google_games_api::TurnBasedMatch::mutable_data | ( | ) |
Gets a reference to a mutable value of the 'data
' property.
The data / game state for this match.
TurnBasedMatchModification google_games_api::TurnBasedMatch::mutable_lastUpdateDetails | ( | ) |
Gets a reference to a mutable value of the 'lastUpdateDetails
' property.
Details about the last update to the match.
client::JsonCppArray<TurnBasedMatchParticipant > google_games_api::TurnBasedMatch::mutable_participants | ( | ) |
Gets a reference to a mutable value of the 'participants
' property.
The participants involved in the match, along with their statuses. Includes participants who have left or declined invitations.
TurnBasedMatchData google_games_api::TurnBasedMatch::mutable_previousMatchData | ( | ) |
Gets a reference to a mutable value of the 'previousMatchData
' property.
The data / game state for the previous match; set for the first turn of rematches only.
client::JsonCppArray<ParticipantResult > google_games_api::TurnBasedMatch::mutable_results | ( | ) |
Gets a reference to a mutable value of the 'results
' property.
The results reported for this match.
|
static |
Creates a new default instance.
|
inline |
Change the 'applicationId
' attribute.
The ID of the application being played.
[in] | value | The new value. |
|
inline |
Change the 'description
' attribute.
This short description is generated by our servers based on turn state and is localized and worded relative to the player requesting the match. It is intended to be displayed when the match is shown in a list.
[in] | value | The new value. |
|
inline |
Change the 'inviterId
' attribute.
The ID of the participant that invited the user to the match. Not set if the user was not invited to the match.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::turnBasedMatch.
[in] | value | The new value. |
|
inline |
Change the 'matchId
' attribute.
Globally unique ID for a turn-based match.
[in] | value | The new value. |
|
inline |
Change the 'matchNumber
' attribute.
The number of the match in a chain of rematches. Will be set to 1 for the first match and incremented by 1 for each rematch.
[in] | value | The new value. |
|
inline |
Change the 'matchVersion
' attribute.
The version of this match: an increasing counter, used to avoid out-of-date updates to the match.
[in] | value | The new value. |
|
inline |
Change the 'pendingParticipantId
' attribute.
The ID of the participant that is taking a turn.
[in] | value | The new value. |
|
inline |
Change the 'rematchId
' attribute.
The ID of a rematch of this match. Only set for completed matches that have been rematched.
[in] | value | The new value. |
|
inline |
Change the 'status
' attribute.
The status of the match. Possible values are:
[in] | value | The new value. |
|
inline |
Change the 'userMatchStatus
' attribute.
The status of the current user in the match. Derived from the match type, match status, the user's participant status, and the pending participant for the match. Possible values are:
[in] | value | The new value. |
|
inline |
Change the 'variant
' attribute.
The variant / mode of the application being played; can be any integer value, or left blank.
[in] | value | The new value. |
|
inline |
Change the 'withParticipantId
' attribute.
The ID of another participant in the match that can be used when describing the participants the user is playing with.
[in] | value | The new value. |