google_api_games v0.3.0 GoogleApi.Games.V1.Model.ParticipantResult View Source

This is a JSON template for a result for a match participant.

Attributes

  • kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#participantResult. Defaults to: null.
  • participantId (String.t): The ID of the participant. Defaults to: null.
  • placing (integer()): The placement or ranking of the participant in the match results; a number from one to the number of participants in the match. Multiple participants may have the same placing value in case of a type. Defaults to: null.
  • result (String.t): The result of the participant for this match. Possible values are: - "MATCH_RESULT_WIN" - The participant won the match. - "MATCH_RESULT_LOSS" - The participant lost the match. - "MATCH_RESULT_TIE" - The participant tied the match. - "MATCH_RESULT_NONE" - There was no winner for the match (nobody wins or loses this kind of game.) - "MATCH_RESULT_DISCONNECT" - The participant disconnected / left during the match. - "MATCH_RESULT_DISAGREED" - Different clients reported different results for this participant. 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() :: %GoogleApi.Games.V1.Model.ParticipantResult{
  kind: any(),
  participantId: any(),
  placing: any(),
  result: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.