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:

ParameterTypeDescription
clientClientThe client requesting the data.
bansCurrentGameBanDataThe raw bans data for this team from the API.
participantsCurrentGameParticipantDataThe raw participants data for this team from the API.
championsCollection < String, Champion >The champions involved in the game.
runeTreesCollection < String, RuneTree >The collection of the runes in the game.
summonerSpellsCollection < 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