lol-constants 2.26.0 → 3.0.0-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +130 -28
- package/dist/Locale.d.ts +2 -0
- package/dist/Patch.d.ts +3 -0
- package/dist/Patch.js +3 -0
- package/{core/constants/Champions/ChampionClasses.d.ts → dist/constants/custom.d.ts} +1 -1
- package/{core/constants/Champions/ChampionClasses.js → dist/constants/custom.js} +2 -2
- package/dist/constants/events.d.ts +49 -0
- package/dist/constants/events.js +55 -0
- package/dist/constants/history.d.ts +26 -0
- package/dist/constants/history.js +29 -0
- package/{core/constants/RankedTiers.d.ts → dist/constants/leagues.d.ts} +9 -1
- package/{core/constants/RankedTiers.js → dist/constants/leagues.js} +11 -2
- package/{core/constants/Locales.d.ts → dist/constants/locales.d.ts} +1 -1
- package/{core/constants/Locales.js → dist/constants/locales.js} +2 -2
- package/dist/constants/participants.d.ts +38 -0
- package/dist/constants/participants.js +43 -0
- package/dist/enums/ItemSrTypes.d.ts +11 -0
- package/dist/enums/ItemSrTypes.js +10 -0
- package/dist/enums/StatRuneSlots.d.ts +6 -0
- package/dist/enums/StatRuneSlots.js +5 -0
- package/dist/helpers/champion.d.ts +678 -0
- package/dist/helpers/champion.js +18 -0
- package/dist/helpers/item.d.ts +39 -0
- package/dist/helpers/item.js +113 -0
- package/dist/helpers/riotId.d.ts +16 -0
- package/dist/helpers/riotId.js +34 -0
- package/dist/helpers/rune.d.ts +36 -0
- package/dist/helpers/rune.js +70 -0
- package/dist/helpers/spell.d.ts +6 -0
- package/dist/helpers/spell.js +18 -0
- package/dist/helpers/type.d.ts +3 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +27 -0
- package/dist/lol.d.ts +4029 -0
- package/dist/lol.js +182 -0
- package/dist/objects/Maps.d.ts +113 -0
- package/dist/objects/Maps.js +69 -0
- package/dist/objects/Queues.d.ts +192 -0
- package/dist/objects/Queues.js +71 -0
- package/dist/objects/Regions.d.ts +132 -0
- package/dist/objects/Regions.js +55 -0
- package/dist/objects/generated/Champions.d.ts +1858 -0
- package/dist/objects/generated/Champions.js +4 -0
- package/dist/objects/generated/Items.d.ts +5108 -0
- package/dist/objects/generated/Items.js +4 -0
- package/dist/objects/generated/Runes.d.ts +1477 -0
- package/dist/objects/generated/Runes.js +13 -0
- package/dist/objects/generated/Spells.d.ts +208 -0
- package/dist/objects/generated/Spells.js +4 -0
- package/package.json +17 -15
- package/assets/constants/BootsItemNames.d.ts +0 -1
- package/assets/constants/BootsItemNames.js +0 -13
- package/assets/constants/LegendaryItemNames.d.ts +0 -4
- package/assets/constants/LegendaryItemNames.js +0 -125
- package/assets/constants/StatRunes.d.ts +0 -28
- package/assets/constants/StatRunes.js +0 -11
- package/assets/constants/StatRunesByRow.d.ts +0 -17
- package/assets/constants/StatRunesByRow.js +0 -17
- package/assets/constants/base/Champion.d.ts +0 -7903
- package/assets/constants/base/Champion.js +0 -1
- package/assets/constants/base/Item.d.ts +0 -21193
- package/assets/constants/base/Item.js +0 -1
- package/assets/constants/base/RunesReforged.d.ts +0 -491
- package/assets/constants/base/RunesReforged.js +0 -1
- package/assets/constants/base/Summoner.d.ts +0 -582
- package/assets/constants/base/Summoner.js +0 -1
- package/assets/index.d.ts +0 -4
- package/assets/index.js +0 -11
- package/assets/scripts/asset-scripts/champion.js +0 -10
- package/assets/scripts/asset-scripts/generate-all.d.ts +0 -4
- package/assets/scripts/asset-scripts/generate-all.js +0 -4
- package/assets/scripts/asset-scripts/item.d.ts +0 -1
- package/assets/scripts/asset-scripts/item.js +0 -10
- package/assets/scripts/asset-scripts/runes-reforged.d.ts +0 -1
- package/assets/scripts/asset-scripts/runes-reforged.js +0 -10
- package/assets/scripts/asset-scripts/summoner.d.ts +0 -1
- package/assets/scripts/asset-scripts/summoner.js +0 -10
- package/assets/scripts/constants/RuneIdComment.d.ts +0 -1
- package/assets/scripts/constants/RuneIdComment.js +0 -24
- package/assets/scripts/generate-all.d.ts +0 -23
- package/assets/scripts/generate-all.js +0 -27
- package/assets/scripts/generate-categorized-item-keys-num.d.ts +0 -1
- package/assets/scripts/generate-categorized-item-keys-num.js +0 -57
- package/assets/scripts/generate-categorized-item-keys.d.ts +0 -1
- package/assets/scripts/generate-categorized-item-keys.js +0 -59
- package/assets/scripts/generate-categorized-item-names.d.ts +0 -1
- package/assets/scripts/generate-categorized-item-names.js +0 -56
- package/assets/scripts/generate-champion-ids-by-name.d.ts +0 -1
- package/assets/scripts/generate-champion-ids-by-name.js +0 -17
- package/assets/scripts/generate-champion-ids.d.ts +0 -1
- package/assets/scripts/generate-champion-ids.js +0 -18
- package/assets/scripts/generate-champion-keys-num.d.ts +0 -1
- package/assets/scripts/generate-champion-keys-num.js +0 -20
- package/assets/scripts/generate-champion-keys.d.ts +0 -1
- package/assets/scripts/generate-champion-keys.js +0 -18
- package/assets/scripts/generate-champion-names.d.ts +0 -1
- package/assets/scripts/generate-champion-names.js +0 -18
- package/assets/scripts/generate-item-keys-num.d.ts +0 -1
- package/assets/scripts/generate-item-keys-num.js +0 -24
- package/assets/scripts/generate-item-keys.d.ts +0 -1
- package/assets/scripts/generate-item-keys.js +0 -22
- package/assets/scripts/generate-item-names.d.ts +0 -1
- package/assets/scripts/generate-item-names.js +0 -22
- package/assets/scripts/generate-non-stat-rune-ids-num.d.ts +0 -1
- package/assets/scripts/generate-non-stat-rune-ids-num.js +0 -21
- package/assets/scripts/generate-non-stat-rune-ids.d.ts +0 -1
- package/assets/scripts/generate-non-stat-rune-ids.js +0 -22
- package/assets/scripts/generate-non-stat-rune-names.d.ts +0 -1
- package/assets/scripts/generate-non-stat-rune-names.js +0 -20
- package/assets/scripts/generate-rune-ids.d.ts +0 -1
- package/assets/scripts/generate-rune-ids.js +0 -27
- package/assets/scripts/generate-rune-names.d.ts +0 -1
- package/assets/scripts/generate-rune-names.js +0 -25
- package/assets/scripts/generate-rune-picking-relationships.d.ts +0 -1
- package/assets/scripts/generate-rune-picking-relationships.js +0 -52
- package/assets/scripts/generate-rune-sets-by-rune-names-num.d.ts +0 -1
- package/assets/scripts/generate-rune-sets-by-rune-names-num.js +0 -121
- package/assets/scripts/generate-rune-sets-by-rune-names.d.ts +0 -1
- package/assets/scripts/generate-rune-sets-by-rune-names.js +0 -119
- package/assets/scripts/generate-rune-sets.d.ts +0 -1
- package/assets/scripts/generate-rune-sets.js +0 -116
- package/assets/scripts/generate-spell-ids-by-name.d.ts +0 -1
- package/assets/scripts/generate-spell-ids-by-name.js +0 -17
- package/assets/scripts/generate-spell-ids.d.ts +0 -1
- package/assets/scripts/generate-spell-ids.js +0 -18
- package/assets/scripts/generate-spell-keys-num.d.ts +0 -1
- package/assets/scripts/generate-spell-keys-num.js +0 -20
- package/assets/scripts/generate-spell-keys.d.ts +0 -1
- package/assets/scripts/generate-spell-keys.js +0 -18
- package/assets/scripts/generate-spell-names.d.ts +0 -1
- package/assets/scripts/generate-spell-names.js +0 -18
- package/assets/scripts/generate-stat-rune-ids.d.ts +0 -1
- package/assets/scripts/generate-stat-rune-ids.js +0 -18
- package/assets/scripts/generate-stat-rune-names.d.ts +0 -1
- package/assets/scripts/generate-stat-rune-names.js +0 -16
- package/assets/scripts/helpers/enableEscapedValues.d.ts +0 -15
- package/assets/scripts/helpers/enableEscapedValues.js +0 -34
- package/assets/scripts/helpers/generateIndexFile.d.ts +0 -1
- package/assets/scripts/helpers/generateIndexFile.js +0 -3
- package/assets/scripts/helpers/getExportStatement.d.ts +0 -6
- package/assets/scripts/helpers/getExportStatement.js +0 -37
- package/assets/scripts/helpers/getFmtdComment.d.ts +0 -5
- package/assets/scripts/helpers/getFmtdComment.js +0 -11
- package/assets/scripts/helpers/validateNumber.d.ts +0 -1
- package/assets/scripts/helpers/validateNumber.js +0 -6
- package/assets/scripts/helpers/writeToTmpFile.d.ts +0 -13
- package/assets/scripts/helpers/writeToTmpFile.js +0 -18
- package/assets/scripts/print-file-names.d.ts +0 -1
- package/assets/scripts/print-file-names.js +0 -89
- package/core/Locale.d.ts +0 -2
- package/core/PatchVersion.d.ts +0 -1
- package/core/PatchVersion.js +0 -1
- package/core/constants/Abilities.d.ts +0 -17
- package/core/constants/Abilities.js +0 -19
- package/core/constants/BuildingTypes.d.ts +0 -6
- package/core/constants/BuildingTypes.js +0 -7
- package/core/constants/Champions/ChampionIds.d.ts +0 -171
- package/core/constants/Champions/ChampionIds.js +0 -1
- package/core/constants/Champions/ChampionIdsByName.d.ts +0 -170
- package/core/constants/Champions/ChampionIdsByName.js +0 -1
- package/core/constants/Champions/ChampionKeys.d.ts +0 -171
- package/core/constants/Champions/ChampionKeys.js +0 -1
- package/core/constants/Champions/ChampionKeysNum.d.ts +0 -171
- package/core/constants/Champions/ChampionKeysNum.js +0 -1
- package/core/constants/Champions/ChampionNames.d.ts +0 -171
- package/core/constants/Champions/ChampionNames.js +0 -1
- package/core/constants/Continents.d.ts +0 -8
- package/core/constants/Continents.js +0 -9
- package/core/constants/DataDragonUrls.d.ts +0 -52
- package/core/constants/DataDragonUrls.js +0 -58
- package/core/constants/DragonTypes.d.ts +0 -11
- package/core/constants/DragonTypes.js +0 -12
- package/core/constants/GameModes.d.ts +0 -12
- package/core/constants/GameModes.js +0 -13
- package/core/constants/GameTypes.d.ts +0 -7
- package/core/constants/GameTypes.js +0 -8
- package/core/constants/Items/BootsItemKeys.d.ts +0 -14
- package/core/constants/Items/BootsItemKeys.js +0 -1
- package/core/constants/Items/BootsItemKeysNum.d.ts +0 -14
- package/core/constants/Items/BootsItemKeysNum.js +0 -1
- package/core/constants/Items/BootsItemNames.d.ts +0 -14
- package/core/constants/Items/BootsItemNames.js +0 -1
- package/core/constants/Items/ItemKeys.d.ts +0 -238
- package/core/constants/Items/ItemKeys.js +0 -1
- package/core/constants/Items/ItemKeysNum.d.ts +0 -238
- package/core/constants/Items/ItemKeysNum.js +0 -1
- package/core/constants/Items/ItemNames.d.ts +0 -244
- package/core/constants/Items/ItemNames.js +0 -1
- package/core/constants/Items/ItemTypes.d.ts +0 -7
- package/core/constants/Items/ItemTypes.js +0 -8
- package/core/constants/Items/LegendaryItemKeys.d.ts +0 -112
- package/core/constants/Items/LegendaryItemKeys.js +0 -1
- package/core/constants/Items/LegendaryItemKeysNum.d.ts +0 -112
- package/core/constants/Items/LegendaryItemKeysNum.js +0 -1
- package/core/constants/Items/LegendaryItemNames.d.ts +0 -112
- package/core/constants/Items/LegendaryItemNames.js +0 -1
- package/core/constants/KillTypes.d.ts +0 -7
- package/core/constants/KillTypes.js +0 -8
- package/core/constants/LaneTypes.d.ts +0 -7
- package/core/constants/LaneTypes.js +0 -8
- package/core/constants/Lanes.d.ts +0 -8
- package/core/constants/Lanes.js +0 -9
- package/core/constants/LeagueTexts.d.ts +0 -49
- package/core/constants/LeagueTexts.js +0 -54
- package/core/constants/Levels.d.ts +0 -22
- package/core/constants/Levels.js +0 -23
- package/core/constants/MapIds.d.ts +0 -17
- package/core/constants/MapIds.js +0 -18
- package/core/constants/MonsterTypes.d.ts +0 -8
- package/core/constants/MonsterTypes.js +0 -9
- package/core/constants/ParticipantIds.d.ts +0 -14
- package/core/constants/ParticipantIds.js +0 -15
- package/core/constants/PlatformApiUris.d.ts +0 -20
- package/core/constants/PlatformApiUris.js +0 -21
- package/core/constants/PlatformIds.d.ts +0 -23
- package/core/constants/PlatformIds.js +0 -26
- package/core/constants/Positions.d.ts +0 -9
- package/core/constants/Positions.js +0 -10
- package/core/constants/QueueIds.d.ts +0 -114
- package/core/constants/QueueIds.js +0 -140
- package/core/constants/QueueTypes.d.ts +0 -7
- package/core/constants/QueueTypes.js +0 -8
- package/core/constants/RankedRanks.d.ts +0 -8
- package/core/constants/RankedRanks.js +0 -9
- package/core/constants/RegionalApiUris.d.ts +0 -8
- package/core/constants/RegionalApiUris.js +0 -9
- package/core/constants/Regions.d.ts +0 -23
- package/core/constants/Regions.js +0 -26
- package/core/constants/RelativeTeams.d.ts +0 -6
- package/core/constants/RelativeTeams.js +0 -7
- package/core/constants/Roles.d.ts +0 -8
- package/core/constants/Roles.js +0 -9
- package/core/constants/Runes/NonStatRuneIds.d.ts +0 -85
- package/core/constants/Runes/NonStatRuneIds.js +0 -1
- package/core/constants/Runes/NonStatRuneIdsNum.d.ts +0 -63
- package/core/constants/Runes/NonStatRuneIdsNum.js +0 -1
- package/core/constants/Runes/NonStatRuneNames.d.ts +0 -63
- package/core/constants/Runes/NonStatRuneNames.js +0 -1
- package/core/constants/Runes/RuneIconFileNames.d.ts +0 -14
- package/core/constants/Runes/RuneIconFileNames.js +0 -97
- package/core/constants/Runes/RunePickingRelationships.d.ts +0 -74
- package/core/constants/Runes/RunePickingRelationships.js +0 -4
- package/core/constants/Runes/RuneSets.d.ts +0 -721
- package/core/constants/Runes/RuneSets.js +0 -11
- package/core/constants/Runes/RuneSetsByRuneNames.d.ts +0 -765
- package/core/constants/Runes/RuneSetsByRuneNames.js +0 -11
- package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +0 -765
- package/core/constants/Runes/RuneSetsByRuneNamesNum.js +0 -11
- package/core/constants/Runes/RuneTreeIds.d.ts +0 -11
- package/core/constants/Runes/RuneTreeIds.js +0 -14
- package/core/constants/Runes/RuneTreeIdsNum.d.ts +0 -11
- package/core/constants/Runes/RuneTreeIdsNum.js +0 -14
- package/core/constants/Runes/RuneTreeNames.d.ts +0 -11
- package/core/constants/Runes/RuneTreeNames.js +0 -14
- package/core/constants/Runes/RuneTreeTypes.d.ts +0 -6
- package/core/constants/Runes/RuneTreeTypes.js +0 -7
- package/core/constants/SkillSlots.d.ts +0 -8
- package/core/constants/SkillSlots.js +0 -9
- package/core/constants/Skills.d.ts +0 -8
- package/core/constants/Skills.js +0 -9
- package/core/constants/Spells/SpellIds.d.ts +0 -21
- package/core/constants/Spells/SpellIds.js +0 -1
- package/core/constants/Spells/SpellIdsByName.d.ts +0 -18
- package/core/constants/Spells/SpellIdsByName.js +0 -1
- package/core/constants/Spells/SpellKeys.d.ts +0 -21
- package/core/constants/Spells/SpellKeys.js +0 -1
- package/core/constants/Spells/SpellKeysNum.d.ts +0 -21
- package/core/constants/Spells/SpellKeysNum.js +0 -1
- package/core/constants/Spells/SpellNames.d.ts +0 -21
- package/core/constants/Spells/SpellNames.js +0 -1
- package/core/constants/TeamIds.d.ts +0 -6
- package/core/constants/TeamIds.js +0 -7
- package/core/constants/TowerTypes.d.ts +0 -8
- package/core/constants/TowerTypes.js +0 -9
- package/core/constants/WardTypes.d.ts +0 -9
- package/core/constants/WardTypes.js +0 -10
- package/core/helpers/Champions/getChampionIdByKey.d.ts +0 -4
- package/core/helpers/Champions/getChampionIdByKey.js +0 -4
- package/core/helpers/Champions/getChampionIdByName.d.ts +0 -3
- package/core/helpers/Champions/getChampionIdByName.js +0 -4
- package/core/helpers/Champions/getChampionKeyById.d.ts +0 -3
- package/core/helpers/Champions/getChampionKeyById.js +0 -4
- package/core/helpers/Champions/getChampionKeyByName.d.ts +0 -3
- package/core/helpers/Champions/getChampionKeyByName.js +0 -5
- package/core/helpers/Champions/getChampionNameById.d.ts +0 -3
- package/core/helpers/Champions/getChampionNameById.js +0 -5
- package/core/helpers/Champions/getChampionNameByKey.d.ts +0 -4
- package/core/helpers/Champions/getChampionNameByKey.js +0 -4
- package/core/helpers/Champions/isChampionId.d.ts +0 -2
- package/core/helpers/Champions/isChampionId.js +0 -4
- package/core/helpers/Champions/isChampionKey.d.ts +0 -2
- package/core/helpers/Champions/isChampionKey.js +0 -4
- package/core/helpers/Champions/isChampionKeyNum.d.ts +0 -2
- package/core/helpers/Champions/isChampionKeyNum.js +0 -4
- package/core/helpers/Champions/isChampionName.d.ts +0 -2
- package/core/helpers/Champions/isChampionName.js +0 -4
- package/core/helpers/Items/getItemKeyByName.d.ts +0 -3
- package/core/helpers/Items/getItemKeyByName.js +0 -4
- package/core/helpers/Items/getItemKeyNumByName.d.ts +0 -3
- package/core/helpers/Items/getItemKeyNumByName.js +0 -4
- package/core/helpers/Items/getItemNameByKey.d.ts +0 -4
- package/core/helpers/Items/getItemNameByKey.js +0 -4
- package/core/helpers/Items/isBootsItemKey.d.ts +0 -2
- package/core/helpers/Items/isBootsItemKey.js +0 -4
- package/core/helpers/Items/isBootsItemKeyNum.d.ts +0 -2
- package/core/helpers/Items/isBootsItemKeyNum.js +0 -4
- package/core/helpers/Items/isBootsItemName.d.ts +0 -2
- package/core/helpers/Items/isBootsItemName.js +0 -4
- package/core/helpers/Items/isItemKey.d.ts +0 -2
- package/core/helpers/Items/isItemKey.js +0 -4
- package/core/helpers/Items/isItemKeyNum.d.ts +0 -2
- package/core/helpers/Items/isItemKeyNum.js +0 -4
- package/core/helpers/Items/isItemName.d.ts +0 -2
- package/core/helpers/Items/isItemName.js +0 -4
- package/core/helpers/Items/isLegendaryItemKey.d.ts +0 -2
- package/core/helpers/Items/isLegendaryItemKey.js +0 -4
- package/core/helpers/Items/isLegendaryItemKeyNum.d.ts +0 -2
- package/core/helpers/Items/isLegendaryItemKeyNum.js +0 -4
- package/core/helpers/Items/isLegendaryItemName.d.ts +0 -2
- package/core/helpers/Items/isLegendaryItemName.js +0 -4
- package/core/helpers/Items/isTier2Boots.d.ts +0 -3
- package/core/helpers/Items/isTier2Boots.js +0 -9
- package/core/helpers/Runes/getNonStatRuneIdByName.d.ts +0 -3
- package/core/helpers/Runes/getNonStatRuneIdByName.js +0 -4
- package/core/helpers/Runes/getNonStatRuneNameById.d.ts +0 -3
- package/core/helpers/Runes/getNonStatRuneNameById.js +0 -4
- package/core/helpers/Runes/getRuneCategoryName.d.ts +0 -4
- package/core/helpers/Runes/getRuneCategoryName.js +0 -16
- package/core/helpers/Runes/getRuneCdnUrl.d.ts +0 -3
- package/core/helpers/Runes/getRuneCdnUrl.js +0 -50
- package/core/helpers/Runes/getRuneIdByName.d.ts +0 -3
- package/core/helpers/Runes/getRuneIdByName.js +0 -4
- package/core/helpers/Runes/getRuneNameById.d.ts +0 -3
- package/core/helpers/Runes/getRuneNameById.js +0 -4
- package/core/helpers/Runes/getStatRuneIdByName.d.ts +0 -3
- package/core/helpers/Runes/getStatRuneIdByName.js +0 -4
- package/core/helpers/Runes/getStatRuneNameById.d.ts +0 -3
- package/core/helpers/Runes/getStatRuneNameById.js +0 -4
- package/core/helpers/Runes/isDominationRuneId.d.ts +0 -2
- package/core/helpers/Runes/isDominationRuneId.js +0 -4
- package/core/helpers/Runes/isDominationRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isDominationRuneIdNum.js +0 -4
- package/core/helpers/Runes/isDominationRuneName.d.ts +0 -2
- package/core/helpers/Runes/isDominationRuneName.js +0 -4
- package/core/helpers/Runes/isInspirationRuneId.d.ts +0 -2
- package/core/helpers/Runes/isInspirationRuneId.js +0 -4
- package/core/helpers/Runes/isInspirationRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isInspirationRuneIdNum.js +0 -4
- package/core/helpers/Runes/isInspirationRuneName.d.ts +0 -2
- package/core/helpers/Runes/isInspirationRuneName.js +0 -4
- package/core/helpers/Runes/isKeystoneRuneId.d.ts +0 -2
- package/core/helpers/Runes/isKeystoneRuneId.js +0 -4
- package/core/helpers/Runes/isKeystoneRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isKeystoneRuneIdNum.js +0 -4
- package/core/helpers/Runes/isKeystoneRuneName.d.ts +0 -2
- package/core/helpers/Runes/isKeystoneRuneName.js +0 -4
- package/core/helpers/Runes/isNonStatRuneId.d.ts +0 -2
- package/core/helpers/Runes/isNonStatRuneId.js +0 -4
- package/core/helpers/Runes/isNonStatRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isNonStatRuneIdNum.js +0 -4
- package/core/helpers/Runes/isNonStatRuneName.d.ts +0 -2
- package/core/helpers/Runes/isNonStatRuneName.js +0 -4
- package/core/helpers/Runes/isPrecisionRuneId.d.ts +0 -2
- package/core/helpers/Runes/isPrecisionRuneId.js +0 -4
- package/core/helpers/Runes/isPrecisionRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isPrecisionRuneIdNum.js +0 -4
- package/core/helpers/Runes/isPrecisionRuneName.d.ts +0 -2
- package/core/helpers/Runes/isPrecisionRuneName.js +0 -4
- package/core/helpers/Runes/isResolveRuneId.d.ts +0 -2
- package/core/helpers/Runes/isResolveRuneId.js +0 -4
- package/core/helpers/Runes/isResolveRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isResolveRuneIdNum.js +0 -4
- package/core/helpers/Runes/isResolveRuneName.d.ts +0 -2
- package/core/helpers/Runes/isResolveRuneName.js +0 -4
- package/core/helpers/Runes/isRuneId.d.ts +0 -2
- package/core/helpers/Runes/isRuneId.js +0 -4
- package/core/helpers/Runes/isRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isRuneIdNum.js +0 -4
- package/core/helpers/Runes/isRuneName.d.ts +0 -2
- package/core/helpers/Runes/isRuneName.js +0 -4
- package/core/helpers/Runes/isSorceryRuneId.d.ts +0 -2
- package/core/helpers/Runes/isSorceryRuneId.js +0 -4
- package/core/helpers/Runes/isSorceryRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isSorceryRuneIdNum.js +0 -4
- package/core/helpers/Runes/isSorceryRuneName.d.ts +0 -2
- package/core/helpers/Runes/isSorceryRuneName.js +0 -4
- package/core/helpers/Runes/isStatRuneId.d.ts +0 -2
- package/core/helpers/Runes/isStatRuneId.js +0 -4
- package/core/helpers/Runes/isStatRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isStatRuneIdNum.js +0 -4
- package/core/helpers/Runes/isStatRuneName.d.ts +0 -2
- package/core/helpers/Runes/isStatRuneName.js +0 -4
- package/core/helpers/Spells/getSpellIdByKey.d.ts +0 -4
- package/core/helpers/Spells/getSpellIdByKey.js +0 -4
- package/core/helpers/Spells/getSpellIdByName.d.ts +0 -3
- package/core/helpers/Spells/getSpellIdByName.js +0 -4
- package/core/helpers/Spells/getSpellKeyById.d.ts +0 -3
- package/core/helpers/Spells/getSpellKeyById.js +0 -4
- package/core/helpers/Spells/getSpellKeyByName.d.ts +0 -3
- package/core/helpers/Spells/getSpellKeyByName.js +0 -5
- package/core/helpers/Spells/getSpellNameById.d.ts +0 -3
- package/core/helpers/Spells/getSpellNameById.js +0 -5
- package/core/helpers/Spells/getSpellNameByKey.d.ts +0 -4
- package/core/helpers/Spells/getSpellNameByKey.js +0 -4
- package/core/helpers/Spells/isSpellId.d.ts +0 -2
- package/core/helpers/Spells/isSpellId.js +0 -4
- package/core/helpers/Spells/isSpellKey.d.ts +0 -2
- package/core/helpers/Spells/isSpellKey.js +0 -4
- package/core/helpers/Spells/isSpellKeyNum.d.ts +0 -2
- package/core/helpers/Spells/isSpellKeyNum.js +0 -4
- package/core/helpers/Spells/isSpellName.d.ts +0 -2
- package/core/helpers/Spells/isSpellName.js +0 -4
- package/core/helpers/getPositionImageUrl.d.ts +0 -2
- package/core/helpers/getPositionImageUrl.js +0 -11
- package/core/helpers/isRiotId.d.ts +0 -5
- package/core/helpers/isRiotId.js +0 -15
- package/core/helpers/makeRiotId.d.ts +0 -4
- package/core/helpers/makeRiotId.js +0 -5
- package/core/helpers/splitRiotId.d.ts +0 -10
- package/core/helpers/splitRiotId.js +0 -16
- package/core/index.d.ts +0 -139
- package/core/index.js +0 -150
- package/core/types/championJson.d.ts +0 -85
- package/core/types/championJson.js +0 -1
- package/core/types/interfaces.d.ts +0 -22
- package/core/types/interfaces.js +0 -1
- package/core/types/types.d.ts +0 -268
- package/core/types/types.js +0 -1
- /package/{core → dist}/Locale.js +0 -0
- /package/{assets/scripts/asset-scripts/champion.d.ts → dist/helpers/type.js} +0 -0
@@ -1,140 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* 0 — Custom games
|
3
|
-
*
|
4
|
-
* 400 — 5v5 Draft Pick games
|
5
|
-
*
|
6
|
-
* 420 — 5v5 Ranked Solo games
|
7
|
-
*
|
8
|
-
* 430 — 5v5 Blind Pick games
|
9
|
-
*
|
10
|
-
* 440 — 5v5 Ranked Flex games
|
11
|
-
*
|
12
|
-
* 450 — 5v5 ARAM games
|
13
|
-
*
|
14
|
-
* 700 — Clash games
|
15
|
-
*
|
16
|
-
* 720 — ARAM Clash games
|
17
|
-
*
|
18
|
-
* 830 — Co-op vs. AI Intro Bot games
|
19
|
-
*
|
20
|
-
* 840 — Co-op vs. AI Beginner Bot games
|
21
|
-
*
|
22
|
-
* 850 — Co-op vs. AI Intermediate Bot games
|
23
|
-
*
|
24
|
-
* 900 — ARURF games
|
25
|
-
*
|
26
|
-
* 920 — Legend of the Poro King games
|
27
|
-
*
|
28
|
-
* 1010 — Snow ARURF games
|
29
|
-
*
|
30
|
-
* 1020 — One for All games
|
31
|
-
*
|
32
|
-
* 1090 — Teamfight Tactics games
|
33
|
-
*
|
34
|
-
* 1100 — Ranked Teamfight Tactics games
|
35
|
-
*
|
36
|
-
* 1110 — Teamfight Tactics Tutorial games
|
37
|
-
*
|
38
|
-
* 1111 — Teamfight Tactics test games
|
39
|
-
*
|
40
|
-
* 1300 — Nexus Blitz games
|
41
|
-
*
|
42
|
-
* 1400 — Ultimate Spellbook games
|
43
|
-
*
|
44
|
-
* 1700 — Arena 2v2v2v2
|
45
|
-
*
|
46
|
-
* 1900 — Pick URF games
|
47
|
-
*
|
48
|
-
* 2000 — Tutorial 1
|
49
|
-
*
|
50
|
-
* 2010 — Tutorial 2
|
51
|
-
*
|
52
|
-
* 2020 — Tutorial 3
|
53
|
-
*/
|
54
|
-
export const QueueIds = {
|
55
|
-
0: 0,
|
56
|
-
400: 400,
|
57
|
-
420: 420,
|
58
|
-
430: 430,
|
59
|
-
440: 440,
|
60
|
-
450: 450,
|
61
|
-
700: 700,
|
62
|
-
720: 720,
|
63
|
-
830: 830,
|
64
|
-
840: 840,
|
65
|
-
850: 850,
|
66
|
-
900: 900,
|
67
|
-
920: 920,
|
68
|
-
1010: 1010,
|
69
|
-
1020: 1020,
|
70
|
-
1090: 1090,
|
71
|
-
1100: 1100,
|
72
|
-
1110: 1110,
|
73
|
-
1111: 1111,
|
74
|
-
1300: 1300,
|
75
|
-
1400: 1400,
|
76
|
-
1700: 1700,
|
77
|
-
1900: 1900,
|
78
|
-
2000: 2000,
|
79
|
-
2010: 2010,
|
80
|
-
2020: 2020,
|
81
|
-
};
|
82
|
-
export function isQueueId(value) {
|
83
|
-
return value in QueueIds;
|
84
|
-
}
|
85
|
-
export const QueueDescriptions = {
|
86
|
-
0: 'Custom',
|
87
|
-
400: '5v5 Draft Pick',
|
88
|
-
420: '5v5 Ranked Solo',
|
89
|
-
430: '5v5 Blind Pick',
|
90
|
-
440: '5v5 Ranked Flex',
|
91
|
-
450: '5v5 ARAM',
|
92
|
-
700: 'Clash',
|
93
|
-
720: 'ARAM Clash',
|
94
|
-
830: 'Co-op vs. AI Intro Bots',
|
95
|
-
840: 'Co-op vs. AI Beginner Bots',
|
96
|
-
850: 'Co-op vs. AI Intermediate Bots',
|
97
|
-
900: 'ARURF',
|
98
|
-
920: 'Legend of the Poro King',
|
99
|
-
1010: 'Snow ARURF',
|
100
|
-
1020: 'One for All',
|
101
|
-
1090: 'Teamfight Tactics',
|
102
|
-
1100: 'Ranked Teamfight Tactics',
|
103
|
-
1110: 'Teamfight Tactics Tutorial',
|
104
|
-
1111: 'Teamfight Tactics test',
|
105
|
-
1300: 'Nexus Blitz',
|
106
|
-
1400: 'Ultimate Spellbook',
|
107
|
-
1700: 'Arena 2v2v2v2',
|
108
|
-
1900: 'URF',
|
109
|
-
2000: 'Tutorial 1',
|
110
|
-
2010: 'Tutorial 2',
|
111
|
-
2020: 'Tutorial 3',
|
112
|
-
};
|
113
|
-
export const QueueDescriptionsToIds = {
|
114
|
-
'Custom': 0,
|
115
|
-
'5v5 Draft Pick': 400,
|
116
|
-
'5v5 Ranked Solo': 420,
|
117
|
-
'5v5 Blind Pick': 430,
|
118
|
-
'5v5 Ranked Flex': 440,
|
119
|
-
'5v5 ARAM': 450,
|
120
|
-
'Clash': 700,
|
121
|
-
'ARAM Clash': 720,
|
122
|
-
'Co-op vs. AI Intro Bots': 830,
|
123
|
-
'Co-op vs. AI Beginner Bots': 840,
|
124
|
-
'Co-op vs. AI Intermediate Bots': 850,
|
125
|
-
'ARURF': 900,
|
126
|
-
'Legend of the Poro King': 920,
|
127
|
-
'Snow ARURF': 1010,
|
128
|
-
'One for All': 1020,
|
129
|
-
'Teamfight Tactics': 1090,
|
130
|
-
'Ranked Teamfight Tactics': 1100,
|
131
|
-
'Teamfight Tactics Tutorial': 1110,
|
132
|
-
'Teamfight Tactics test': 1111,
|
133
|
-
'Nexus Blitz': 1300,
|
134
|
-
'Ultimate Spellbook': 1400,
|
135
|
-
'Arena 2v2v2v2': 1700,
|
136
|
-
'URF': 1900,
|
137
|
-
'Tutorial 1': 2000,
|
138
|
-
'Tutorial 2': 2010,
|
139
|
-
'Tutorial 3': 2020,
|
140
|
-
};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export declare const QueueTypes: {
|
2
|
-
readonly RANKED_SOLO_5x5: "RANKED_SOLO_5x5";
|
3
|
-
readonly RANKED_FLEX_SR: "RANKED_FLEX_SR";
|
4
|
-
readonly RANKED_TFT: "RANKED_TFT";
|
5
|
-
};
|
6
|
-
export type QueueType = typeof QueueTypes[keyof typeof QueueTypes];
|
7
|
-
export declare function isQueueType(value: any): value is QueueType;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export declare const RankedRanks: {
|
2
|
-
readonly I: "I";
|
3
|
-
readonly II: "II";
|
4
|
-
readonly III: "III";
|
5
|
-
readonly IV: "IV";
|
6
|
-
};
|
7
|
-
export type RankedRank = typeof RankedRanks[keyof typeof RankedRanks];
|
8
|
-
export declare function isRankedRank(value: any): value is RankedRank;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export declare const RegionalApiUris: {
|
2
|
-
readonly AMERICAS: "americas.api.riotgames.com";
|
3
|
-
readonly ASIA: "asia.api.riotgames.com";
|
4
|
-
readonly EUROPE: "europe.api.riotgames.com";
|
5
|
-
readonly SEA: "sea.api.riotgames.com";
|
6
|
-
};
|
7
|
-
export type RegionalApiUri = typeof RegionalApiUris[keyof typeof RegionalApiUris];
|
8
|
-
export declare function isRegionalApiUri(value: any): value is RegionalApiUri;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export const RegionalApiUris = {
|
2
|
-
'AMERICAS': 'americas.api.riotgames.com',
|
3
|
-
'ASIA': 'asia.api.riotgames.com',
|
4
|
-
'EUROPE': 'europe.api.riotgames.com',
|
5
|
-
'SEA': 'sea.api.riotgames.com',
|
6
|
-
};
|
7
|
-
export function isRegionalApiUri(value) {
|
8
|
-
return typeof value == 'string' && value in RegionalApiUris;
|
9
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { PlatformId } from './PlatformIds';
|
2
|
-
export declare const Regions: {
|
3
|
-
readonly BR1: "BR";
|
4
|
-
readonly EUN1: "EUNE";
|
5
|
-
readonly EUW1: "EUW";
|
6
|
-
readonly JP1: "JP";
|
7
|
-
readonly KR: "KR";
|
8
|
-
readonly LA1: "LAN";
|
9
|
-
readonly LA2: "LAS";
|
10
|
-
readonly NA1: "NA";
|
11
|
-
readonly OC1: "OCE";
|
12
|
-
readonly TR1: "TR";
|
13
|
-
readonly RU: "RU";
|
14
|
-
readonly PH2: "PH";
|
15
|
-
readonly SG2: "SG";
|
16
|
-
readonly TH2: "TH";
|
17
|
-
readonly TW2: "TW";
|
18
|
-
readonly VN2: "VN";
|
19
|
-
readonly PBE1: "PBE";
|
20
|
-
};
|
21
|
-
export type Region = typeof Regions[keyof typeof Regions];
|
22
|
-
export declare function isRegion(value: any): value is Region;
|
23
|
-
export declare function getRegionByPlatformId(platformId: PlatformId): Region;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { PlatformIds } from './PlatformIds';
|
2
|
-
export const Regions = {
|
3
|
-
'BR1': 'BR',
|
4
|
-
'EUN1': 'EUNE',
|
5
|
-
'EUW1': 'EUW',
|
6
|
-
'JP1': 'JP',
|
7
|
-
'KR': 'KR',
|
8
|
-
'LA1': 'LAN',
|
9
|
-
'LA2': 'LAS',
|
10
|
-
'NA1': 'NA',
|
11
|
-
'OC1': 'OCE',
|
12
|
-
'TR1': 'TR',
|
13
|
-
'RU': 'RU',
|
14
|
-
'PH2': 'PH',
|
15
|
-
'SG2': 'SG',
|
16
|
-
'TH2': 'TH',
|
17
|
-
'TW2': 'TW',
|
18
|
-
'VN2': 'VN',
|
19
|
-
'PBE1': 'PBE',
|
20
|
-
};
|
21
|
-
export function isRegion(value) {
|
22
|
-
return typeof value == 'string' && value in PlatformIds;
|
23
|
-
}
|
24
|
-
export function getRegionByPlatformId(platformId) {
|
25
|
-
return Regions[platformId];
|
26
|
-
}
|
package/core/constants/Roles.js
DELETED
@@ -1,85 +0,0 @@
|
|
1
|
-
export declare const NonStatRuneIds: {
|
2
|
-
readonly Electrocute: "8112";
|
3
|
-
readonly "Dark Harvest": "8128";
|
4
|
-
readonly "Hail of Blades": "9923";
|
5
|
-
readonly "Cheap Shot": "8126";
|
6
|
-
readonly "Taste of Blood": "8139";
|
7
|
-
readonly "Sudden Impact": "8143";
|
8
|
-
readonly "Zombie Ward": "8136";
|
9
|
-
readonly "Ghost Poro": "8120";
|
10
|
-
readonly "Eyeball Collection": "8138";
|
11
|
-
readonly "Treasure Hunter": "8135";
|
12
|
-
readonly "Relentless Hunter": "8105";
|
13
|
-
readonly "Ultimate Hunter": "8106";
|
14
|
-
readonly "Glacial Augment": "8351";
|
15
|
-
readonly "Unsealed Spellbook": "8360";
|
16
|
-
readonly "First Strike": "8369";
|
17
|
-
readonly "Hextech Flashtraption": "8306";
|
18
|
-
readonly "Magical Footwear": "8304";
|
19
|
-
readonly "Cash Back": "8321";
|
20
|
-
readonly "Triple Tonic": "8313";
|
21
|
-
readonly "Time Warp Tonic": "8352";
|
22
|
-
readonly "Biscuit Delivery": "8345";
|
23
|
-
readonly "Cosmic Insight": "8347";
|
24
|
-
readonly "Approach Velocity": "8410";
|
25
|
-
readonly "Jack Of All Trades": "8316";
|
26
|
-
readonly "Press the Attack": "8005";
|
27
|
-
readonly "Fleet Footwork": "8021";
|
28
|
-
readonly Conqueror: "8010";
|
29
|
-
readonly "Absorb Life": "9101";
|
30
|
-
readonly Triumph: "9111";
|
31
|
-
readonly "Presence of Mind": "8009";
|
32
|
-
readonly "Legend: Alacrity": "9104";
|
33
|
-
readonly "Legend: Haste": "9105";
|
34
|
-
readonly "Legend: Bloodline": "9103";
|
35
|
-
readonly "Coup de Grace": "8014";
|
36
|
-
readonly "Cut Down": "8017";
|
37
|
-
readonly "Last Stand": "8299";
|
38
|
-
readonly "Grasp of the Undying": "8437";
|
39
|
-
readonly Aftershock: "8439";
|
40
|
-
readonly Guardian: "8465";
|
41
|
-
readonly Demolish: "8446";
|
42
|
-
readonly "Font of Life": "8463";
|
43
|
-
readonly "Shield Bash": "8401";
|
44
|
-
readonly Conditioning: "8429";
|
45
|
-
readonly "Second Wind": "8444";
|
46
|
-
readonly "Bone Plating": "8473";
|
47
|
-
readonly Overgrowth: "8451";
|
48
|
-
readonly Revitalize: "8453";
|
49
|
-
readonly Unflinching: "8242";
|
50
|
-
readonly "Summon Aery": "8214";
|
51
|
-
readonly "Arcane Comet": "8229";
|
52
|
-
readonly "Phase Rush": "8230";
|
53
|
-
readonly "Nullifying Orb": "8224";
|
54
|
-
readonly "Manaflow Band": "8226";
|
55
|
-
readonly "Nimbus Cloak": "8275";
|
56
|
-
readonly Transcendence: "8210";
|
57
|
-
readonly Celerity: "8234";
|
58
|
-
readonly "Absolute Focus": "8233";
|
59
|
-
readonly Scorch: "8237";
|
60
|
-
readonly Waterwalking: "8232";
|
61
|
-
readonly "Gathering Storm": "8236";
|
62
|
-
};
|
63
|
-
/**
|
64
|
-
* There are 3 main Rune ID types:
|
65
|
-
* - `RuneId` (all),
|
66
|
-
* - `NonStatRuneId` (all but stat runes),
|
67
|
-
* - `StatRuneId` (only stat runes).
|
68
|
-
*
|
69
|
-
* There are 6 more specific Rune ID types as well:
|
70
|
-
* - `KeystoneRuneId`,
|
71
|
-
* - `PrecisionRuneId`,
|
72
|
-
* - `DominationRuneId`,
|
73
|
-
* - `SorceryRuneId`,
|
74
|
-
* - `ResolveRuneId`,
|
75
|
-
* - `InspirationRuneId`.
|
76
|
-
*
|
77
|
-
* There are 6 numerical Rune ID types:
|
78
|
-
* - `KeystoneRuneIdNum`,
|
79
|
-
* - `PrecisionRuneIdNum`,
|
80
|
-
* - `DominationRuneIdNum`,
|
81
|
-
* - `SorceryRuneIdNum`,
|
82
|
-
* - `ResolveRuneIdNum`,
|
83
|
-
* - `InspirationRuneIdNum`.
|
84
|
-
*/
|
85
|
-
export type NonStatRuneId = typeof NonStatRuneIds[keyof typeof NonStatRuneIds];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const NonStatRuneIds = { "Electrocute": "8112", "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", "Relentless Hunter": "8105", "Ultimate Hunter": "8106", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Cash Back": "8321", "Triple Tonic": "8313", "Time Warp Tonic": "8352", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Jack Of All Trades": "8316", "Press the Attack": "8005", "Fleet Footwork": "8021", "Conqueror": "8010", "Absorb Life": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Haste": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299", "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", "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" };
|
@@ -1,63 +0,0 @@
|
|
1
|
-
export declare const NonStatRuneIdsNum: {
|
2
|
-
readonly Electrocute: 8112;
|
3
|
-
readonly "Dark Harvest": 8128;
|
4
|
-
readonly "Hail of Blades": 9923;
|
5
|
-
readonly "Cheap Shot": 8126;
|
6
|
-
readonly "Taste of Blood": 8139;
|
7
|
-
readonly "Sudden Impact": 8143;
|
8
|
-
readonly "Zombie Ward": 8136;
|
9
|
-
readonly "Ghost Poro": 8120;
|
10
|
-
readonly "Eyeball Collection": 8138;
|
11
|
-
readonly "Treasure Hunter": 8135;
|
12
|
-
readonly "Relentless Hunter": 8105;
|
13
|
-
readonly "Ultimate Hunter": 8106;
|
14
|
-
readonly "Glacial Augment": 8351;
|
15
|
-
readonly "Unsealed Spellbook": 8360;
|
16
|
-
readonly "First Strike": 8369;
|
17
|
-
readonly "Hextech Flashtraption": 8306;
|
18
|
-
readonly "Magical Footwear": 8304;
|
19
|
-
readonly "Cash Back": 8321;
|
20
|
-
readonly "Triple Tonic": 8313;
|
21
|
-
readonly "Time Warp Tonic": 8352;
|
22
|
-
readonly "Biscuit Delivery": 8345;
|
23
|
-
readonly "Cosmic Insight": 8347;
|
24
|
-
readonly "Approach Velocity": 8410;
|
25
|
-
readonly "Jack Of All Trades": 8316;
|
26
|
-
readonly "Press the Attack": 8005;
|
27
|
-
readonly "Fleet Footwork": 8021;
|
28
|
-
readonly Conqueror: 8010;
|
29
|
-
readonly "Absorb Life": 9101;
|
30
|
-
readonly Triumph: 9111;
|
31
|
-
readonly "Presence of Mind": 8009;
|
32
|
-
readonly "Legend: Alacrity": 9104;
|
33
|
-
readonly "Legend: Haste": 9105;
|
34
|
-
readonly "Legend: Bloodline": 9103;
|
35
|
-
readonly "Coup de Grace": 8014;
|
36
|
-
readonly "Cut Down": 8017;
|
37
|
-
readonly "Last Stand": 8299;
|
38
|
-
readonly "Grasp of the Undying": 8437;
|
39
|
-
readonly Aftershock: 8439;
|
40
|
-
readonly Guardian: 8465;
|
41
|
-
readonly Demolish: 8446;
|
42
|
-
readonly "Font of Life": 8463;
|
43
|
-
readonly "Shield Bash": 8401;
|
44
|
-
readonly Conditioning: 8429;
|
45
|
-
readonly "Second Wind": 8444;
|
46
|
-
readonly "Bone Plating": 8473;
|
47
|
-
readonly Overgrowth: 8451;
|
48
|
-
readonly Revitalize: 8453;
|
49
|
-
readonly Unflinching: 8242;
|
50
|
-
readonly "Summon Aery": 8214;
|
51
|
-
readonly "Arcane Comet": 8229;
|
52
|
-
readonly "Phase Rush": 8230;
|
53
|
-
readonly "Nullifying Orb": 8224;
|
54
|
-
readonly "Manaflow Band": 8226;
|
55
|
-
readonly "Nimbus Cloak": 8275;
|
56
|
-
readonly Transcendence: 8210;
|
57
|
-
readonly Celerity: 8234;
|
58
|
-
readonly "Absolute Focus": 8233;
|
59
|
-
readonly Scorch: 8237;
|
60
|
-
readonly Waterwalking: 8232;
|
61
|
-
readonly "Gathering Storm": 8236;
|
62
|
-
};
|
63
|
-
export type NonStatRuneIdNum = typeof NonStatRuneIdsNum[keyof typeof NonStatRuneIdsNum];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const NonStatRuneIdsNum = { "Electrocute": 8112, "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, "Relentless Hunter": 8105, "Ultimate Hunter": 8106, "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369, "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Cash Back": 8321, "Triple Tonic": 8313, "Time Warp Tonic": 8352, "Biscuit Delivery": 8345, "Cosmic Insight": 8347, "Approach Velocity": 8410, "Jack Of All Trades": 8316, "Press the Attack": 8005, "Fleet Footwork": 8021, "Conqueror": 8010, "Absorb Life": 9101, "Triumph": 9111, "Presence of Mind": 8009, "Legend: Alacrity": 9104, "Legend: Haste": 9105, "Legend: Bloodline": 9103, "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299, "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, "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 };
|
@@ -1,63 +0,0 @@
|
|
1
|
-
export declare const NonStatRuneNames: {
|
2
|
-
readonly "8005": "Press the Attack";
|
3
|
-
readonly "8009": "Presence of Mind";
|
4
|
-
readonly "8010": "Conqueror";
|
5
|
-
readonly "8014": "Coup de Grace";
|
6
|
-
readonly "8017": "Cut Down";
|
7
|
-
readonly "8021": "Fleet Footwork";
|
8
|
-
readonly "8105": "Relentless Hunter";
|
9
|
-
readonly "8106": "Ultimate Hunter";
|
10
|
-
readonly "8112": "Electrocute";
|
11
|
-
readonly "8120": "Ghost Poro";
|
12
|
-
readonly "8126": "Cheap Shot";
|
13
|
-
readonly "8128": "Dark Harvest";
|
14
|
-
readonly "8135": "Treasure Hunter";
|
15
|
-
readonly "8136": "Zombie Ward";
|
16
|
-
readonly "8138": "Eyeball Collection";
|
17
|
-
readonly "8139": "Taste of Blood";
|
18
|
-
readonly "8143": "Sudden Impact";
|
19
|
-
readonly "8210": "Transcendence";
|
20
|
-
readonly "8214": "Summon Aery";
|
21
|
-
readonly "8224": "Nullifying Orb";
|
22
|
-
readonly "8226": "Manaflow Band";
|
23
|
-
readonly "8229": "Arcane Comet";
|
24
|
-
readonly "8230": "Phase Rush";
|
25
|
-
readonly "8232": "Waterwalking";
|
26
|
-
readonly "8233": "Absolute Focus";
|
27
|
-
readonly "8234": "Celerity";
|
28
|
-
readonly "8236": "Gathering Storm";
|
29
|
-
readonly "8237": "Scorch";
|
30
|
-
readonly "8242": "Unflinching";
|
31
|
-
readonly "8275": "Nimbus Cloak";
|
32
|
-
readonly "8299": "Last Stand";
|
33
|
-
readonly "8304": "Magical Footwear";
|
34
|
-
readonly "8306": "Hextech Flashtraption";
|
35
|
-
readonly "8313": "Triple Tonic";
|
36
|
-
readonly "8316": "Jack Of All Trades";
|
37
|
-
readonly "8321": "Cash Back";
|
38
|
-
readonly "8345": "Biscuit Delivery";
|
39
|
-
readonly "8347": "Cosmic Insight";
|
40
|
-
readonly "8351": "Glacial Augment";
|
41
|
-
readonly "8352": "Time Warp Tonic";
|
42
|
-
readonly "8360": "Unsealed Spellbook";
|
43
|
-
readonly "8369": "First Strike";
|
44
|
-
readonly "8401": "Shield Bash";
|
45
|
-
readonly "8410": "Approach Velocity";
|
46
|
-
readonly "8429": "Conditioning";
|
47
|
-
readonly "8437": "Grasp of the Undying";
|
48
|
-
readonly "8439": "Aftershock";
|
49
|
-
readonly "8444": "Second Wind";
|
50
|
-
readonly "8446": "Demolish";
|
51
|
-
readonly "8451": "Overgrowth";
|
52
|
-
readonly "8453": "Revitalize";
|
53
|
-
readonly "8463": "Font of Life";
|
54
|
-
readonly "8465": "Guardian";
|
55
|
-
readonly "8473": "Bone Plating";
|
56
|
-
readonly "9101": "Absorb Life";
|
57
|
-
readonly "9103": "Legend: Bloodline";
|
58
|
-
readonly "9104": "Legend: Alacrity";
|
59
|
-
readonly "9105": "Legend: Haste";
|
60
|
-
readonly "9111": "Triumph";
|
61
|
-
readonly "9923": "Hail of Blades";
|
62
|
-
};
|
63
|
-
export type NonStatRuneName = typeof NonStatRuneNames[keyof typeof NonStatRuneNames];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const NonStatRuneNames = { "8005": "Press the Attack", "8009": "Presence of Mind", "8010": "Conqueror", "8014": "Coup de Grace", "8017": "Cut Down", "8021": "Fleet Footwork", "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8112": "Electrocute", "8120": "Ghost Poro", "8126": "Cheap Shot", "8128": "Dark Harvest", "8135": "Treasure Hunter", "8136": "Zombie Ward", "8138": "Eyeball Collection", "8139": "Taste of Blood", "8143": "Sudden Impact", "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", "8242": "Unflinching", "8275": "Nimbus Cloak", "8299": "Last Stand", "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Triple Tonic", "8316": "Jack Of All Trades", "8321": "Cash Back", "8345": "Biscuit Delivery", "8347": "Cosmic Insight", "8351": "Glacial Augment", "8352": "Time Warp Tonic", "8360": "Unsealed Spellbook", "8369": "First Strike", "8401": "Shield Bash", "8410": "Approach Velocity", "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", "9101": "Absorb Life", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Haste", "9111": "Triumph", "9923": "Hail of Blades" };
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { RuneName } from './RuneSets';
|
2
|
-
import { RuneTreeName } from './RuneTreeNames';
|
3
|
-
/**
|
4
|
-
* The file names themselves for runes,
|
5
|
-
* according to https://raw.communitydragon.org.
|
6
|
-
* The file names are excluding the extension (`.png`).
|
7
|
-
*
|
8
|
-
* @see https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/statmods/
|
9
|
-
* @see https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/styles/
|
10
|
-
*/
|
11
|
-
export declare const RuneIconFileNames: {
|
12
|
-
readonly [k in RuneIconFile]: string;
|
13
|
-
};
|
14
|
-
export type RuneIconFile = RuneName | RuneTreeName | 'runesicon';
|
@@ -1,97 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* The file names themselves for runes,
|
3
|
-
* according to https://raw.communitydragon.org.
|
4
|
-
* The file names are excluding the extension (`.png`).
|
5
|
-
*
|
6
|
-
* @see https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/statmods/
|
7
|
-
* @see https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/styles/
|
8
|
-
*/
|
9
|
-
export const RuneIconFileNames = {
|
10
|
-
// ## Rune Trees
|
11
|
-
'Precision': '7201_precision',
|
12
|
-
'Domination': '7200_domination',
|
13
|
-
'Sorcery': '7202_sorcery',
|
14
|
-
'Resolve': '7204_resolve',
|
15
|
-
'Inspiration': '7203_whimsy',
|
16
|
-
// ## Runes
|
17
|
-
// ### Precision
|
18
|
-
'Conqueror': 'conqueror',
|
19
|
-
'Fleet Footwork': 'fleetfootwork',
|
20
|
-
'Legend: Alacrity': 'legendalacrity',
|
21
|
-
'Legend: Haste': 'legendhaste',
|
22
|
-
'Legend: Bloodline': 'legendbloodline',
|
23
|
-
'Press the Attack': 'presstheattack',
|
24
|
-
'Absorb Life': 'absorblife',
|
25
|
-
'Triumph': 'triumph',
|
26
|
-
'Presence of Mind': 'presenceofmind',
|
27
|
-
'Coup de Grace': 'coupdegrace',
|
28
|
-
'Cut Down': 'cutdown',
|
29
|
-
// ### Domination
|
30
|
-
'Cheap Shot': 'cheapshot',
|
31
|
-
'Dark Harvest': 'darkharvest',
|
32
|
-
'Electrocute': 'electrocute',
|
33
|
-
'Eyeball Collection': 'eyeballcollection',
|
34
|
-
'Ghost Poro': 'ghostporo',
|
35
|
-
'Hail of Blades': 'hailofblades',
|
36
|
-
'Relentless Hunter': 'relentlesshunter',
|
37
|
-
'Sudden Impact': 'suddenimpact',
|
38
|
-
'Taste of Blood': 'greenterror_tasteofblood',
|
39
|
-
'Treasure Hunter': 'treasurehunter',
|
40
|
-
'Ultimate Hunter': 'ultimatehunter',
|
41
|
-
'Zombie Ward': 'zombieward',
|
42
|
-
// ### Sorcery
|
43
|
-
'Absolute Focus': 'absolutefocus',
|
44
|
-
'Arcane Comet': 'arcanecomet',
|
45
|
-
'Celerity': 'celeritytemp',
|
46
|
-
'Gathering Storm': 'gatheringstorm',
|
47
|
-
'Last Stand': 'laststand',
|
48
|
-
'Manaflow Band': 'manaflowband',
|
49
|
-
'Nimbus Cloak': '6361',
|
50
|
-
'Nullifying Orb': 'pokeshield',
|
51
|
-
'Phase Rush': 'phaserush',
|
52
|
-
'Scorch': 'scorch',
|
53
|
-
'Summon Aery': 'summonaery',
|
54
|
-
'Transcendence': 'transcendence',
|
55
|
-
'Unflinching': 'unflinching',
|
56
|
-
'Waterwalking': 'waterwalking',
|
57
|
-
// ### Resolve
|
58
|
-
'Approach Velocity': 'approachvelocity',
|
59
|
-
'Bone Plating': 'boneplating',
|
60
|
-
'Conditioning': 'conditioning',
|
61
|
-
'Demolish': 'demolish',
|
62
|
-
'Font of Life': 'fontoflife',
|
63
|
-
'Grasp of the Undying': 'graspoftheundying',
|
64
|
-
'Guardian': 'guardian',
|
65
|
-
'Shield Bash': 'mirrorshell',
|
66
|
-
'Overgrowth': 'overgrowth',
|
67
|
-
'Revitalize': 'revitalize',
|
68
|
-
'Second Wind': 'secondwind',
|
69
|
-
'Aftershock': 'veteranaftershock',
|
70
|
-
// ### Inspiration
|
71
|
-
'Magical Footwear': 'magicalfootwear',
|
72
|
-
'Triple Tonic': 'alchemistcabinet',
|
73
|
-
'Time Warp Tonic': 'timewarptonic',
|
74
|
-
'Unsealed Spellbook': 'unsealedspellbook',
|
75
|
-
'Biscuit Delivery': 'biscuitdelivery',
|
76
|
-
'Cosmic Insight': 'cosmicinsight',
|
77
|
-
'First Strike': 'firststrike',
|
78
|
-
'Glacial Augment': 'glacialaugment',
|
79
|
-
'Hextech Flashtraption': 'hextechflashtraption',
|
80
|
-
'Cash Back': 'cashback2',
|
81
|
-
'Jack Of All Trades': 'jackofalltrades2',
|
82
|
-
// ## Stat Runes
|
83
|
-
// ###
|
84
|
-
'Offense (AF)': 'statmodsadaptiveforceicon',
|
85
|
-
'Offense (AS)': 'statmodsattackspeedicon',
|
86
|
-
'Offense (AH)': 'statmodscdrscalingicon',
|
87
|
-
// ###
|
88
|
-
'Flex (AF)': 'statmodsadaptiveforceicon',
|
89
|
-
'Flex (MS)': 'statmodsmovementspeedicon',
|
90
|
-
'Flex (HP+)': 'statmodshealthplusicon',
|
91
|
-
// ###
|
92
|
-
'Defense (HP)': 'statmodshealthscalingicon',
|
93
|
-
'Defense (Tenacity + Slow Resist)': 'statmodstenacityicon',
|
94
|
-
'Defense (HP+)': 'statmodshealthplusicon',
|
95
|
-
// ## Misc.
|
96
|
-
runesicon: 'runesicon',
|
97
|
-
};
|