games
v1
|
#include <room.h>
Static Public Member Functions | |
static Room * | New () |
This is a JSON template for a room 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 'autoMatchingStatus
' attribute.
|
inline |
Clears the 'creationDetails
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'inviterId
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'lastUpdateDetails
' attribute.
|
inline |
Clears the 'participants
' attribute.
|
inline |
Clears the 'roomId
' attribute.
|
inline |
Clears the 'roomStatusVersion
' attribute.
|
inline |
Clears the 'status
' attribute.
|
inline |
Clears the 'variant
' attribute.
|
inline |
Get the value of the 'applicationId
' attribute.
const RoomAutoMatchingCriteria google_games_api::Room::get_auto_matching_criteria | ( | ) | const |
Get a reference to the value of the 'autoMatchingCriteria
' attribute.
const RoomAutoMatchStatus google_games_api::Room::get_auto_matching_status | ( | ) | const |
Get a reference to the value of the 'autoMatchingStatus
' attribute.
const RoomModification google_games_api::Room::get_creation_details | ( | ) | const |
Get a reference to the value of the 'creationDetails
' 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 RoomModification google_games_api::Room::get_last_update_details | ( | ) | const |
Get a reference to the value of the 'lastUpdateDetails
' attribute.
const client::JsonCppArray<RoomParticipant > google_games_api::Room::get_participants | ( | ) | const |
Get a reference to the value of the 'participants
' attribute.
|
inline |
Get the value of the 'roomId
' attribute.
|
inline |
Get the value of the 'roomStatusVersion
' attribute.
|
inline |
Get the value of the 'status
' attribute.
|
inline |
Get the value of the 'variant
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_games_api::Room
|
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 'autoMatchingStatus
' attribute was set.
autoMatchingStatus
' attribute was set.
|
inline |
Determine if the 'creationDetails
' attribute was set.
creationDetails
' 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 'participants
' attribute was set.
participants
' attribute was set.
|
inline |
Determine if the 'roomId
' attribute was set.
roomId
' attribute was set.
|
inline |
Determine if the 'roomStatusVersion
' attribute was set.
roomStatusVersion
' attribute was set.
|
inline |
Determine if the 'status
' attribute was set.
status
' attribute was set.
|
inline |
Determine if the 'variant
' attribute was set.
variant
' attribute was set. RoomAutoMatchingCriteria google_games_api::Room::mutable_autoMatchingCriteria | ( | ) |
Gets a reference to a mutable value of the 'autoMatchingCriteria
' property.
Criteria for auto-matching players into this room.
RoomAutoMatchStatus google_games_api::Room::mutable_autoMatchingStatus | ( | ) |
Gets a reference to a mutable value of the 'autoMatchingStatus
' property.
Auto-matching status for this room. Not set if the room is not currently in the auto-matching queue.
RoomModification google_games_api::Room::mutable_creationDetails | ( | ) |
Gets a reference to a mutable value of the 'creationDetails
' property.
Details about the room creation.
RoomModification google_games_api::Room::mutable_lastUpdateDetails | ( | ) |
Gets a reference to a mutable value of the 'lastUpdateDetails
' property.
Details about the last update to the room.
client::JsonCppArray<RoomParticipant > google_games_api::Room::mutable_participants | ( | ) |
Gets a reference to a mutable value of the 'participants
' property.
The participants involved in the room, along with their statuses. Includes participants who have left or declined invitations.
|
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 and worded relative to the player requesting the room. It is intended to be displayed when the room is shown in a list (that is, an invitation to a room.).
[in] | value | The new value. |
|
inline |
Change the 'inviterId
' attribute.
The ID of the participant that invited the user to the room. Not set if the user was not invited to the room.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::room.
[in] | value | The new value. |
|
inline |
Change the 'roomId
' attribute.
Globally unique ID for a room.
[in] | value | The new value. |
|
inline |
Change the 'roomStatusVersion
' attribute.
The version of the room status: an increasing counter, used by the client to ignore out-of-order updates to room status.
[in] | value | The new value. |
|
inline |
Change the 'status
' attribute.
The status of the room. Possible values are:
Returned in sync calls when a player joins a room (as a tombstone), or for rooms where all joined participants have left.
[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. |