Rune class
A representation of an in-game rune.
Signature:
export declare class Rune
Constructor
new Rune (client: Client, data: RuneData)
Constructs a new instance of the Rune
class.
Parameters:
Parameter | Type | Description |
---|---|---|
client | Client | The client that requested this data. |
data | RuneData | The raw rune data from data dragon. |
Properties
description
The description (short version) of this rune provided by Data Dragon. This does not contain the HTML-like tags to help view this better on console or other output media.
See rawDescription to view the description with the HTML-like tags included.
Type: String
details
The details (long version) about this rune provided by Data Dragon. This does not contain the HTML-like tags to help view this better on console or other output media.
See rawDetails to view the details with all the HTML-like tags included.
Type: String
icon
A link to the rune's icon.
Type: String
id
The numerical unique ID of this rune.
Type: Number
key
The worded key for this rune.
Type: String
name
The name of this rune.
Type: String
rawDescription
The raw description (short version) provided by Data Dragon. This contains some HTML-like tags that help to display it on webpages.
See description to view the description with all the HTML-like tags stripped out.
Type: String
rawDetails
The details (long version) about this rune provided by Data Dragon. This contains some HTML-like tags that help to display it on webpages.
See details to view the details with all the HTML-like tags stripped out.
Type: String