lol-constants 2.4.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +15 -0
- package/assets/scripts/constants/RuneIdComment.d.ts +1 -1
- package/assets/scripts/constants/RuneIdComment.js +14 -6
- package/assets/scripts/generate-all.d.ts +3 -3
- package/assets/scripts/generate-all.js +3 -3
- package/assets/scripts/generate-non-stat-rune-ids-num.d.ts +1 -0
- package/assets/scripts/generate-non-stat-rune-ids-num.js +23 -0
- package/assets/scripts/generate-non-stat-rune-ids.d.ts +1 -0
- package/assets/scripts/generate-non-stat-rune-ids.js +24 -0
- package/assets/scripts/generate-non-stat-rune-names.d.ts +1 -0
- package/assets/scripts/generate-non-stat-rune-names.js +22 -0
- package/assets/scripts/generate-rune-sets-by-rune-names-num.js +16 -11
- package/assets/scripts/generate-rune-sets-by-rune-names.js +11 -11
- package/assets/scripts/generate-rune-sets.js +11 -11
- package/core/constants/Continents.d.ts +8 -0
- package/core/constants/Continents.js +13 -0
- package/core/constants/DataDragonUrls.d.ts +13 -0
- package/core/constants/DataDragonUrls.js +15 -1
- package/core/constants/Locales.d.ts +29 -1
- package/core/constants/Locales.js +29 -1
- package/core/constants/MapIds.d.ts +17 -0
- package/core/constants/MapIds.js +22 -0
- package/core/constants/ParticipantIds.d.ts +14 -0
- package/core/constants/ParticipantIds.js +19 -0
- package/core/constants/PlatformApiUris.d.ts +20 -0
- package/core/constants/PlatformApiUris.js +25 -0
- package/core/constants/PlatformIds.d.ts +8 -0
- package/core/constants/PlatformIds.js +11 -1
- package/core/constants/QueueDescriptions.d.ts +21 -0
- package/core/constants/QueueDescriptions.js +26 -0
- package/core/constants/QueueIds.d.ts +56 -0
- package/core/constants/QueueIds.js +61 -0
- package/core/constants/RegionalApiUris.d.ts +8 -0
- package/core/constants/RegionalApiUris.js +13 -0
- package/core/constants/Regions.d.ts +8 -0
- package/core/constants/Regions.js +11 -8
- package/core/constants/Runes/NonStatRuneIds.d.ts +88 -0
- package/core/constants/Runes/NonStatRuneIds.js +4 -0
- package/core/constants/Runes/NonStatRuneIdsNum.d.ts +66 -0
- package/core/constants/Runes/NonStatRuneIdsNum.js +4 -0
- package/core/constants/Runes/NonStatRuneNames.d.ts +66 -0
- package/core/constants/Runes/NonStatRuneNames.js +4 -0
- package/core/constants/Runes/RuneSets.d.ts +2 -2
- package/core/constants/Runes/RuneSets.js +3 -3
- package/core/constants/Runes/RuneSetsByRuneNames.d.ts +30 -14
- package/core/constants/Runes/RuneSetsByRuneNames.js +3 -3
- package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +48 -2
- package/core/constants/Runes/RuneSetsByRuneNamesNum.js +3 -3
- package/core/constants/Runes/TreeRuneIds.d.ts +5 -5
- package/core/constants/SkillSlots.d.ts +1 -1
- package/core/constants/SkillSlots.js +1 -1
- package/core/constants/TeamIds.d.ts +6 -0
- package/core/constants/TeamIds.js +11 -0
- package/core/helpers/Champions/isChampionKeyNum.d.ts +2 -0
- package/core/helpers/Champions/isChampionKeyNum.js +8 -0
- package/core/helpers/Items/isItemKeyNum.d.ts +2 -0
- package/core/helpers/Items/isItemKeyNum.js +8 -0
- package/core/helpers/Runes/getNonStatRuneIdByName.d.ts +3 -0
- package/core/helpers/Runes/getNonStatRuneIdByName.js +8 -0
- package/core/helpers/Runes/getNonStatRuneNameById.d.ts +3 -0
- package/core/helpers/Runes/getNonStatRuneNameById.js +8 -0
- package/core/helpers/Runes/isDominationRuneId.d.ts +2 -0
- package/core/helpers/Runes/isDominationRuneId.js +8 -0
- package/core/helpers/Runes/isDominationRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isDominationRuneIdNum.js +8 -0
- package/core/helpers/Runes/isDominationRuneName.d.ts +2 -0
- package/core/helpers/Runes/isDominationRuneName.js +8 -0
- package/core/helpers/Runes/isInspirationRuneId.d.ts +2 -0
- package/core/helpers/Runes/isInspirationRuneId.js +8 -0
- package/core/helpers/Runes/isInspirationRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isInspirationRuneIdNum.js +8 -0
- package/core/helpers/Runes/isInspirationRuneName.d.ts +2 -0
- package/core/helpers/Runes/isInspirationRuneName.js +8 -0
- package/core/helpers/Runes/isKeystoneRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isKeystoneRuneIdNum.js +8 -0
- package/core/helpers/Runes/isKeystoneRuneName.d.ts +2 -0
- package/core/helpers/Runes/isKeystoneRuneName.js +8 -0
- package/core/helpers/Runes/isNonStatRuneId.d.ts +2 -0
- package/core/helpers/Runes/isNonStatRuneId.js +8 -0
- package/core/helpers/Runes/isNonStatRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isNonStatRuneIdNum.js +8 -0
- package/core/helpers/Runes/isNonStatRuneName.d.ts +2 -0
- package/core/helpers/Runes/isNonStatRuneName.js +8 -0
- package/core/helpers/Runes/isPrecisionRuneId.d.ts +2 -0
- package/core/helpers/Runes/isPrecisionRuneId.js +8 -0
- package/core/helpers/Runes/isPrecisionRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isPrecisionRuneIdNum.js +8 -0
- package/core/helpers/Runes/isPrecisionRuneName.d.ts +2 -0
- package/core/helpers/Runes/isPrecisionRuneName.js +8 -0
- package/core/helpers/Runes/isResolveRuneId.d.ts +2 -0
- package/core/helpers/Runes/isResolveRuneId.js +8 -0
- package/core/helpers/Runes/isResolveRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isResolveRuneIdNum.js +8 -0
- package/core/helpers/Runes/isResolveRuneName.d.ts +2 -0
- package/core/helpers/Runes/isResolveRuneName.js +8 -0
- package/core/helpers/Runes/isRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isRuneIdNum.js +8 -0
- package/core/helpers/Runes/isSorceryRuneId.d.ts +2 -0
- package/core/helpers/Runes/isSorceryRuneId.js +8 -0
- package/core/helpers/Runes/isSorceryRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isSorceryRuneIdNum.js +8 -0
- package/core/helpers/Runes/isSorceryRuneName.d.ts +2 -0
- package/core/helpers/Runes/isSorceryRuneName.js +8 -0
- package/core/helpers/Runes/isStatRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isStatRuneIdNum.js +8 -0
- package/core/helpers/Spells/isSpellKeyNum.d.ts +2 -0
- package/core/helpers/Spells/isSpellKeyNum.js +8 -0
- package/core/index.d.ts +35 -12
- package/core/index.js +35 -12
- package/core/types/types.d.ts +199 -82
- package/package.json +1 -1
@@ -1,14 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RuneSets = exports.StatRuneHSets = exports.
|
3
|
+
exports.RuneSets = exports.StatRuneHSets = exports.RuneHSets = exports.RuneNames = exports.StatRuneNames = exports.KeystoneNames = exports.SecondaryRuneTrees = exports.PrimaryRuneTrees = void 0;
|
4
4
|
exports.PrimaryRuneTrees = { "Domination": { "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8112": "Electrocute", "8120": "Ghost Poro", "8124": "Predator", "8126": "Cheap Shot", "8128": "Dark Harvest", "8134": "Ingenious Hunter", "8135": "Treasure Hunter", "8136": "Zombie Ward", "8138": "Eyeball Collection", "8139": "Taste of Blood", "8143": "Sudden Impact", "9923": "Hail of Blades" }, "Inspiration": { "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Perfect Timing", "8316": "Minion Dematerializer", "8321": "Future's Market", "8345": "Biscuit Delivery", "8347": "Cosmic Insight", "8351": "Glacial Augment", "8352": "Time Warp Tonic", "8360": "Unsealed Spellbook", "8369": "First Strike", "8410": "Approach Velocity" }, "Precision": { "8005": "Press the Attack", "8008": "Lethal Tempo", "8009": "Presence of Mind", "8010": "Conqueror", "8014": "Coup de Grace", "8017": "Cut Down", "8021": "Fleet Footwork", "8299": "Last Stand", "9101": "Overheal", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Tenacity", "9111": "Triumph" }, "Resolve": { "8242": "Unflinching", "8401": "Shield Bash", "8429": "Conditioning", "8437": "Grasp of the Undying", "8439": "Aftershock", "8444": "Second Wind", "8446": "Demolish", "8451": "Overgrowth", "8453": "Revitalize", "8463": "Font of Life", "8465": "Guardian", "8473": "Bone Plating" }, "Sorcery": { "8210": "Transcendence", "8214": "Summon Aery", "8224": "Nullifying Orb", "8226": "Manaflow Band", "8229": "Arcane Comet", "8230": "Phase Rush", "8232": "Waterwalking", "8233": "Absolute Focus", "8234": "Celerity", "8236": "Gathering Storm", "8237": "Scorch", "8275": "Nimbus Cloak" } };
|
5
5
|
exports.SecondaryRuneTrees = { "Domination": { "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8120": "Ghost Poro", "8126": "Cheap Shot", "8134": "Ingenious Hunter", "8135": "Treasure Hunter", "8136": "Zombie Ward", "8138": "Eyeball Collection", "8139": "Taste of Blood", "8143": "Sudden Impact" }, "Inspiration": { "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Perfect Timing", "8316": "Minion Dematerializer", "8321": "Future's Market", "8345": "Biscuit Delivery", "8347": "Cosmic Insight", "8352": "Time Warp Tonic", "8410": "Approach Velocity" }, "Precision": { "8009": "Presence of Mind", "8014": "Coup de Grace", "8017": "Cut Down", "8299": "Last Stand", "9101": "Overheal", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Tenacity", "9111": "Triumph" }, "Resolve": { "8242": "Unflinching", "8401": "Shield Bash", "8429": "Conditioning", "8444": "Second Wind", "8446": "Demolish", "8451": "Overgrowth", "8453": "Revitalize", "8463": "Font of Life", "8473": "Bone Plating" }, "Sorcery": { "8210": "Transcendence", "8224": "Nullifying Orb", "8226": "Manaflow Band", "8232": "Waterwalking", "8233": "Absolute Focus", "8234": "Celerity", "8236": "Gathering Storm", "8237": "Scorch", "8275": "Nimbus Cloak" } };
|
6
6
|
exports.KeystoneNames = { "8005": "Press the Attack", "8008": "Lethal Tempo", "8010": "Conqueror", "8021": "Fleet Footwork", "8112": "Electrocute", "8124": "Predator", "8128": "Dark Harvest", "8214": "Summon Aery", "8229": "Arcane Comet", "8230": "Phase Rush", "8351": "Glacial Augment", "8360": "Unsealed Spellbook", "8369": "First Strike", "8437": "Grasp of the Undying", "8439": "Aftershock", "8465": "Guardian", "9923": "Hail of Blades" };
|
7
7
|
exports.StatRuneNames = { "5001": "Defense (HP)", "5002": "Defense (AR)", "5003": "Defense (MR)", "5005": "Offense (AS)", "5007": "Offense (AH)", "5008": "Offense (AF)", "5002f": "Flex (AR)", "5003f": "Flex (MR)", "5008f": "Flex (AF)" };
|
8
8
|
exports.RuneNames = { ...exports.PrimaryRuneTrees.Precision, ...exports.PrimaryRuneTrees.Domination, ...exports.PrimaryRuneTrees.Sorcery, ...exports.PrimaryRuneTrees.Resolve, ...exports.PrimaryRuneTrees.Inspiration, ...exports.StatRuneNames };
|
9
|
-
exports.
|
9
|
+
exports.RuneHSets = { "Domination": { "0": { "8112": "Electrocute", "8124": "Predator", "8128": "Dark Harvest", "9923": "Hail of Blades" }, "1": { "8126": "Cheap Shot", "8139": "Taste of Blood", "8143": "Sudden Impact" }, "2": { "8120": "Ghost Poro", "8136": "Zombie Ward", "8138": "Eyeball Collection" }, "3": { "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8134": "Ingenious Hunter", "8135": "Treasure Hunter" } }, "Inspiration": { "0": { "8351": "Glacial Augment", "8360": "Unsealed Spellbook", "8369": "First Strike" }, "1": { "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Perfect Timing" }, "2": { "8316": "Minion Dematerializer", "8321": "Future's Market", "8345": "Biscuit Delivery" }, "3": { "8347": "Cosmic Insight", "8352": "Time Warp Tonic", "8410": "Approach Velocity" } }, "Precision": { "0": { "8005": "Press the Attack", "8008": "Lethal Tempo", "8010": "Conqueror", "8021": "Fleet Footwork" }, "1": { "8009": "Presence of Mind", "9101": "Overheal", "9111": "Triumph" }, "2": { "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Tenacity" }, "3": { "8014": "Coup de Grace", "8017": "Cut Down", "8299": "Last Stand" } }, "Resolve": { "0": { "8437": "Grasp of the Undying", "8439": "Aftershock", "8465": "Guardian" }, "1": { "8401": "Shield Bash", "8446": "Demolish", "8463": "Font of Life" }, "2": { "8429": "Conditioning", "8444": "Second Wind", "8473": "Bone Plating" }, "3": { "8242": "Unflinching", "8451": "Overgrowth", "8453": "Revitalize" } }, "Sorcery": { "0": { "8214": "Summon Aery", "8229": "Arcane Comet", "8230": "Phase Rush" }, "1": { "8224": "Nullifying Orb", "8226": "Manaflow Band", "8275": "Nimbus Cloak" }, "2": { "8210": "Transcendence", "8233": "Absolute Focus", "8234": "Celerity" }, "3": { "8232": "Waterwalking", "8236": "Gathering Storm", "8237": "Scorch" } } };
|
10
10
|
exports.StatRuneHSets = { "0": { "5005": "Offense (AS)", "5007": "Offense (AH)", "5008": "Offense (AF)" }, "1": { "5002f": "Flex (AR)", "5003f": "Flex (MR)", "5008f": "Flex (AF)" }, "2": { "5001": "Defense (HP)", "5002": "Defense (AR)", "5003": "Defense (MR)" } };
|
11
11
|
/**
|
12
12
|
* Contains all Rune IDs that are known to man in the game of League of Legends. Sorted by various useful categories. There are a total of 72 runes in the game.
|
13
13
|
*/
|
14
|
-
exports.RuneSets = { PrimaryRuneTrees: exports.PrimaryRuneTrees, SecondaryRuneTrees: exports.SecondaryRuneTrees, KeystoneNames: exports.KeystoneNames, StatRuneNames: exports.StatRuneNames, RuneNames: exports.RuneNames,
|
14
|
+
exports.RuneSets = { PrimaryRuneTrees: exports.PrimaryRuneTrees, SecondaryRuneTrees: exports.SecondaryRuneTrees, KeystoneNames: exports.KeystoneNames, StatRuneNames: exports.StatRuneNames, RuneNames: exports.RuneNames, RuneHSets: exports.RuneHSets, StatRuneHSets: exports.StatRuneHSets };
|
@@ -164,16 +164,24 @@ export declare const StatRuneIds: {
|
|
164
164
|
/**
|
165
165
|
* There are 3 main Rune ID types:
|
166
166
|
* - `RuneId` (all),
|
167
|
-
* - `
|
167
|
+
* - `NonStatRuneId` (all but stat runes),
|
168
168
|
* - `StatRuneId` (only stat runes).
|
169
169
|
*
|
170
170
|
* There are 6 more specific Rune ID types as well:
|
171
171
|
* - `KeystoneRuneId`,
|
172
|
-
* - `
|
173
|
-
* - `
|
174
|
-
* - `
|
175
|
-
* - `
|
176
|
-
* - `
|
172
|
+
* - `PrecisionRuneId`,
|
173
|
+
* - `DominationRuneId`,
|
174
|
+
* - `SorceryRuneId`,
|
175
|
+
* - `ResolveRuneId`,
|
176
|
+
* - `InspirationRuneId`.
|
177
|
+
*
|
178
|
+
* There are 6 numerical Rune ID types:
|
179
|
+
* - `KeystoneRuneIdNum`,
|
180
|
+
* - `PrecisionRuneIdNum`,
|
181
|
+
* - `DominationRuneIdNum`,
|
182
|
+
* - `SorceryRuneIdNum`,
|
183
|
+
* - `ResolveRuneIdNum`,
|
184
|
+
* - `InspirationRuneIdNum`.
|
177
185
|
*/
|
178
186
|
export type StatRuneId = typeof StatRuneIds[keyof typeof StatRuneIds];
|
179
187
|
export declare const RuneIds: {
|
@@ -253,19 +261,27 @@ export declare const RuneIds: {
|
|
253
261
|
/**
|
254
262
|
* There are 3 main Rune ID types:
|
255
263
|
* - `RuneId` (all),
|
256
|
-
* - `
|
264
|
+
* - `NonStatRuneId` (all but stat runes),
|
257
265
|
* - `StatRuneId` (only stat runes).
|
258
266
|
*
|
259
267
|
* There are 6 more specific Rune ID types as well:
|
260
268
|
* - `KeystoneRuneId`,
|
261
|
-
* - `
|
262
|
-
* - `
|
263
|
-
* - `
|
264
|
-
* - `
|
265
|
-
* - `
|
269
|
+
* - `PrecisionRuneId`,
|
270
|
+
* - `DominationRuneId`,
|
271
|
+
* - `SorceryRuneId`,
|
272
|
+
* - `ResolveRuneId`,
|
273
|
+
* - `InspirationRuneId`.
|
274
|
+
*
|
275
|
+
* There are 6 numerical Rune ID types:
|
276
|
+
* - `KeystoneRuneIdNum`,
|
277
|
+
* - `PrecisionRuneIdNum`,
|
278
|
+
* - `DominationRuneIdNum`,
|
279
|
+
* - `SorceryRuneIdNum`,
|
280
|
+
* - `ResolveRuneIdNum`,
|
281
|
+
* - `InspirationRuneIdNum`.
|
266
282
|
*/
|
267
283
|
export type RuneId = typeof RuneIds[keyof typeof RuneIds];
|
268
|
-
export declare const
|
284
|
+
export declare const RuneHSetsByRuneNames: {
|
269
285
|
readonly Domination: {
|
270
286
|
readonly "0": {
|
271
287
|
readonly Electrocute: "8112";
|
@@ -638,7 +654,7 @@ export declare const RuneSetsByRuneNames: {
|
|
638
654
|
readonly "Cut Down": "8017";
|
639
655
|
readonly "Last Stand": "8299";
|
640
656
|
};
|
641
|
-
readonly
|
657
|
+
readonly RuneHSetsByRuneNames: {
|
642
658
|
readonly Domination: {
|
643
659
|
readonly "0": {
|
644
660
|
readonly Electrocute: "8112";
|
@@ -1,14 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RuneSetsByRuneNames = exports.StatRuneHSetsByRuneNames = exports.
|
3
|
+
exports.RuneSetsByRuneNames = exports.StatRuneHSetsByRuneNames = exports.RuneHSetsByRuneNames = exports.RuneIds = exports.StatRuneIds = exports.KeystoneIds = exports.SecondaryRuneTreesByRuneNames = exports.PrimaryRuneTreesByRuneNames = void 0;
|
4
4
|
exports.PrimaryRuneTreesByRuneNames = { "Domination": { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" }, "Inspiration": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" }, "Precision": { "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" }, "Resolve": { "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" }, "Sorcery": { "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230", "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } };
|
5
5
|
exports.SecondaryRuneTreesByRuneNames = { "Domination": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" }, "Inspiration": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" }, "Precision": { "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" }, "Resolve": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" }, "Sorcery": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } };
|
6
6
|
exports.KeystoneIds = { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" };
|
7
7
|
exports.StatRuneIds = { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008", "Flex (AR)": "5002f", "Flex (MR)": "5003f", "Flex (AF)": "5008f", "Defense (HP)": "5001", "Defense (AR)": "5002", "Defense (MR)": "5003" };
|
8
8
|
exports.RuneIds = { ...exports.PrimaryRuneTreesByRuneNames.Precision, ...exports.PrimaryRuneTreesByRuneNames.Domination, ...exports.PrimaryRuneTreesByRuneNames.Sorcery, ...exports.PrimaryRuneTreesByRuneNames.Resolve, ...exports.PrimaryRuneTreesByRuneNames.Inspiration, ...exports.StatRuneIds };
|
9
|
-
exports.
|
9
|
+
exports.RuneHSetsByRuneNames = { "Domination": { "0": { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923" }, "1": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143" }, "2": { "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138" }, "3": { "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" } }, "Inspiration": { "0": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369" }, "1": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313" }, "2": { "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345" }, "3": { "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" } }, "Precision": { "0": { "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010" }, "1": { "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009" }, "2": { "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103" }, "3": { "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" } }, "Resolve": { "0": { "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465" }, "1": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401" }, "2": { "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473" }, "3": { "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" } }, "Sorcery": { "0": { "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" }, "1": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275" }, "2": { "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233" }, "3": { "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } } };
|
10
10
|
exports.StatRuneHSetsByRuneNames = { "0": { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008" }, "1": { "Flex (AR)": "5002f", "Flex (MR)": "5003f", "Flex (AF)": "5008f" }, "2": { "Defense (HP)": "5001", "Defense (AR)": "5002", "Defense (MR)": "5003" } };
|
11
11
|
/**
|
12
12
|
* Contains all Rune IDs that are known to man in the game of League of Legends. Sorted by various useful categories. There are a total of 72 runes in the game.
|
13
13
|
*/
|
14
|
-
exports.RuneSetsByRuneNames = { PrimaryRuneTreesByRuneNames: exports.PrimaryRuneTreesByRuneNames, SecondaryRuneTreesByRuneNames: exports.SecondaryRuneTreesByRuneNames, KeystoneIds: exports.KeystoneIds, StatRuneIds: exports.StatRuneIds, RuneIds: exports.RuneIds,
|
14
|
+
exports.RuneSetsByRuneNames = { PrimaryRuneTreesByRuneNames: exports.PrimaryRuneTreesByRuneNames, SecondaryRuneTreesByRuneNames: exports.SecondaryRuneTreesByRuneNames, KeystoneIds: exports.KeystoneIds, StatRuneIds: exports.StatRuneIds, RuneIds: exports.RuneIds, RuneHSetsByRuneNames: exports.RuneHSetsByRuneNames, StatRuneHSetsByRuneNames: exports.StatRuneHSetsByRuneNames };
|
@@ -161,6 +161,29 @@ export declare const StatRuneIdsNum: {
|
|
161
161
|
readonly "Defense (AR)": 5002;
|
162
162
|
readonly "Defense (MR)": 5003;
|
163
163
|
};
|
164
|
+
/**
|
165
|
+
* There are 3 main Rune ID types:
|
166
|
+
* - `RuneId` (all),
|
167
|
+
* - `NonStatRuneId` (all but stat runes),
|
168
|
+
* - `StatRuneId` (only stat runes).
|
169
|
+
*
|
170
|
+
* There are 6 more specific Rune ID types as well:
|
171
|
+
* - `KeystoneRuneId`,
|
172
|
+
* - `PrecisionRuneId`,
|
173
|
+
* - `DominationRuneId`,
|
174
|
+
* - `SorceryRuneId`,
|
175
|
+
* - `ResolveRuneId`,
|
176
|
+
* - `InspirationRuneId`.
|
177
|
+
*
|
178
|
+
* There are 6 numerical Rune ID types:
|
179
|
+
* - `KeystoneRuneIdNum`,
|
180
|
+
* - `PrecisionRuneIdNum`,
|
181
|
+
* - `DominationRuneIdNum`,
|
182
|
+
* - `SorceryRuneIdNum`,
|
183
|
+
* - `ResolveRuneIdNum`,
|
184
|
+
* - `InspirationRuneIdNum`.
|
185
|
+
*/
|
186
|
+
export type StatRuneIdNum = typeof StatRuneIdsNum[keyof typeof StatRuneIdsNum];
|
164
187
|
export declare const RuneIdsNum: {
|
165
188
|
readonly "Offense (AS)": 5005;
|
166
189
|
readonly "Offense (AH)": 5007;
|
@@ -235,7 +258,30 @@ export declare const RuneIdsNum: {
|
|
235
258
|
readonly "Cut Down": 8017;
|
236
259
|
readonly "Last Stand": 8299;
|
237
260
|
};
|
238
|
-
|
261
|
+
/**
|
262
|
+
* There are 3 main Rune ID types:
|
263
|
+
* - `RuneId` (all),
|
264
|
+
* - `NonStatRuneId` (all but stat runes),
|
265
|
+
* - `StatRuneId` (only stat runes).
|
266
|
+
*
|
267
|
+
* There are 6 more specific Rune ID types as well:
|
268
|
+
* - `KeystoneRuneId`,
|
269
|
+
* - `PrecisionRuneId`,
|
270
|
+
* - `DominationRuneId`,
|
271
|
+
* - `SorceryRuneId`,
|
272
|
+
* - `ResolveRuneId`,
|
273
|
+
* - `InspirationRuneId`.
|
274
|
+
*
|
275
|
+
* There are 6 numerical Rune ID types:
|
276
|
+
* - `KeystoneRuneIdNum`,
|
277
|
+
* - `PrecisionRuneIdNum`,
|
278
|
+
* - `DominationRuneIdNum`,
|
279
|
+
* - `SorceryRuneIdNum`,
|
280
|
+
* - `ResolveRuneIdNum`,
|
281
|
+
* - `InspirationRuneIdNum`.
|
282
|
+
*/
|
283
|
+
export type RuneIdNum = typeof RuneIdsNum[keyof typeof RuneIdsNum];
|
284
|
+
export declare const RuneHSetsByRuneNamesNum: {
|
239
285
|
readonly Domination: {
|
240
286
|
readonly "0": {
|
241
287
|
readonly Electrocute: 8112;
|
@@ -608,7 +654,7 @@ export declare const RuneSetsByRuneNamesNum: {
|
|
608
654
|
readonly "Cut Down": 8017;
|
609
655
|
readonly "Last Stand": 8299;
|
610
656
|
};
|
611
|
-
readonly
|
657
|
+
readonly RuneHSetsByRuneNamesNum: {
|
612
658
|
readonly Domination: {
|
613
659
|
readonly "0": {
|
614
660
|
readonly Electrocute: 8112;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RuneSetsByRuneNamesNum = exports.StatRuneHSetsByRuneNamesNum = exports.
|
3
|
+
exports.RuneSetsByRuneNamesNum = exports.StatRuneHSetsByRuneNamesNum = exports.RuneHSetsByRuneNamesNum = exports.RuneIdsNum = exports.StatRuneIdsNum = exports.KeystoneIdsNum = exports.SecondaryRuneTreesByRuneNamesNum = exports.PrimaryRuneTreesByRuneNamesNum = void 0;
|
4
4
|
exports.PrimaryRuneTreesByRuneNamesNum = { "Domination": { "Electrocute": 8112, "Predator": 8124, "Dark Harvest": 8128, "Hail of Blades": 9923, "Cheap Shot": 8126, "Taste of Blood": 8139, "Sudden Impact": 8143, "Zombie Ward": 8136, "Ghost Poro": 8120, "Eyeball Collection": 8138, "Treasure Hunter": 8135, "Ingenious Hunter": 8134, "Relentless Hunter": 8105, "Ultimate Hunter": 8106 }, "Inspiration": { "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369, "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Perfect Timing": 8313, "Future's Market": 8321, "Minion Dematerializer": 8316, "Biscuit Delivery": 8345, "Cosmic Insight": 8347, "Approach Velocity": 8410, "Time Warp Tonic": 8352 }, "Precision": { "Press the Attack": 8005, "Lethal Tempo": 8008, "Fleet Footwork": 8021, "Conqueror": 8010, "Overheal": 9101, "Triumph": 9111, "Presence of Mind": 8009, "Legend: Alacrity": 9104, "Legend: Tenacity": 9105, "Legend: Bloodline": 9103, "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299 }, "Resolve": { "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465, "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401, "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473, "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242 }, "Sorcery": { "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230, "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275, "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233, "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 } };
|
5
5
|
exports.SecondaryRuneTreesByRuneNamesNum = { "Domination": { "Cheap Shot": 8126, "Taste of Blood": 8139, "Sudden Impact": 8143, "Zombie Ward": 8136, "Ghost Poro": 8120, "Eyeball Collection": 8138, "Treasure Hunter": 8135, "Ingenious Hunter": 8134, "Relentless Hunter": 8105, "Ultimate Hunter": 8106 }, "Inspiration": { "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Perfect Timing": 8313, "Future's Market": 8321, "Minion Dematerializer": 8316, "Biscuit Delivery": 8345, "Cosmic Insight": 8347, "Approach Velocity": 8410, "Time Warp Tonic": 8352 }, "Precision": { "Overheal": 9101, "Triumph": 9111, "Presence of Mind": 8009, "Legend: Alacrity": 9104, "Legend: Tenacity": 9105, "Legend: Bloodline": 9103, "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299 }, "Resolve": { "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401, "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473, "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242 }, "Sorcery": { "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275, "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233, "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 } };
|
6
6
|
exports.KeystoneIdsNum = { "Electrocute": 8112, "Predator": 8124, "Dark Harvest": 8128, "Hail of Blades": 9923, "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369, "Press the Attack": 8005, "Lethal Tempo": 8008, "Fleet Footwork": 8021, "Conqueror": 8010, "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465, "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230 };
|
7
7
|
exports.StatRuneIdsNum = { "Offense (AS)": 5005, "Offense (AH)": 5007, "Offense (AF)": 5008, "Flex (AR)": 5002, "Flex (MR)": 5003, "Flex (AF)": 5008, "Defense (HP)": 5001, "Defense (AR)": 5002, "Defense (MR)": 5003 };
|
8
8
|
exports.RuneIdsNum = { ...exports.PrimaryRuneTreesByRuneNamesNum.Precision, ...exports.PrimaryRuneTreesByRuneNamesNum.Domination, ...exports.PrimaryRuneTreesByRuneNamesNum.Sorcery, ...exports.PrimaryRuneTreesByRuneNamesNum.Resolve, ...exports.PrimaryRuneTreesByRuneNamesNum.Inspiration, ...exports.StatRuneIdsNum };
|
9
|
-
exports.
|
9
|
+
exports.RuneHSetsByRuneNamesNum = { "Domination": { "0": { "Electrocute": 8112, "Predator": 8124, "Dark Harvest": 8128, "Hail of Blades": 9923 }, "1": { "Cheap Shot": 8126, "Taste of Blood": 8139, "Sudden Impact": 8143 }, "2": { "Zombie Ward": 8136, "Ghost Poro": 8120, "Eyeball Collection": 8138 }, "3": { "Treasure Hunter": 8135, "Ingenious Hunter": 8134, "Relentless Hunter": 8105, "Ultimate Hunter": 8106 } }, "Inspiration": { "0": { "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369 }, "1": { "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Perfect Timing": 8313 }, "2": { "Future's Market": 8321, "Minion Dematerializer": 8316, "Biscuit Delivery": 8345 }, "3": { "Cosmic Insight": 8347, "Approach Velocity": 8410, "Time Warp Tonic": 8352 } }, "Precision": { "0": { "Press the Attack": 8005, "Lethal Tempo": 8008, "Fleet Footwork": 8021, "Conqueror": 8010 }, "1": { "Overheal": 9101, "Triumph": 9111, "Presence of Mind": 8009 }, "2": { "Legend: Alacrity": 9104, "Legend: Tenacity": 9105, "Legend: Bloodline": 9103 }, "3": { "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299 } }, "Resolve": { "0": { "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465 }, "1": { "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401 }, "2": { "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473 }, "3": { "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242 } }, "Sorcery": { "0": { "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230 }, "1": { "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275 }, "2": { "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233 }, "3": { "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 } } };
|
10
10
|
exports.StatRuneHSetsByRuneNamesNum = { "0": { "Offense (AS)": 5005, "Offense (AH)": 5007, "Offense (AF)": 5008 }, "1": { "Flex (AR)": 5002, "Flex (MR)": 5003, "Flex (AF)": 5008 }, "2": { "Defense (HP)": 5001, "Defense (AR)": 5002, "Defense (MR)": 5003 } };
|
11
11
|
/**
|
12
12
|
* Contains all Rune IDs that are known to man in the game of League of Legends. Sorted by various useful categories. There are a total of 72 runes in the game.
|
13
13
|
*/
|
14
|
-
exports.RuneSetsByRuneNamesNum = { PrimaryRuneTreesByRuneNamesNum: exports.PrimaryRuneTreesByRuneNamesNum, SecondaryRuneTreesByRuneNamesNum: exports.SecondaryRuneTreesByRuneNamesNum, KeystoneIdsNum: exports.KeystoneIdsNum, StatRuneIdsNum: exports.StatRuneIdsNum, RuneIdsNum: exports.RuneIdsNum,
|
14
|
+
exports.RuneSetsByRuneNamesNum = { PrimaryRuneTreesByRuneNamesNum: exports.PrimaryRuneTreesByRuneNamesNum, SecondaryRuneTreesByRuneNamesNum: exports.SecondaryRuneTreesByRuneNamesNum, KeystoneIdsNum: exports.KeystoneIdsNum, StatRuneIdsNum: exports.StatRuneIdsNum, RuneIdsNum: exports.RuneIdsNum, RuneHSetsByRuneNamesNum: exports.RuneHSetsByRuneNamesNum, StatRuneHSetsByRuneNamesNum: exports.StatRuneHSetsByRuneNamesNum };
|
@@ -71,10 +71,10 @@ export declare const TreeRuneIds: {
|
|
71
71
|
*
|
72
72
|
* There are 6 more specific Rune ID types as well:
|
73
73
|
* - `KeystoneRuneId`,
|
74
|
-
* - `
|
75
|
-
* - `
|
76
|
-
* - `
|
77
|
-
* - `
|
78
|
-
* - `
|
74
|
+
* - `PrecisionRuneId`,
|
75
|
+
* - `DominationRuneId`,
|
76
|
+
* - `SorceryRuneId`,
|
77
|
+
* - `ResolveRuneId`,
|
78
|
+
* - `InspirationRuneId`.
|
79
79
|
*/
|
80
80
|
export type TreeRuneId = typeof TreeRuneIds[keyof typeof TreeRuneIds];
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isTeamId = exports.TeamIds = void 0;
|
4
|
+
exports.TeamIds = {
|
5
|
+
100: 100,
|
6
|
+
200: 200,
|
7
|
+
};
|
8
|
+
function isTeamId(value) {
|
9
|
+
return value in exports.TeamIds;
|
10
|
+
}
|
11
|
+
exports.isTeamId = isTeamId;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isChampionKeyNum = void 0;
|
4
|
+
const ChampionNames_1 = require("../../constants/Champions/ChampionNames");
|
5
|
+
function isChampionKeyNum(key) {
|
6
|
+
return key in ChampionNames_1.ChampionNames;
|
7
|
+
}
|
8
|
+
exports.isChampionKeyNum = isChampionKeyNum;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isItemKeyNum = void 0;
|
4
|
+
const ItemNames_1 = require("../../constants/Items/ItemNames");
|
5
|
+
function isItemKeyNum(key) {
|
6
|
+
return key in ItemNames_1.ItemNames;
|
7
|
+
}
|
8
|
+
exports.isItemKeyNum = isItemKeyNum;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getNonStatRuneIdByName = void 0;
|
4
|
+
const NonStatRuneIds_1 = require("../../constants/Runes/NonStatRuneIds");
|
5
|
+
function getNonStatRuneIdByName(name) {
|
6
|
+
return NonStatRuneIds_1.NonStatRuneIds[name];
|
7
|
+
}
|
8
|
+
exports.getNonStatRuneIdByName = getNonStatRuneIdByName;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getNonStatRuneNameById = void 0;
|
4
|
+
const NonStatRuneNames_1 = require("../../constants/Runes/NonStatRuneNames");
|
5
|
+
function getNonStatRuneNameById(id) {
|
6
|
+
return NonStatRuneNames_1.NonStatRuneNames[id];
|
7
|
+
}
|
8
|
+
exports.getNonStatRuneNameById = getNonStatRuneNameById;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isDominationRuneId = void 0;
|
4
|
+
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
+
function isDominationRuneId(id) {
|
6
|
+
return id in RuneSets_1.PrimaryRuneTrees.Domination;
|
7
|
+
}
|
8
|
+
exports.isDominationRuneId = isDominationRuneId;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isDominationRuneIdNum = void 0;
|
4
|
+
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
+
function isDominationRuneIdNum(id) {
|
6
|
+
return id in RuneSets_1.PrimaryRuneTrees.Domination;
|
7
|
+
}
|
8
|
+
exports.isDominationRuneIdNum = isDominationRuneIdNum;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isDominationRuneName = void 0;
|
4
|
+
const RuneSetsByRuneNames_1 = require("../../constants/Runes/RuneSetsByRuneNames");
|
5
|
+
function isDominationRuneName(value) {
|
6
|
+
return typeof value == 'string' && value in RuneSetsByRuneNames_1.RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Domination;
|
7
|
+
}
|
8
|
+
exports.isDominationRuneName = isDominationRuneName;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isInspirationRuneId = void 0;
|
4
|
+
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
+
function isInspirationRuneId(id) {
|
6
|
+
return id in RuneSets_1.PrimaryRuneTrees.Inspiration;
|
7
|
+
}
|
8
|
+
exports.isInspirationRuneId = isInspirationRuneId;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isInspirationRuneIdNum = void 0;
|
4
|
+
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
+
function isInspirationRuneIdNum(id) {
|
6
|
+
return id in RuneSets_1.PrimaryRuneTrees.Inspiration;
|
7
|
+
}
|
8
|
+
exports.isInspirationRuneIdNum = isInspirationRuneIdNum;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isInspirationRuneName = void 0;
|
4
|
+
const RuneSetsByRuneNames_1 = require("../../constants/Runes/RuneSetsByRuneNames");
|
5
|
+
function isInspirationRuneName(value) {
|
6
|
+
return typeof value == 'string' && value in RuneSetsByRuneNames_1.RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Inspiration;
|
7
|
+
}
|
8
|
+
exports.isInspirationRuneName = isInspirationRuneName;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isKeystoneRuneIdNum = void 0;
|
4
|
+
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
+
function isKeystoneRuneIdNum(id) {
|
6
|
+
return id in RuneSets_1.KeystoneNames;
|
7
|
+
}
|
8
|
+
exports.isKeystoneRuneIdNum = isKeystoneRuneIdNum;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isKeystoneRuneName = void 0;
|
4
|
+
const RuneSetsByRuneNames_1 = require("../../constants/Runes/RuneSetsByRuneNames");
|
5
|
+
function isKeystoneRuneName(value) {
|
6
|
+
return typeof value == 'string' && value in RuneSetsByRuneNames_1.KeystoneIds;
|
7
|
+
}
|
8
|
+
exports.isKeystoneRuneName = isKeystoneRuneName;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isNonStatRuneId = void 0;
|
4
|
+
const NonStatRuneNames_1 = require("../../constants/Runes/NonStatRuneNames");
|
5
|
+
function isNonStatRuneId(id) {
|
6
|
+
return id in NonStatRuneNames_1.NonStatRuneNames;
|
7
|
+
}
|
8
|
+
exports.isNonStatRuneId = isNonStatRuneId;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isNonStatRuneIdNum = void 0;
|
4
|
+
const NonStatRuneNames_1 = require("../../constants/Runes/NonStatRuneNames");
|
5
|
+
function isNonStatRuneIdNum(id) {
|
6
|
+
return id in NonStatRuneNames_1.NonStatRuneNames;
|
7
|
+
}
|
8
|
+
exports.isNonStatRuneIdNum = isNonStatRuneIdNum;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isNonStatRuneName = void 0;
|
4
|
+
const NonStatRuneIds_1 = require("../../constants/Runes/NonStatRuneIds");
|
5
|
+
function isNonStatRuneName(name) {
|
6
|
+
return typeof name == 'string' && name in NonStatRuneIds_1.NonStatRuneIds;
|
7
|
+
}
|
8
|
+
exports.isNonStatRuneName = isNonStatRuneName;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isPrecisionRuneId = void 0;
|
4
|
+
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
+
function isPrecisionRuneId(id) {
|
6
|
+
return id in RuneSets_1.PrimaryRuneTrees.Precision;
|
7
|
+
}
|
8
|
+
exports.isPrecisionRuneId = isPrecisionRuneId;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isPrecisionRuneIdNum = void 0;
|
4
|
+
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
+
function isPrecisionRuneIdNum(id) {
|
6
|
+
return id in RuneSets_1.PrimaryRuneTrees.Precision;
|
7
|
+
}
|
8
|
+
exports.isPrecisionRuneIdNum = isPrecisionRuneIdNum;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isPrecisionRuneName = void 0;
|
4
|
+
const RuneSetsByRuneNames_1 = require("../../constants/Runes/RuneSetsByRuneNames");
|
5
|
+
function isPrecisionRuneName(value) {
|
6
|
+
return typeof value == 'string' && value in RuneSetsByRuneNames_1.RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Precision;
|
7
|
+
}
|
8
|
+
exports.isPrecisionRuneName = isPrecisionRuneName;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isResolveRuneId = void 0;
|
4
|
+
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
+
function isResolveRuneId(id) {
|
6
|
+
return id in RuneSets_1.PrimaryRuneTrees.Resolve;
|
7
|
+
}
|
8
|
+
exports.isResolveRuneId = isResolveRuneId;
|