Class Game
Class representing a Game in the API.
Inheritance
System.Object
Game
Namespace:RiotSharp.GameEndpoint
Assembly:RiotSharp.dll
Syntax
public class Game : object
Properties
ChampionId
Champion ID associated with game.
Declaration
public int ChampionId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
CreateDate
Date game was played.
Declaration
public DateTime CreateDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
FellowPlayers
Other players associated with the game.
Declaration
public List<Player> FellowPlayers { get; set; }
Property Value
Type | Description |
---|---|
List<><Player> |
GameId
Game ID.
A gameId can be repeated over diffrent servers as they are not shared!
Declaration
public long GameId { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
GameMode
Game mode.
Declaration
public GameMode GameMode { get; set; }
Property Value
Type | Description |
---|---|
GameMode |
GameSubType
Game sub-type.
Declaration
public GameSubType GameSubType { get; set; }
Property Value
Type | Description |
---|---|
GameSubType |
GameType
Game type.
Declaration
public GameType GameType { get; set; }
Property Value
Type | Description |
---|---|
GameType |
Invalid
Invalid flag.
Declaration
public bool Invalid { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IpEarned
Ip earned during the game.
Declaration
public int IpEarned { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Level
Level of the champion.
Declaration
public int Level { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MapType
Map type.
Declaration
public MapType MapType { get; set; }
Property Value
Type | Description |
---|---|
MapType |
Statistics
Statistics associated with the game for this summoner.
Declaration
public RawStat Statistics { get; set; }
Property Value
Type | Description |
---|---|
RawStat |
SummonerSpell1
ID of first summoner spell.
Declaration
public int SummonerSpell1 { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SummonerSpell2
ID of second summoner spell.
Declaration
public int SummonerSpell2 { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TeamId
Team ID associated with game.
Blue = 100
Purple = 200
Declaration
public int TeamId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |