Perks class
A representation of the perks (runes) selected by a summoner for a match.
Signature:
export declare class Perks
Constructor
new Perks (runeTrees: Collection<string, RuneTree>, data: PerksData)
Constructs a new instance of the Perks
class.
Parameters:
Parameter | Type | Description |
---|---|---|
runeTrees | Collection < String, RuneTree > | The collection of rune trees in the game. |
data | PerksData | The raw perks data from the API. |
Properties
primaryStyle
The primary perk style (keystone + primary runes).
Type: PerkStyle
secondaryStyle
The secondary perk style (secondary runes).
Type: PerkStyle
stats
The stat runes that were picked by the player.
Type: StatPerks
Table of Contents