lol-constants 1.0.0 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/{dist/assets → assets}/StatRunes.d.ts +0 -0
- package/{dist/assets → assets}/StatRunes.js +0 -0
- package/{dist/assets → assets}/champion.json +0 -0
- package/{dist/assets → assets}/index.d.ts +0 -0
- package/{dist/assets → assets}/index.js +1 -1
- package/{dist/assets → assets}/item.json +0 -0
- package/{dist/assets → assets}/runesReforged.json +0 -0
- package/assets/scripts/Helpers/enableSpreadValues.d.ts +15 -0
- package/assets/scripts/Helpers/enableSpreadValues.js +38 -0
- package/{dist → assets}/scripts/Helpers/getExportStatement.d.ts +1 -1
- package/assets/scripts/Helpers/getExportStatement.js +16 -0
- package/assets/scripts/Helpers/getFmtdComment.d.ts +5 -0
- package/assets/scripts/Helpers/getFmtdComment.js +15 -0
- package/assets/scripts/Helpers/writeToTmpFile.d.ts +8 -0
- package/assets/scripts/Helpers/writeToTmpFile.js +22 -0
- package/{dist → assets}/scripts/generate-all.d.ts +1 -0
- package/{dist → assets}/scripts/generate-all.js +1 -0
- package/{dist → assets}/scripts/generate-champion-ids-by-name.d.ts +0 -0
- package/{dist → assets}/scripts/generate-champion-ids-by-name.js +1 -1
- package/{dist → assets}/scripts/generate-champion-ids.d.ts +0 -0
- package/{dist → assets}/scripts/generate-champion-ids.js +1 -1
- package/{dist → assets}/scripts/generate-champion-keys.d.ts +0 -0
- package/{dist → assets}/scripts/generate-champion-keys.js +1 -1
- package/{dist → assets}/scripts/generate-champion-names.d.ts +0 -0
- package/{dist → assets}/scripts/generate-champion-names.js +1 -1
- package/{dist → assets}/scripts/generate-item-keys.d.ts +0 -0
- package/{dist → assets}/scripts/generate-item-keys.js +1 -1
- package/{dist → assets}/scripts/generate-item-names.d.ts +0 -0
- package/{dist → assets}/scripts/generate-item-names.js +1 -1
- package/{dist → assets}/scripts/generate-rune-ids.d.ts +0 -0
- package/{dist → assets}/scripts/generate-rune-ids.js +2 -2
- package/{dist → assets}/scripts/generate-rune-names.d.ts +0 -0
- package/{dist → assets}/scripts/generate-rune-names.js +2 -2
- package/{dist/scripts/generate-spell-ids-by-name.d.ts → assets/scripts/generate-rune-sets.d.ts} +0 -0
- package/assets/scripts/generate-rune-sets.js +94 -0
- package/{dist/scripts/generate-spell-ids.d.ts → assets/scripts/generate-spell-ids-by-name.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-spell-ids-by-name.js +1 -1
- package/{dist/scripts/generate-spell-keys.d.ts → assets/scripts/generate-spell-ids.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-spell-ids.js +1 -1
- package/{dist/scripts/generate-spell-names.d.ts → assets/scripts/generate-spell-keys.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-spell-keys.js +1 -1
- package/{dist/scripts/generate-stat-rune-ids.d.ts → assets/scripts/generate-spell-names.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-spell-names.js +1 -1
- package/{dist/scripts/generate-stat-rune-names.d.ts → assets/scripts/generate-stat-rune-ids.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-stat-rune-ids.js +1 -1
- package/{dist/scripts/generate-tree-rune-ids.d.ts → assets/scripts/generate-stat-rune-names.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-stat-rune-names.js +1 -1
- package/{dist/scripts/generate-tree-rune-names.d.ts → assets/scripts/generate-tree-rune-ids.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-tree-rune-ids.js +1 -1
- package/assets/scripts/generate-tree-rune-names.d.ts +1 -0
- package/{dist → assets}/scripts/generate-tree-rune-names.js +1 -1
- package/{dist/assets → assets}/summoner.json +0 -0
- package/dist/Constants/{ChampionIds.d.ts → Champions/ChampionIds.d.ts} +0 -0
- package/dist/Constants/{ChampionIds.js → Champions/ChampionIds.js} +0 -0
- package/dist/Constants/{ChampionIdsByName.d.ts → Champions/ChampionIdsByName.d.ts} +0 -0
- package/dist/Constants/{ChampionIdsByName.js → Champions/ChampionIdsByName.js} +0 -0
- package/dist/Constants/{ChampionKeys.d.ts → Champions/ChampionKeys.d.ts} +0 -0
- package/dist/Constants/{ChampionKeys.js → Champions/ChampionKeys.js} +0 -0
- package/dist/Constants/{ChampionNames.d.ts → Champions/ChampionNames.d.ts} +0 -0
- package/dist/Constants/{ChampionNames.js → Champions/ChampionNames.js} +0 -0
- package/dist/Constants/{ItemKeys.d.ts → Items/ItemKeys.d.ts} +0 -0
- package/dist/Constants/{ItemKeys.js → Items/ItemKeys.js} +0 -0
- package/dist/Constants/{ItemNames.d.ts → Items/ItemNames.d.ts} +0 -0
- package/dist/Constants/{ItemNames.js → Items/ItemNames.js} +0 -0
- package/dist/Constants/{RuneIds.d.ts → Runes/RuneIds.d.ts} +9 -9
- package/dist/Constants/Runes/RuneIds.js +9 -0
- package/dist/Constants/{RuneNames.d.ts → Runes/RuneNames.d.ts} +3 -3
- package/dist/Constants/Runes/RuneNames.js +9 -0
- package/dist/Constants/Runes/RuneSets.d.ts +479 -0
- package/dist/Constants/Runes/RuneSets.js +12 -0
- package/dist/Constants/{StatRuneIds.d.ts → Runes/StatRuneIds.d.ts} +0 -0
- package/dist/Constants/{StatRuneIds.js → Runes/StatRuneIds.js} +0 -0
- package/dist/Constants/{StatRuneNames.d.ts → Runes/StatRuneNames.d.ts} +0 -0
- package/dist/Constants/{StatRuneNames.js → Runes/StatRuneNames.js} +0 -0
- package/dist/Constants/{TreeRuneIds.d.ts → Runes/TreeRuneIds.d.ts} +0 -0
- package/dist/Constants/{TreeRuneIds.js → Runes/TreeRuneIds.js} +0 -0
- package/dist/Constants/{TreeRuneNames.d.ts → Runes/TreeRuneNames.d.ts} +0 -0
- package/dist/Constants/{TreeRuneNames.js → Runes/TreeRuneNames.js} +0 -0
- package/dist/Constants/{SpellIds.d.ts → Spells/SpellIds.d.ts} +0 -0
- package/dist/Constants/{SpellIds.js → Spells/SpellIds.js} +0 -0
- package/dist/Constants/{SpellIdsByName.d.ts → Spells/SpellIdsByName.d.ts} +0 -0
- package/dist/Constants/{SpellIdsByName.js → Spells/SpellIdsByName.js} +0 -0
- package/dist/Constants/{SpellKeys.d.ts → Spells/SpellKeys.d.ts} +0 -0
- package/dist/Constants/{SpellKeys.js → Spells/SpellKeys.js} +0 -0
- package/dist/Constants/{SpellNames.d.ts → Spells/SpellNames.d.ts} +0 -0
- package/dist/Constants/{SpellNames.js → Spells/SpellNames.js} +0 -0
- package/dist/Helpers/{getChampionIdByKey.d.ts → Champions/getChampionIdByKey.d.ts} +1 -1
- package/dist/Helpers/{getChampionIdByKey.js → Champions/getChampionIdByKey.js} +1 -1
- package/dist/Helpers/{getChampionIdByName.d.ts → Champions/getChampionIdByName.d.ts} +1 -1
- package/dist/Helpers/{getChampionIdByName.js → Champions/getChampionIdByName.js} +1 -1
- package/dist/Helpers/{getChampionKeyById.d.ts → Champions/getChampionKeyById.d.ts} +1 -1
- package/dist/Helpers/{getChampionKeyById.js → Champions/getChampionKeyById.js} +1 -1
- package/dist/Helpers/{getChampionKeyByName.d.ts → Champions/getChampionKeyByName.d.ts} +1 -1
- package/dist/Helpers/{getChampionKeyByName.js → Champions/getChampionKeyByName.js} +2 -2
- package/dist/Helpers/{getChampionNameById.d.ts → Champions/getChampionNameById.d.ts} +1 -1
- package/dist/Helpers/{getChampionNameById.js → Champions/getChampionNameById.js} +2 -2
- package/dist/Helpers/{getChampionNameByKey.d.ts → Champions/getChampionNameByKey.d.ts} +1 -1
- package/dist/Helpers/{getChampionNameByKey.js → Champions/getChampionNameByKey.js} +1 -1
- package/dist/Helpers/{isChampionId.d.ts → Champions/isChampionId.d.ts} +1 -1
- package/dist/Helpers/{isChampionId.js → Champions/isChampionId.js} +1 -1
- package/dist/Helpers/{isChampionKey.d.ts → Champions/isChampionKey.d.ts} +1 -1
- package/dist/Helpers/{isChampionKey.js → Champions/isChampionKey.js} +1 -1
- package/dist/Helpers/{isChampionName.d.ts → Champions/isChampionName.d.ts} +1 -1
- package/dist/Helpers/{isChampionName.js → Champions/isChampionName.js} +1 -1
- package/dist/Helpers/{getItemKeyByName.d.ts → Items/getItemKeyByName.d.ts} +1 -1
- package/dist/Helpers/{getItemKeyByName.js → Items/getItemKeyByName.js} +1 -1
- package/dist/Helpers/{getItemNameByKey.d.ts → Items/getItemNameByKey.d.ts} +1 -1
- package/dist/Helpers/{getItemNameByKey.js → Items/getItemNameByKey.js} +1 -1
- package/dist/Helpers/{isItemKey.d.ts → Items/isItemKey.d.ts} +1 -1
- package/dist/Helpers/{isItemKey.js → Items/isItemKey.js} +1 -1
- package/dist/Helpers/{isItemName.d.ts → Items/isItemName.d.ts} +1 -1
- package/dist/Helpers/{isItemName.js → Items/isItemName.js} +1 -1
- package/dist/Helpers/{getRuneIdByName.d.ts → Runes/getRuneIdByName.d.ts} +1 -1
- package/dist/Helpers/{getRuneIdByName.js → Runes/getRuneIdByName.js} +1 -1
- package/dist/Helpers/{getRuneNameById.d.ts → Runes/getRuneNameById.d.ts} +1 -1
- package/dist/Helpers/{getRuneNameById.js → Runes/getRuneNameById.js} +1 -1
- package/dist/Helpers/{getStatRuneIdByName.d.ts → Runes/getStatRuneIdByName.d.ts} +1 -1
- package/dist/Helpers/{getStatRuneIdByName.js → Runes/getStatRuneIdByName.js} +1 -1
- package/dist/Helpers/{getStatRuneNameById.d.ts → Runes/getStatRuneNameById.d.ts} +1 -1
- package/dist/Helpers/{getStatRuneNameById.js → Runes/getStatRuneNameById.js} +1 -1
- package/dist/Helpers/{getTreeRuneIdByName.d.ts → Runes/getTreeRuneIdByName.d.ts} +1 -1
- package/dist/Helpers/{getTreeRuneIdByName.js → Runes/getTreeRuneIdByName.js} +1 -1
- package/dist/Helpers/{getTreeRuneNameById.d.ts → Runes/getTreeRuneNameById.d.ts} +1 -1
- package/dist/Helpers/{getTreeRuneNameById.js → Runes/getTreeRuneNameById.js} +1 -1
- package/dist/Helpers/{isRuneId.d.ts → Runes/isRuneId.d.ts} +1 -1
- package/dist/Helpers/{isRuneId.js → Runes/isRuneId.js} +1 -1
- package/dist/Helpers/{isRuneName.d.ts → Runes/isRuneName.d.ts} +1 -1
- package/dist/Helpers/{isRuneName.js → Runes/isRuneName.js} +1 -1
- package/dist/Helpers/{isStatRuneId.d.ts → Runes/isStatRuneId.d.ts} +1 -1
- package/dist/Helpers/{isStatRuneId.js → Runes/isStatRuneId.js} +1 -1
- package/dist/Helpers/{isStatRuneName.d.ts → Runes/isStatRuneName.d.ts} +1 -1
- package/dist/Helpers/{isStatRuneName.js → Runes/isStatRuneName.js} +1 -1
- package/dist/Helpers/{isTreeRuneId.d.ts → Runes/isTreeRuneId.d.ts} +1 -1
- package/dist/Helpers/{isTreeRuneId.js → Runes/isTreeRuneId.js} +1 -1
- package/dist/Helpers/{isTreeRuneName.d.ts → Runes/isTreeRuneName.d.ts} +1 -1
- package/dist/Helpers/{isTreeRuneName.js → Runes/isTreeRuneName.js} +1 -1
- package/dist/Helpers/{getSpellIdByKey.d.ts → Spells/getSpellIdByKey.d.ts} +1 -1
- package/dist/Helpers/{getSpellIdByKey.js → Spells/getSpellIdByKey.js} +1 -1
- package/dist/Helpers/{getSpellIdByName.d.ts → Spells/getSpellIdByName.d.ts} +1 -1
- package/dist/Helpers/{getSpellIdByName.js → Spells/getSpellIdByName.js} +1 -1
- package/dist/Helpers/{getSpellKeyById.d.ts → Spells/getSpellKeyById.d.ts} +1 -1
- package/dist/Helpers/{getSpellKeyById.js → Spells/getSpellKeyById.js} +1 -1
- package/dist/Helpers/{getSpellKeyByName.d.ts → Spells/getSpellKeyByName.d.ts} +1 -1
- package/dist/Helpers/{getSpellKeyByName.js → Spells/getSpellKeyByName.js} +2 -2
- package/dist/Helpers/{getSpellNameById.d.ts → Spells/getSpellNameById.d.ts} +1 -1
- package/dist/Helpers/{getSpellNameById.js → Spells/getSpellNameById.js} +2 -2
- package/dist/Helpers/{getSpellNameByKey.d.ts → Spells/getSpellNameByKey.d.ts} +1 -1
- package/dist/Helpers/{getSpellNameByKey.js → Spells/getSpellNameByKey.js} +1 -1
- package/dist/Helpers/{isSpellId.d.ts → Spells/isSpellId.d.ts} +1 -1
- package/dist/Helpers/{isSpellId.js → Spells/isSpellId.js} +1 -1
- package/dist/Helpers/{isSpellKey.d.ts → Spells/isSpellKey.d.ts} +1 -1
- package/dist/Helpers/{isSpellKey.js → Spells/isSpellKey.js} +1 -1
- package/dist/Helpers/{isSpellName.d.ts → Spells/isSpellName.d.ts} +1 -1
- package/dist/Helpers/{isSpellName.js → Spells/isSpellName.js} +1 -1
- package/dist/index.d.ts +50 -50
- package/dist/index.js +50 -61
- package/dist/types/index.d.ts +21 -21
- package/package.json +5 -6
- package/dist/Constants/RuneIds.js +0 -4
- package/dist/Constants/RuneNames.js +0 -4
- package/dist/Constants/RuneSets.d.ts +0 -77
- package/dist/Constants/RuneSets.js +0 -210
- package/dist/scripts/Helpers/getExportStatement.js +0 -10
@@ -0,0 +1,479 @@
|
|
1
|
+
export declare const PrimaryTrees: {
|
2
|
+
readonly Domination: {
|
3
|
+
readonly "8105": "Relentless Hunter";
|
4
|
+
readonly "8106": "Ultimate Hunter";
|
5
|
+
readonly "8112": "Electrocute";
|
6
|
+
readonly "8120": "Ghost Poro";
|
7
|
+
readonly "8124": "Predator";
|
8
|
+
readonly "8126": "Cheap Shot";
|
9
|
+
readonly "8128": "Dark Harvest";
|
10
|
+
readonly "8134": "Ingenious Hunter";
|
11
|
+
readonly "8135": "Treasure Hunter";
|
12
|
+
readonly "8136": "Zombie Ward";
|
13
|
+
readonly "8138": "Eyeball Collection";
|
14
|
+
readonly "8139": "Taste of Blood";
|
15
|
+
readonly "8143": "Sudden Impact";
|
16
|
+
readonly "9923": "Hail of Blades";
|
17
|
+
};
|
18
|
+
readonly Inspiration: {
|
19
|
+
readonly "8304": "Magical Footwear";
|
20
|
+
readonly "8306": "Hextech Flashtraption";
|
21
|
+
readonly "8313": "Perfect Timing";
|
22
|
+
readonly "8316": "Minion Dematerializer";
|
23
|
+
readonly "8321": "Future's Market";
|
24
|
+
readonly "8345": "Biscuit Delivery";
|
25
|
+
readonly "8347": "Cosmic Insight";
|
26
|
+
readonly "8351": "Glacial Augment";
|
27
|
+
readonly "8352": "Time Warp Tonic";
|
28
|
+
readonly "8360": "Unsealed Spellbook";
|
29
|
+
readonly "8369": "First Strike";
|
30
|
+
readonly "8410": "Approach Velocity";
|
31
|
+
};
|
32
|
+
readonly Precision: {
|
33
|
+
readonly "8005": "Press the Attack";
|
34
|
+
readonly "8008": "Lethal Tempo";
|
35
|
+
readonly "8009": "Presence of Mind";
|
36
|
+
readonly "8010": "Conqueror";
|
37
|
+
readonly "8014": "Coup de Grace";
|
38
|
+
readonly "8017": "Cut Down";
|
39
|
+
readonly "8021": "Fleet Footwork";
|
40
|
+
readonly "8299": "Last Stand";
|
41
|
+
readonly "9101": "Overheal";
|
42
|
+
readonly "9103": "Legend: Bloodline";
|
43
|
+
readonly "9104": "Legend: Alacrity";
|
44
|
+
readonly "9105": "Legend: Tenacity";
|
45
|
+
readonly "9111": "Triumph";
|
46
|
+
};
|
47
|
+
readonly Resolve: {
|
48
|
+
readonly "8242": "Unflinching";
|
49
|
+
readonly "8401": "Shield Bash";
|
50
|
+
readonly "8429": "Conditioning";
|
51
|
+
readonly "8437": "Grasp of the Undying";
|
52
|
+
readonly "8439": "Aftershock";
|
53
|
+
readonly "8444": "Second Wind";
|
54
|
+
readonly "8446": "Demolish";
|
55
|
+
readonly "8451": "Overgrowth";
|
56
|
+
readonly "8453": "Revitalize";
|
57
|
+
readonly "8463": "Font of Life";
|
58
|
+
readonly "8465": "Guardian";
|
59
|
+
readonly "8473": "Bone Plating";
|
60
|
+
};
|
61
|
+
readonly Sorcery: {
|
62
|
+
readonly "8210": "Transcendence";
|
63
|
+
readonly "8214": "Summon Aery";
|
64
|
+
readonly "8224": "Nullifying Orb";
|
65
|
+
readonly "8226": "Manaflow Band";
|
66
|
+
readonly "8229": "Arcane Comet";
|
67
|
+
readonly "8230": "Phase Rush";
|
68
|
+
readonly "8232": "Waterwalking";
|
69
|
+
readonly "8233": "Absolute Focus";
|
70
|
+
readonly "8234": "Celerity";
|
71
|
+
readonly "8236": "Gathering Storm";
|
72
|
+
readonly "8237": "Scorch";
|
73
|
+
readonly "8275": "Nimbus Cloak";
|
74
|
+
};
|
75
|
+
};
|
76
|
+
export declare const SecondaryTrees: {
|
77
|
+
readonly Domination: {
|
78
|
+
readonly "8105": "Relentless Hunter";
|
79
|
+
readonly "8106": "Ultimate Hunter";
|
80
|
+
readonly "8120": "Ghost Poro";
|
81
|
+
readonly "8126": "Cheap Shot";
|
82
|
+
readonly "8134": "Ingenious Hunter";
|
83
|
+
readonly "8135": "Treasure Hunter";
|
84
|
+
readonly "8136": "Zombie Ward";
|
85
|
+
readonly "8138": "Eyeball Collection";
|
86
|
+
readonly "8139": "Taste of Blood";
|
87
|
+
readonly "8143": "Sudden Impact";
|
88
|
+
};
|
89
|
+
readonly Inspiration: {
|
90
|
+
readonly "8304": "Magical Footwear";
|
91
|
+
readonly "8306": "Hextech Flashtraption";
|
92
|
+
readonly "8313": "Perfect Timing";
|
93
|
+
readonly "8316": "Minion Dematerializer";
|
94
|
+
readonly "8321": "Future's Market";
|
95
|
+
readonly "8345": "Biscuit Delivery";
|
96
|
+
readonly "8347": "Cosmic Insight";
|
97
|
+
readonly "8352": "Time Warp Tonic";
|
98
|
+
readonly "8410": "Approach Velocity";
|
99
|
+
};
|
100
|
+
readonly Precision: {
|
101
|
+
readonly "8009": "Presence of Mind";
|
102
|
+
readonly "8014": "Coup de Grace";
|
103
|
+
readonly "8017": "Cut Down";
|
104
|
+
readonly "8299": "Last Stand";
|
105
|
+
readonly "9101": "Overheal";
|
106
|
+
readonly "9103": "Legend: Bloodline";
|
107
|
+
readonly "9104": "Legend: Alacrity";
|
108
|
+
readonly "9105": "Legend: Tenacity";
|
109
|
+
readonly "9111": "Triumph";
|
110
|
+
};
|
111
|
+
readonly Resolve: {
|
112
|
+
readonly "8242": "Unflinching";
|
113
|
+
readonly "8401": "Shield Bash";
|
114
|
+
readonly "8429": "Conditioning";
|
115
|
+
readonly "8444": "Second Wind";
|
116
|
+
readonly "8446": "Demolish";
|
117
|
+
readonly "8451": "Overgrowth";
|
118
|
+
readonly "8453": "Revitalize";
|
119
|
+
readonly "8463": "Font of Life";
|
120
|
+
readonly "8473": "Bone Plating";
|
121
|
+
};
|
122
|
+
readonly Sorcery: {
|
123
|
+
readonly "8210": "Transcendence";
|
124
|
+
readonly "8224": "Nullifying Orb";
|
125
|
+
readonly "8226": "Manaflow Band";
|
126
|
+
readonly "8232": "Waterwalking";
|
127
|
+
readonly "8233": "Absolute Focus";
|
128
|
+
readonly "8234": "Celerity";
|
129
|
+
readonly "8236": "Gathering Storm";
|
130
|
+
readonly "8237": "Scorch";
|
131
|
+
readonly "8275": "Nimbus Cloak";
|
132
|
+
};
|
133
|
+
};
|
134
|
+
export declare const Keystones: {
|
135
|
+
readonly "8005": "Press the Attack";
|
136
|
+
readonly "8008": "Lethal Tempo";
|
137
|
+
readonly "8010": "Conqueror";
|
138
|
+
readonly "8021": "Fleet Footwork";
|
139
|
+
readonly "8112": "Electrocute";
|
140
|
+
readonly "8124": "Predator";
|
141
|
+
readonly "8128": "Dark Harvest";
|
142
|
+
readonly "8214": "Summon Aery";
|
143
|
+
readonly "8229": "Arcane Comet";
|
144
|
+
readonly "8230": "Phase Rush";
|
145
|
+
readonly "8351": "Glacial Augment";
|
146
|
+
readonly "8360": "Unsealed Spellbook";
|
147
|
+
readonly "8369": "First Strike";
|
148
|
+
readonly "8437": "Grasp of the Undying";
|
149
|
+
readonly "8439": "Aftershock";
|
150
|
+
readonly "8465": "Guardian";
|
151
|
+
readonly "9923": "Hail of Blades";
|
152
|
+
};
|
153
|
+
export declare const StatRunes: {
|
154
|
+
readonly "5001": "Defense (HP)";
|
155
|
+
readonly "5002": "Defense (AR)";
|
156
|
+
readonly "5003": "Defense (MR)";
|
157
|
+
readonly "5005": "Offense (AS)";
|
158
|
+
readonly "5007": "Offense (AH)";
|
159
|
+
readonly "5008": "Offense (AF)";
|
160
|
+
readonly "5002f": "Flex (AR)";
|
161
|
+
readonly "5003f": "Flex (MR)";
|
162
|
+
readonly "5008f": "Flex (AF)";
|
163
|
+
};
|
164
|
+
export declare const All: {
|
165
|
+
readonly "5001": "Defense (HP)";
|
166
|
+
readonly "5002": "Defense (AR)";
|
167
|
+
readonly "5003": "Defense (MR)";
|
168
|
+
readonly "5005": "Offense (AS)";
|
169
|
+
readonly "5007": "Offense (AH)";
|
170
|
+
readonly "5008": "Offense (AF)";
|
171
|
+
readonly "5002f": "Flex (AR)";
|
172
|
+
readonly "5003f": "Flex (MR)";
|
173
|
+
readonly "5008f": "Flex (AF)";
|
174
|
+
readonly "8304": "Magical Footwear";
|
175
|
+
readonly "8306": "Hextech Flashtraption";
|
176
|
+
readonly "8313": "Perfect Timing";
|
177
|
+
readonly "8316": "Minion Dematerializer";
|
178
|
+
readonly "8321": "Future's Market";
|
179
|
+
readonly "8345": "Biscuit Delivery";
|
180
|
+
readonly "8347": "Cosmic Insight";
|
181
|
+
readonly "8351": "Glacial Augment";
|
182
|
+
readonly "8352": "Time Warp Tonic";
|
183
|
+
readonly "8360": "Unsealed Spellbook";
|
184
|
+
readonly "8369": "First Strike";
|
185
|
+
readonly "8410": "Approach Velocity";
|
186
|
+
readonly "8242": "Unflinching";
|
187
|
+
readonly "8401": "Shield Bash";
|
188
|
+
readonly "8429": "Conditioning";
|
189
|
+
readonly "8437": "Grasp of the Undying";
|
190
|
+
readonly "8439": "Aftershock";
|
191
|
+
readonly "8444": "Second Wind";
|
192
|
+
readonly "8446": "Demolish";
|
193
|
+
readonly "8451": "Overgrowth";
|
194
|
+
readonly "8453": "Revitalize";
|
195
|
+
readonly "8463": "Font of Life";
|
196
|
+
readonly "8465": "Guardian";
|
197
|
+
readonly "8473": "Bone Plating";
|
198
|
+
readonly "8210": "Transcendence";
|
199
|
+
readonly "8214": "Summon Aery";
|
200
|
+
readonly "8224": "Nullifying Orb";
|
201
|
+
readonly "8226": "Manaflow Band";
|
202
|
+
readonly "8229": "Arcane Comet";
|
203
|
+
readonly "8230": "Phase Rush";
|
204
|
+
readonly "8232": "Waterwalking";
|
205
|
+
readonly "8233": "Absolute Focus";
|
206
|
+
readonly "8234": "Celerity";
|
207
|
+
readonly "8236": "Gathering Storm";
|
208
|
+
readonly "8237": "Scorch";
|
209
|
+
readonly "8275": "Nimbus Cloak";
|
210
|
+
readonly "8105": "Relentless Hunter";
|
211
|
+
readonly "8106": "Ultimate Hunter";
|
212
|
+
readonly "8112": "Electrocute";
|
213
|
+
readonly "8120": "Ghost Poro";
|
214
|
+
readonly "8124": "Predator";
|
215
|
+
readonly "8126": "Cheap Shot";
|
216
|
+
readonly "8128": "Dark Harvest";
|
217
|
+
readonly "8134": "Ingenious Hunter";
|
218
|
+
readonly "8135": "Treasure Hunter";
|
219
|
+
readonly "8136": "Zombie Ward";
|
220
|
+
readonly "8138": "Eyeball Collection";
|
221
|
+
readonly "8139": "Taste of Blood";
|
222
|
+
readonly "8143": "Sudden Impact";
|
223
|
+
readonly "9923": "Hail of Blades";
|
224
|
+
readonly "8005": "Press the Attack";
|
225
|
+
readonly "8008": "Lethal Tempo";
|
226
|
+
readonly "8009": "Presence of Mind";
|
227
|
+
readonly "8010": "Conqueror";
|
228
|
+
readonly "8014": "Coup de Grace";
|
229
|
+
readonly "8017": "Cut Down";
|
230
|
+
readonly "8021": "Fleet Footwork";
|
231
|
+
readonly "8299": "Last Stand";
|
232
|
+
readonly "9101": "Overheal";
|
233
|
+
readonly "9103": "Legend: Bloodline";
|
234
|
+
readonly "9104": "Legend: Alacrity";
|
235
|
+
readonly "9105": "Legend: Tenacity";
|
236
|
+
readonly "9111": "Triumph";
|
237
|
+
};
|
238
|
+
/**
|
239
|
+
* 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.
|
240
|
+
*/
|
241
|
+
export declare const RuneSets: {
|
242
|
+
readonly PrimaryTrees: {
|
243
|
+
readonly Domination: {
|
244
|
+
readonly "8105": "Relentless Hunter";
|
245
|
+
readonly "8106": "Ultimate Hunter";
|
246
|
+
readonly "8112": "Electrocute";
|
247
|
+
readonly "8120": "Ghost Poro";
|
248
|
+
readonly "8124": "Predator";
|
249
|
+
readonly "8126": "Cheap Shot";
|
250
|
+
readonly "8128": "Dark Harvest";
|
251
|
+
readonly "8134": "Ingenious Hunter";
|
252
|
+
readonly "8135": "Treasure Hunter";
|
253
|
+
readonly "8136": "Zombie Ward";
|
254
|
+
readonly "8138": "Eyeball Collection";
|
255
|
+
readonly "8139": "Taste of Blood";
|
256
|
+
readonly "8143": "Sudden Impact";
|
257
|
+
readonly "9923": "Hail of Blades";
|
258
|
+
};
|
259
|
+
readonly Inspiration: {
|
260
|
+
readonly "8304": "Magical Footwear";
|
261
|
+
readonly "8306": "Hextech Flashtraption";
|
262
|
+
readonly "8313": "Perfect Timing";
|
263
|
+
readonly "8316": "Minion Dematerializer";
|
264
|
+
readonly "8321": "Future's Market";
|
265
|
+
readonly "8345": "Biscuit Delivery";
|
266
|
+
readonly "8347": "Cosmic Insight";
|
267
|
+
readonly "8351": "Glacial Augment";
|
268
|
+
readonly "8352": "Time Warp Tonic";
|
269
|
+
readonly "8360": "Unsealed Spellbook";
|
270
|
+
readonly "8369": "First Strike";
|
271
|
+
readonly "8410": "Approach Velocity";
|
272
|
+
};
|
273
|
+
readonly Precision: {
|
274
|
+
readonly "8005": "Press the Attack";
|
275
|
+
readonly "8008": "Lethal Tempo";
|
276
|
+
readonly "8009": "Presence of Mind";
|
277
|
+
readonly "8010": "Conqueror";
|
278
|
+
readonly "8014": "Coup de Grace";
|
279
|
+
readonly "8017": "Cut Down";
|
280
|
+
readonly "8021": "Fleet Footwork";
|
281
|
+
readonly "8299": "Last Stand";
|
282
|
+
readonly "9101": "Overheal";
|
283
|
+
readonly "9103": "Legend: Bloodline";
|
284
|
+
readonly "9104": "Legend: Alacrity";
|
285
|
+
readonly "9105": "Legend: Tenacity";
|
286
|
+
readonly "9111": "Triumph";
|
287
|
+
};
|
288
|
+
readonly Resolve: {
|
289
|
+
readonly "8242": "Unflinching";
|
290
|
+
readonly "8401": "Shield Bash";
|
291
|
+
readonly "8429": "Conditioning";
|
292
|
+
readonly "8437": "Grasp of the Undying";
|
293
|
+
readonly "8439": "Aftershock";
|
294
|
+
readonly "8444": "Second Wind";
|
295
|
+
readonly "8446": "Demolish";
|
296
|
+
readonly "8451": "Overgrowth";
|
297
|
+
readonly "8453": "Revitalize";
|
298
|
+
readonly "8463": "Font of Life";
|
299
|
+
readonly "8465": "Guardian";
|
300
|
+
readonly "8473": "Bone Plating";
|
301
|
+
};
|
302
|
+
readonly Sorcery: {
|
303
|
+
readonly "8210": "Transcendence";
|
304
|
+
readonly "8214": "Summon Aery";
|
305
|
+
readonly "8224": "Nullifying Orb";
|
306
|
+
readonly "8226": "Manaflow Band";
|
307
|
+
readonly "8229": "Arcane Comet";
|
308
|
+
readonly "8230": "Phase Rush";
|
309
|
+
readonly "8232": "Waterwalking";
|
310
|
+
readonly "8233": "Absolute Focus";
|
311
|
+
readonly "8234": "Celerity";
|
312
|
+
readonly "8236": "Gathering Storm";
|
313
|
+
readonly "8237": "Scorch";
|
314
|
+
readonly "8275": "Nimbus Cloak";
|
315
|
+
};
|
316
|
+
};
|
317
|
+
readonly SecondaryTrees: {
|
318
|
+
readonly Domination: {
|
319
|
+
readonly "8105": "Relentless Hunter";
|
320
|
+
readonly "8106": "Ultimate Hunter";
|
321
|
+
readonly "8120": "Ghost Poro";
|
322
|
+
readonly "8126": "Cheap Shot";
|
323
|
+
readonly "8134": "Ingenious Hunter";
|
324
|
+
readonly "8135": "Treasure Hunter";
|
325
|
+
readonly "8136": "Zombie Ward";
|
326
|
+
readonly "8138": "Eyeball Collection";
|
327
|
+
readonly "8139": "Taste of Blood";
|
328
|
+
readonly "8143": "Sudden Impact";
|
329
|
+
};
|
330
|
+
readonly Inspiration: {
|
331
|
+
readonly "8304": "Magical Footwear";
|
332
|
+
readonly "8306": "Hextech Flashtraption";
|
333
|
+
readonly "8313": "Perfect Timing";
|
334
|
+
readonly "8316": "Minion Dematerializer";
|
335
|
+
readonly "8321": "Future's Market";
|
336
|
+
readonly "8345": "Biscuit Delivery";
|
337
|
+
readonly "8347": "Cosmic Insight";
|
338
|
+
readonly "8352": "Time Warp Tonic";
|
339
|
+
readonly "8410": "Approach Velocity";
|
340
|
+
};
|
341
|
+
readonly Precision: {
|
342
|
+
readonly "8009": "Presence of Mind";
|
343
|
+
readonly "8014": "Coup de Grace";
|
344
|
+
readonly "8017": "Cut Down";
|
345
|
+
readonly "8299": "Last Stand";
|
346
|
+
readonly "9101": "Overheal";
|
347
|
+
readonly "9103": "Legend: Bloodline";
|
348
|
+
readonly "9104": "Legend: Alacrity";
|
349
|
+
readonly "9105": "Legend: Tenacity";
|
350
|
+
readonly "9111": "Triumph";
|
351
|
+
};
|
352
|
+
readonly Resolve: {
|
353
|
+
readonly "8242": "Unflinching";
|
354
|
+
readonly "8401": "Shield Bash";
|
355
|
+
readonly "8429": "Conditioning";
|
356
|
+
readonly "8444": "Second Wind";
|
357
|
+
readonly "8446": "Demolish";
|
358
|
+
readonly "8451": "Overgrowth";
|
359
|
+
readonly "8453": "Revitalize";
|
360
|
+
readonly "8463": "Font of Life";
|
361
|
+
readonly "8473": "Bone Plating";
|
362
|
+
};
|
363
|
+
readonly Sorcery: {
|
364
|
+
readonly "8210": "Transcendence";
|
365
|
+
readonly "8224": "Nullifying Orb";
|
366
|
+
readonly "8226": "Manaflow Band";
|
367
|
+
readonly "8232": "Waterwalking";
|
368
|
+
readonly "8233": "Absolute Focus";
|
369
|
+
readonly "8234": "Celerity";
|
370
|
+
readonly "8236": "Gathering Storm";
|
371
|
+
readonly "8237": "Scorch";
|
372
|
+
readonly "8275": "Nimbus Cloak";
|
373
|
+
};
|
374
|
+
};
|
375
|
+
readonly Keystones: {
|
376
|
+
readonly "8005": "Press the Attack";
|
377
|
+
readonly "8008": "Lethal Tempo";
|
378
|
+
readonly "8010": "Conqueror";
|
379
|
+
readonly "8021": "Fleet Footwork";
|
380
|
+
readonly "8112": "Electrocute";
|
381
|
+
readonly "8124": "Predator";
|
382
|
+
readonly "8128": "Dark Harvest";
|
383
|
+
readonly "8214": "Summon Aery";
|
384
|
+
readonly "8229": "Arcane Comet";
|
385
|
+
readonly "8230": "Phase Rush";
|
386
|
+
readonly "8351": "Glacial Augment";
|
387
|
+
readonly "8360": "Unsealed Spellbook";
|
388
|
+
readonly "8369": "First Strike";
|
389
|
+
readonly "8437": "Grasp of the Undying";
|
390
|
+
readonly "8439": "Aftershock";
|
391
|
+
readonly "8465": "Guardian";
|
392
|
+
readonly "9923": "Hail of Blades";
|
393
|
+
};
|
394
|
+
readonly StatRunes: {
|
395
|
+
readonly "5001": "Defense (HP)";
|
396
|
+
readonly "5002": "Defense (AR)";
|
397
|
+
readonly "5003": "Defense (MR)";
|
398
|
+
readonly "5005": "Offense (AS)";
|
399
|
+
readonly "5007": "Offense (AH)";
|
400
|
+
readonly "5008": "Offense (AF)";
|
401
|
+
readonly "5002f": "Flex (AR)";
|
402
|
+
readonly "5003f": "Flex (MR)";
|
403
|
+
readonly "5008f": "Flex (AF)";
|
404
|
+
};
|
405
|
+
readonly All: {
|
406
|
+
readonly "5001": "Defense (HP)";
|
407
|
+
readonly "5002": "Defense (AR)";
|
408
|
+
readonly "5003": "Defense (MR)";
|
409
|
+
readonly "5005": "Offense (AS)";
|
410
|
+
readonly "5007": "Offense (AH)";
|
411
|
+
readonly "5008": "Offense (AF)";
|
412
|
+
readonly "5002f": "Flex (AR)";
|
413
|
+
readonly "5003f": "Flex (MR)";
|
414
|
+
readonly "5008f": "Flex (AF)";
|
415
|
+
readonly "8304": "Magical Footwear";
|
416
|
+
readonly "8306": "Hextech Flashtraption";
|
417
|
+
readonly "8313": "Perfect Timing";
|
418
|
+
readonly "8316": "Minion Dematerializer";
|
419
|
+
readonly "8321": "Future's Market";
|
420
|
+
readonly "8345": "Biscuit Delivery";
|
421
|
+
readonly "8347": "Cosmic Insight";
|
422
|
+
readonly "8351": "Glacial Augment";
|
423
|
+
readonly "8352": "Time Warp Tonic";
|
424
|
+
readonly "8360": "Unsealed Spellbook";
|
425
|
+
readonly "8369": "First Strike";
|
426
|
+
readonly "8410": "Approach Velocity";
|
427
|
+
readonly "8242": "Unflinching";
|
428
|
+
readonly "8401": "Shield Bash";
|
429
|
+
readonly "8429": "Conditioning";
|
430
|
+
readonly "8437": "Grasp of the Undying";
|
431
|
+
readonly "8439": "Aftershock";
|
432
|
+
readonly "8444": "Second Wind";
|
433
|
+
readonly "8446": "Demolish";
|
434
|
+
readonly "8451": "Overgrowth";
|
435
|
+
readonly "8453": "Revitalize";
|
436
|
+
readonly "8463": "Font of Life";
|
437
|
+
readonly "8465": "Guardian";
|
438
|
+
readonly "8473": "Bone Plating";
|
439
|
+
readonly "8210": "Transcendence";
|
440
|
+
readonly "8214": "Summon Aery";
|
441
|
+
readonly "8224": "Nullifying Orb";
|
442
|
+
readonly "8226": "Manaflow Band";
|
443
|
+
readonly "8229": "Arcane Comet";
|
444
|
+
readonly "8230": "Phase Rush";
|
445
|
+
readonly "8232": "Waterwalking";
|
446
|
+
readonly "8233": "Absolute Focus";
|
447
|
+
readonly "8234": "Celerity";
|
448
|
+
readonly "8236": "Gathering Storm";
|
449
|
+
readonly "8237": "Scorch";
|
450
|
+
readonly "8275": "Nimbus Cloak";
|
451
|
+
readonly "8105": "Relentless Hunter";
|
452
|
+
readonly "8106": "Ultimate Hunter";
|
453
|
+
readonly "8112": "Electrocute";
|
454
|
+
readonly "8120": "Ghost Poro";
|
455
|
+
readonly "8124": "Predator";
|
456
|
+
readonly "8126": "Cheap Shot";
|
457
|
+
readonly "8128": "Dark Harvest";
|
458
|
+
readonly "8134": "Ingenious Hunter";
|
459
|
+
readonly "8135": "Treasure Hunter";
|
460
|
+
readonly "8136": "Zombie Ward";
|
461
|
+
readonly "8138": "Eyeball Collection";
|
462
|
+
readonly "8139": "Taste of Blood";
|
463
|
+
readonly "8143": "Sudden Impact";
|
464
|
+
readonly "9923": "Hail of Blades";
|
465
|
+
readonly "8005": "Press the Attack";
|
466
|
+
readonly "8008": "Lethal Tempo";
|
467
|
+
readonly "8009": "Presence of Mind";
|
468
|
+
readonly "8010": "Conqueror";
|
469
|
+
readonly "8014": "Coup de Grace";
|
470
|
+
readonly "8017": "Cut Down";
|
471
|
+
readonly "8021": "Fleet Footwork";
|
472
|
+
readonly "8299": "Last Stand";
|
473
|
+
readonly "9101": "Overheal";
|
474
|
+
readonly "9103": "Legend: Bloodline";
|
475
|
+
readonly "9104": "Legend: Alacrity";
|
476
|
+
readonly "9105": "Legend: Tenacity";
|
477
|
+
readonly "9111": "Triumph";
|
478
|
+
};
|
479
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RuneSets = exports.All = exports.StatRunes = exports.Keystones = exports.SecondaryTrees = exports.PrimaryTrees = void 0;
|
4
|
+
exports.PrimaryTrees = { "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
|
+
exports.SecondaryTrees = { "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
|
+
exports.Keystones = { "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
|
+
exports.StatRunes = { "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
|
+
exports.All = { ...exports.PrimaryTrees.Precision, ...exports.PrimaryTrees.Domination, ...exports.PrimaryTrees.Sorcery, ...exports.PrimaryTrees.Resolve, ...exports.PrimaryTrees.Inspiration, ...exports.StatRunes };
|
9
|
+
/**
|
10
|
+
* 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.
|
11
|
+
*/
|
12
|
+
exports.RuneSets = { PrimaryTrees: exports.PrimaryTrees, SecondaryTrees: exports.SecondaryTrees, Keystones: exports.Keystones, StatRunes: exports.StatRunes, All: exports.All };
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionId, ChampionKey } from '
|
1
|
+
import { ChampionId, ChampionKey } from '../../types';
|
2
2
|
export declare function getChampionIdByKey(key: ChampionKey): ChampionId;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.getChampionIdByKey = void 0;
|
4
|
-
const ChampionIds_1 = require("
|
4
|
+
const ChampionIds_1 = require("../../Constants/Champions/ChampionIds");
|
5
5
|
function getChampionIdByKey(key) {
|
6
6
|
return ChampionIds_1.ChampionIds[key];
|
7
7
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionId, ChampionName } from '
|
1
|
+
import { ChampionId, ChampionName } from '../../types';
|
2
2
|
export declare function getChampionIdByName(name: ChampionName): ChampionId;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.getChampionIdByName = void 0;
|
4
|
-
const ChampionIdsByName_1 = require("
|
4
|
+
const ChampionIdsByName_1 = require("../../Constants/Champions/ChampionIdsByName");
|
5
5
|
function getChampionIdByName(name) {
|
6
6
|
return ChampionIdsByName_1.ChampionIdsByName[name];
|
7
7
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionId, ChampionKey } from '
|
1
|
+
import { ChampionId, ChampionKey } from '../../types';
|
2
2
|
export declare function getChampionKeyById(id: ChampionId): ChampionKey;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.getChampionKeyById = void 0;
|
4
|
-
const ChampionKeys_1 = require("
|
4
|
+
const ChampionKeys_1 = require("../../Constants/Champions/ChampionKeys");
|
5
5
|
function getChampionKeyById(id) {
|
6
6
|
return ChampionKeys_1.ChampionKeys[id];
|
7
7
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionKey, ChampionName } from '
|
1
|
+
import { ChampionKey, ChampionName } from '../../types';
|
2
2
|
export declare function getChampionKeyByName(name: ChampionName): ChampionKey;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.getChampionKeyByName = void 0;
|
4
|
-
const ChampionIdsByName_1 = require("
|
5
|
-
const ChampionKeys_1 = require("
|
4
|
+
const ChampionIdsByName_1 = require("../../Constants/Champions/ChampionIdsByName");
|
5
|
+
const ChampionKeys_1 = require("../../Constants/Champions/ChampionKeys");
|
6
6
|
function getChampionKeyByName(name) {
|
7
7
|
return ChampionKeys_1.ChampionKeys[ChampionIdsByName_1.ChampionIdsByName[name]];
|
8
8
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionId, ChampionName } from '
|
1
|
+
import { ChampionId, ChampionName } from '../../types';
|
2
2
|
export declare function getChampionNameById(id: ChampionId): ChampionName;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.getChampionNameById = void 0;
|
4
|
-
const ChampionKeys_1 = require("
|
5
|
-
const ChampionNames_1 = require("
|
4
|
+
const ChampionKeys_1 = require("../../Constants/Champions/ChampionKeys");
|
5
|
+
const ChampionNames_1 = require("../../Constants/Champions/ChampionNames");
|
6
6
|
function getChampionNameById(id) {
|
7
7
|
return ChampionNames_1.ChampionNames[ChampionKeys_1.ChampionKeys[id]];
|
8
8
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionKey, ChampionName } from '
|
1
|
+
import { ChampionKey, ChampionName } from '../../types';
|
2
2
|
export declare function getChampionNameByKey(key: ChampionKey): ChampionName;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.getChampionNameByKey = void 0;
|
4
|
-
const ChampionNames_1 = require("
|
4
|
+
const ChampionNames_1 = require("../../Constants/Champions/ChampionNames");
|
5
5
|
function getChampionNameByKey(key) {
|
6
6
|
return ChampionNames_1.ChampionNames[key];
|
7
7
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionId } from '
|
1
|
+
import { ChampionId } from '../../types';
|
2
2
|
export declare function isChampionId(id: string): id is ChampionId;
|