Participant class


A representation of a participant in a match.

Signature:

export declare class Participant 

Constructor

new Participant (data: ParticipantData, champ: Champion, items: Collection<string, Item>, runeTrees: Collection<string, RuneTree>, summonerSpells: Collection<string, SummonerSpell>)

Constructs a new instance of the Participant class.

Parameters:

ParameterTypeDescription
dataParticipantDataThe raw participant data from the API.
champChampionThe champion played by the participant.
itemsCollection < String, Item >The items purchased by the participant.
runeTreesCollection < String, RuneTree >The rune trees in the game.
summonerSpellsCollection < String, SummonerSpell >The summoner spells in the game.

Properties

allInPings

The number of times this participant used the all in pings.

Type: Number


assistMePings

The number of times this participant used the assist me pings.

Type: Number


assists

The number of kills the participant assisted a teammate with.

Type: Number


baitPings

The number of times this participant used the bait pings.

Type: Number


baronKills

The number of times this participant killed the baron nashor.

Type: Number


basicPings

The number of times this participant used the basic pings.

Type: Number


bounty

The bounty on this participant's head.

Type: Bounty


challenges

The challenges progression data for this participant.

Type: { key: string: number; }


champion

The stats of the champion being played by this participant.

Type: ParticipantChampion


commandPings

The number of times this participant used command pings.

Type: Number


consumablesPurchased

The number of consumable items purchased by the participant.

Type: Number


creepScore

The creep score (CS) of the participant.

Type: Number


crowdControlScore

The CC score earned by the participant.

Type: Number


crowdControlTime

The amount of time (in seconds) the participant inflicted crowd control on the enemy team.

Type: Number


dangerPings

The number of times this participant used the retreat pings.

Type: Number


deaths

The number of deaths of the participant.

Type: Number


dragonKills

The number of dragons killed by the participant.

Type: Number


enemyMissingPings

The number of times this participant used the enemy missing pings.

Type: Number


enemyVisionPings

The number of times this participant used the enemy vision pings.

Type: Number


firstBloodAssist

Whether the participant assisted in the first kill of the game.

Type: Boolean


firstBloodKill

Whether the participant was the first to score a kill.

Type: Boolean


firstTowerAssist

Whether the participant assisted in taking down the first turret.

Type: Boolean


firstTowerKill

Whether the participant was the first to destroy a turret.

Type: Boolean


getBackPings

The number of times this participant used the caution pings.

Type: Number


goldEarned

The amount of gold earned by the participant.

Type: Number


goldSpent

The amount of gold spent by the participant.

Type: Number


healing

An overview of the healing done by the participant.

Type: ParticipantHealingStats


holdPings

The number of times this participant used the hold pings.

Type: Number


id

The participant ID.

Type: Number


inhibitors

The number of inhibitors killed/lost.

Type: ParticipantInhibitorStats


items

The items in the participant's inventory.

Type: Collection < Number, Item | Undefined >


itemsPurchased

The number of items purchased by the participant.

Type: Number


jungleCampsKilled

The number of jungle creeps killed by the participant.

Type: Number


killingSprees

The number of times the participant went on a killing spree.

Type: Number


kills

The number of kills scored by this participant.

Type: Number


largestCriticalStrike

The largest amount of damage dealt with a critical strike by the participant.

Type: Number


largestKillingSpree

The largest killing spree of the participant.

Type: Number


largestMultiKill

The largest multi-kill of the participant.

Type: Number


longestTimeSpentLiving

The longest time the participant was alive on the rift (in seconds).

Type: Number


magicDamage

An overview of the magic damage dealt/taken by the participant.

Type: ParticipantDamageStats


minionsKilled

The number of enemy minions killed by the participant.

Type: Number


multiKills

The number of multi-kills scored by this participant.

Type: ParticipantMultkills


needVisionPings

The number of times this participant used the need vision pings.

Type: Number


nexusKilled

Whether the participant killed the nexus.

Type: Boolean


nexusLost

Whether the participant's team lost their nexus.

Type: Boolean


nexusTakedown

Whether the participant helped to take down the enemy nexus.

Type: Boolean


objectivesStolen

The number of objectives such as dragon or barn nashor stolen by the participant.

Type: Number


objectivesStolenAssists

The number of objectives such as dragon or baron nashor the participant helped to steal.

Type: Number


onMyWayPings

The number of times this participant used the on my way pings.

Type: Number


perks

The perks (runes) selected by the participant.

Type: Perks


physicalDamage

An overview of the physical damage dealt/taken by the participant.

Type: ParticipantDamageStats


position

The participant's position in the team.

Type: ParticipantPosition


pushPings

The number of times this participant used the push pings.

Type: Number


remake

Whether the game ended in early surrender - a remake.

Type: Boolean


summoner

The summoner acting as the participant.

Type: PartialSummoner


summonerSpells

The summoner spells the participant chose for the match.

Type: Collection < 'D' | 'F', SummonerSpell >


summonerSpellsCasts

The number of times each of the summoner spells was used.

Type: Collection < 'D' | 'F', Number >


surrender

Whether one of the teams surrendered before the match ended.

Type: Boolean


timeAlive

The amount of time (in seconds) the participant stayed alive.

Type: Number


timeDead

The amount of time (in seconds) that the participant stayed dead.

Type: Number


timePlayed

The amount of time (in seconds) the participant spent playing the game.

If this is lower than the game duration, the participant was AFK for that duration.

Type: Number


totalAllyJungleMinionsKilled

The amount of jungle minions killed in the ally jungle.

Type: Number


totalDamage

An overview of the damage dealt/taken/shielded by the participant.

Type: ParticipantTotalDamage


totalEnemyJungleMinionsKilled

The amount of jungle minions killed in the enemy jungle.

Type: Number


trueDamage

An overview of the true damage dealt/taken by the participant.

Type: ParticipantDamageStats


turrets

The number of turrets destroyed/lost.

Type: ParticipantTurretStats


vision

The vision control stats of the participant.

Type: ParticipantVision


visionClearedPings

The number of times this participant used the vision cleared pings.

Type: Number


win

Whether the participant won the game.

Type: Boolean


Table of Contents