google_api_games v0.3.1 GoogleApi.Games.V1.Model.TurnBasedMatchParticipant View Source
This is a JSON template for a participant in a turn-based match.
Attributes
- autoMatched (boolean()): True if this participant was auto-matched with the requesting player. Defaults to:
null. - autoMatchedPlayer (AnonymousPlayer): Information about a player that has been anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.) Defaults to:
null. - id (String.t): An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts. Defaults to:
null. - kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchParticipant. Defaults to:
null. - player (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.) Defaults to:
null. - status (String.t): 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. Defaults to:
null.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Games.V1.Model.TurnBasedMatchParticipant{
autoMatched: any(),
autoMatchedPlayer: GoogleApi.Games.V1.Model.AnonymousPlayer.t(),
id: any(),
kind: any(),
player: GoogleApi.Games.V1.Model.Player.t(),
status: any()
}
t() :: %GoogleApi.Games.V1.Model.TurnBasedMatchParticipant{
autoMatched: any(),
autoMatchedPlayer: GoogleApi.Games.V1.Model.AnonymousPlayer.t(),
id: any(),
kind: any(),
player: GoogleApi.Games.V1.Model.Player.t(),
status: any()
}
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.