Class CurrentGameInfo
CurrentGameInfo data object. This class is automatically generated.
Inheritance
System.Object
CurrentGameInfo
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.SpectatorV5
Assembly: Camille.RiotGames.dll
Syntax
public class CurrentGameInfo
Constructors
| Improve this Doc View SourceCurrentGameInfo()
Declaration
public CurrentGameInfo()
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> |
BannedChampions
Banned champion information
Declaration
[JsonPropertyName("bannedChampions")]
public BannedChampion[] BannedChampions { get; set; }
Property Value
Type | Description |
---|---|
BannedChampion[] |
GameId
The ID of the game
Declaration
[JsonPropertyName("gameId")]
public long GameId { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
GameLength
The amount of time in seconds that has passed since the game started
Declaration
[JsonPropertyName("gameLength")]
public long GameLength { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
GameMode
The game mode
Declaration
[JsonPropertyName("gameMode")]
public Enums.GameMode GameMode { get; set; }
Property Value
Type | Description |
---|---|
GameMode |
GameQueueConfigId
The queue type (queue types are documented on the Game Constants page)
Declaration
[JsonPropertyName("gameQueueConfigId")]
public Enums.Queue? GameQueueConfigId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Enums.Queue> |
GameStartTime
The game start time represented in epoch milliseconds
Declaration
[JsonPropertyName("gameStartTime")]
public long GameStartTime { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
GameType
The game type
Declaration
[JsonPropertyName("gameType")]
public Enums.GameType GameType { get; set; }
Property Value
Type | Description |
---|---|
GameType |
MapId
The ID of the map
Declaration
[JsonPropertyName("mapId")]
public Enums.Map MapId { get; set; }
Property Value
Type | Description |
---|---|
Map |
Observers
The observer information
Declaration
[JsonPropertyName("observers")]
public Observer Observers { get; set; }
Property Value
Type | Description |
---|---|
Observer |
Participants
The participant information
Declaration
[JsonPropertyName("participants")]
public CurrentGameParticipant[] Participants { get; set; }
Property Value
Type | Description |
---|---|
CurrentGameParticipant[] |
PlatformId
The ID of the platform on which the game is being played
Declaration
[JsonPropertyName("platformId")]
public string PlatformId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()