games
v1
|
#include <room_status.h>
Public Member Functions | |
RoomStatus (const Json::Value &storage) | |
RoomStatus (Json::Value *storage) | |
virtual | ~RoomStatus () |
const StringPiece | GetTypeName () const |
bool | has_auto_matching_status () const |
void | clear_auto_matching_status () |
const RoomAutoMatchStatus | get_auto_matching_status () const |
RoomAutoMatchStatus | mutable_autoMatchingStatus () |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_participants () const |
void | clear_participants () |
const client::JsonCppArray< RoomParticipant > | get_participants () const |
client::JsonCppArray< RoomParticipant > | mutable_participants () |
bool | has_room_id () const |
void | clear_room_id () |
const StringPiece | get_room_id () const |
void | set_room_id (const StringPiece &value) |
bool | has_status () const |
void | clear_status () |
const StringPiece | get_status () const |
void | set_status (const StringPiece &value) |
bool | has_status_version () const |
void | clear_status_version () |
int32 | get_status_version () const |
void | set_status_version (int32 value) |
Static Public Member Functions | |
static RoomStatus * | New () |
This is a JSON template for the status of a room that the player has joined.
|
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 'autoMatchingStatus
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'participants
' attribute.
|
inline |
Clears the 'roomId
' attribute.
|
inline |
Clears the 'status
' attribute.
|
inline |
Clears the 'statusVersion
' attribute.
const RoomAutoMatchStatus google_games_api::RoomStatus::get_auto_matching_status | ( | ) | const |
Get a reference to the value of the 'autoMatchingStatus
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
const client::JsonCppArray<RoomParticipant > google_games_api::RoomStatus::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 'status
' attribute.
|
inline |
Get the value of the 'statusVersion
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_games_api::RoomStatus
|
inline |
Determine if the 'autoMatchingStatus
' attribute was set.
autoMatchingStatus
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' 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 'status
' attribute was set.
status
' attribute was set.
|
inline |
Determine if the 'statusVersion
' attribute was set.
statusVersion
' attribute was set. RoomAutoMatchStatus google_games_api::RoomStatus::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 automatching queue.
client::JsonCppArray<RoomParticipant > google_games_api::RoomStatus::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 'kind
' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::roomStatus.
[in] | value | The new value. |
|
inline |
Change the 'roomId
' attribute.
Globally unique ID for a room.
[in] | value | The new value. |
|
inline |
Change the 'status
' attribute.
The status of the room. Possible values are:
[in] | value | The new value. |
|
inline |
Change the 'statusVersion
' attribute.
The version of the status for the room: an increasing counter, used by the client to ignore out-of-order updates to room status.
[in] | value | The new value. |