CurrentGameTeam class
A representation of a team in a live game.
Signature:
export declare class CurrentGameTeam
Constructor
new CurrentGameTeam (client: Client, bans: CurrentGameBanData[], participants: CurrentGameParticipantData[], champions: Collection<string, Champion>, runeTrees: Collection<string, RuneTree>, summonerSpells: Collection<string, SummonerSpell>)
Constructs a new instance of the CurrentGameTeam
class.
Parameters:
Parameter | Type | Description |
---|---|---|
client | Client | The client requesting the data. |
bans | CurrentGameBanData | The raw bans data for this team from the API. |
participants | CurrentGameParticipantData | The raw participants data for this team from the API. |
champions | Collection < String, Champion > | The champions involved in the game. |
runeTrees | Collection < String, RuneTree > | The collection of the runes in the game. |
summonerSpells | Collection < String, SummonerSpell > | The collection of the summoner spells in the game. |
Properties
bans
The champions banned by this team.
Type: CurrentGameChampionBan
id
The team's ID.
Type: Number
participants
The team's participants.
Type: CurrentGameParticipant
side
The team's side.
Type: 'red' | 'blue'
Table of Contents