Class TurnBasedMatchParticipant
This is a JSON template for a participant in a turn-based match.
Inheritance
Implements
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class TurnBasedMatchParticipant : object, IDirectResponseSchema
Properties
AutoMatched
True if this participant was auto-matched with the requesting player.
Declaration
public virtual Nullable<bool> AutoMatched { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
AutoMatchedPlayer
Information about a player that has been anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
Declaration
public virtual AnonymousPlayer AutoMatchedPlayer { get; set; }
Property Value
| Type | Description |
|---|---|
| AnonymousPlayer |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
Declaration
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchParticipant.
Declaration
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Player
Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
Declaration
public virtual Player Player { get; set; }
Property Value
| Type | Description |
|---|---|
| Player |
Status
The status of the participant with respect to the match. Possible values are: - "PARTICIPANT_NOT_INVITED_YET" - The participant is slated to be invited to the match, but the invitation has not been sent; the invite will be sent when it becomes their turn. - "PARTICIPANT_INVITED" - The participant has been invited to join the match, but has not yet responded. - "PARTICIPANT_JOINED" - The participant has joined the match (either after creating it or accepting an invitation.) - "PARTICIPANT_DECLINED" - The participant declined an invitation to join the match. - "PARTICIPANT_LEFT" - The participant joined the match and then left it. - "PARTICIPANT_FINISHED" - The participant finished playing in the match. - "PARTICIPANT_UNRESPONSIVE" - The participant did not take their turn in the allotted time.
Declaration
public virtual string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |