CurrentGamePerks class


A representation of the rune setup of a live game participant.

Signature:

export declare class CurrentGamePerks 

Constructor

new CurrentGamePerks (runeTrees: Collection<string, RuneTree>, data: CurrentGamePerksData)

Constructs a new instance of the CurrentGamePerks class.

Parameters:

ParameterTypeDescription
runeTreesCollection < String, RuneTree >The collection of the runes in the game.
dataCurrentGamePerksDataThe raw current game participant perks data from the API.

Properties

primaryTree

The primary rune tree selected by the participant.

Type: RuneTree


secondaryTree

The secondary rune tree selected by the participant.

Type: RuneTree


selected

The runes selected by the participant.

Type: Rune


stats

The stat runes selected by the participant.

Type: StatPerk


Table of Contents