Class RoomStatus
This is a JSON template for the status of a room that the player has joined.
Inheritance
Implements
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class RoomStatus : object, IDirectResponseSchema
Properties
AutoMatchingStatus
Auto-matching status for this room. Not set if the room is not currently in the automatching queue.
Declaration
public virtual RoomAutoMatchStatus AutoMatchingStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| RoomAutoMatchStatus |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string games#roomStatus.
Declaration
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Participants
The participants involved in the room, along with their statuses. Includes participants who have left or declined invitations.
Declaration
public virtual IList<RoomParticipant> Participants { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<RoomParticipant> |
RoomId
Globally unique ID for a room.
Declaration
public virtual string RoomId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Status
The status of the room. Possible values are: - "ROOM_INVITING" - One or more players have been invited and not responded. - "ROOM_AUTO_MATCHING" - One or more slots need to be filled by auto-matching. - "ROOM_CONNECTING" - Players have joined are connecting to each other (either before or after auto-matching).
- "ROOM_ACTIVE" - All players have joined and connected to each other. - "ROOM_DELETED" - All joined players have left.
Declaration
public virtual string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
StatusVersion
The version of the status for the room: an increasing counter, used by the client to ignore out-of- order updates to room status.
Declaration
public virtual Nullable<int> StatusVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |