Show / Hide Table of Contents

Class Info

Info data object. This class is automatically generated.

Inheritance
System.Object
Info
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Camille.RiotGames.MatchV5
Assembly: Camille.RiotGames.dll
Syntax
public class Info

Constructors

| Improve this Doc View Source

Info()

Declaration
public Info()

Properties

| Improve this Doc View Source

_AdditionalProperties

Contains any extra JSON properties that did not map to fields.

Declaration
[JsonExtensionData]
public Dictionary<string, object> _AdditionalProperties { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.Object>
| Improve this Doc View Source

EndOfGameResult

Refer to indicate if the game ended in termination.

Declaration
[JsonPropertyName("endOfGameResult")]
public string EndOfGameResult { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

GameCreation

Unix timestamp for when the game is created on the game server (i.e., the loading screen).

Declaration
[JsonPropertyName("gameCreation")]
public long GameCreation { get; set; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

GameDuration

Prior to patch 11.20, this field returns the game length in milliseconds calculated from gameEndTimestamp - gameStartTimestamp. Post patch 11.20, this field returns the max timePlayed of any participant in the game in seconds, which makes the behavior of this field consistent with that of match-v4. The best way to handling the change in this field is to treat the value as milliseconds if the gameEndTimestamp field isn't in the response and to treat the value as seconds if gameEndTimestamp is in the response.

Declaration
[JsonPropertyName("gameDuration")]
public long GameDuration { get; set; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

GameEndTimestamp

Unix timestamp for when match ends on the game server. This timestamp can occasionally be significantly longer than when the match "ends". The most reliable way of determining the timestamp for the end of the match would be to add the max time played of any participant to the gameStartTimestamp. This field was added to match-v5 in patch 11.20 on Oct 5th, 2021.

Declaration
[JsonPropertyName("gameEndTimestamp")]
public long? GameEndTimestamp { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>
| Improve this Doc View Source

GameId

Declaration
[JsonPropertyName("gameId")]
public long GameId { get; set; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

GameMode

Refer to the Game Constants documentation.

Declaration
[JsonPropertyName("gameMode")]
public Enums.GameMode GameMode { get; set; }
Property Value
Type Description
GameMode
| Improve this Doc View Source

GameName

Declaration
[JsonPropertyName("gameName")]
public string GameName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

GameStartTimestamp

Unix timestamp for when match starts on the game server.

Declaration
[JsonPropertyName("gameStartTimestamp")]
public long GameStartTimestamp { get; set; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

GameType

Declaration
[JsonPropertyName("gameType")]
public Enums.GameType GameType { get; set; }
Property Value
Type Description
GameType
| Improve this Doc View Source

GameVersion

The first two parts can be used to determine the patch a game was played on.

Declaration
[JsonPropertyName("gameVersion")]
public string GameVersion { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MapId

Refer to the Game Constants documentation.

Declaration
[JsonPropertyName("mapId")]
public Enums.Map MapId { get; set; }
Property Value
Type Description
Map
| Improve this Doc View Source

Participants

Declaration
[JsonPropertyName("participants")]
public Participant[] Participants { get; set; }
Property Value
Type Description
Participant[]
| Improve this Doc View Source

PlatformId

Platform where the match was played.

Declaration
[JsonPropertyName("platformId")]
public string PlatformId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

QueueId

Refer to the Game Constants documentation.

Declaration
[JsonPropertyName("queueId")]
public Enums.Queue QueueId { get; set; }
Property Value
Type Description
Queue
| Improve this Doc View Source

Teams

Declaration
[JsonPropertyName("teams")]
public Team[] Teams { get; set; }
Property Value
Type Description
Team[]
| Improve this Doc View Source

TournamentCode

Tournament code used to generate the match. This field was added to match-v5 in patch 11.13 on June 23rd, 2021.

Declaration
[JsonPropertyName("tournamentCode")]
public string TournamentCode { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX