Class CurrentGame
Class representing a CurrentGame in the API.
Inheritance
System.Object
CurrentGame
Namespace:RiotSharp.CurrentGameEndpoint
Assembly:RiotSharp.dll
Syntax
public class CurrentGame : object
Properties
BannedChampions
Banned champion information
Declaration
public List<BannedChampion> BannedChampions { get; set; }
Property Value
| Type | Description |
|---|---|
| List<><BannedChampion> |
GameId
The ID of the game
Declaration
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
public long GameLength { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
GameMode
Game mode.
Declaration
public GameMode GameMode { get; set; }
Property Value
| Type | Description |
|---|---|
| GameMode |
GameQueueType
The queue type
Declaration
public GameQueueType GameQueueType { get; set; }
Property Value
| Type | Description |
|---|---|
| GameQueueType |
GameStartTime
The game start time
Declaration
public DateTime GameStartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
GameType
Game type.
Declaration
public GameType GameType { get; set; }
Property Value
| Type | Description |
|---|---|
| GameType |
MapType
Map type.
Declaration
public MapType MapType { get; set; }
Property Value
| Type | Description |
|---|---|
| MapType |
Observers
The observer information
Declaration
public Observer Observers { get; set; }
Property Value
| Type | Description |
|---|---|
| Observer |
Participants
The participant information
Declaration
public List<Participant> Participants { get; set; }
Property Value
| Type | Description |
|---|---|
| List<><Participant> |
Platform
The ID of the platform on which the game is being played
Declaration
public Platform Platform { get; set; }
Property Value
| Type | Description |
|---|---|
| Platform |