Team class
A representation of a team in a match.
Signature:
export declare class Team Constructor
new Team (data: TeamData, participants: ParticipantData[], champions: Collection<string, Champion>, items: Collection<string, Item>, runeTrees: Collection<string, RuneTree>, summonerSpells: Collection<string, SummonerSpell>)Constructs a new instance of the Team class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| data | TeamData | |
| participants | ParticipantData | |
| champions | Collection < String, Champion > | |
| items | Collection < String, Item > | |
| runeTrees | Collection < String, RuneTree > | |
| summonerSpells | Collection < String, SummonerSpell > |
Properties
bans
The champions banned by the team.
Type: ChampionBan
id
The ID of the team.
Type: Number
objectives
The objectives secured by the team.
Type: TeamObjectivesData
participants
The participants in the team.
Type: Participant
win
Whether the team won the match.
Type: Boolean
Table of Contents
