lol-constants 2.25.0 → 3.0.0-rc.0
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/Locale.js +1 -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 +33 -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/Champion.d.ts +0 -7903
- package/assets/constants/Champion.js +0 -1
- package/assets/constants/Item.d.ts +0 -20779
- package/assets/constants/Item.js +0 -1
- package/assets/constants/LegendaryItemNames.d.ts +0 -4
- package/assets/constants/LegendaryItemNames.js +0 -125
- package/assets/constants/RunesReforged.d.ts +0 -491
- package/assets/constants/RunesReforged.js +0 -1
- 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/Summoner.d.ts +0 -582
- package/assets/constants/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 -9
- 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 -9
- package/assets/scripts/asset-scripts/runes-reforged.d.ts +0 -1
- package/assets/scripts/asset-scripts/runes-reforged.js +0 -9
- package/assets/scripts/asset-scripts/summoner.d.ts +0 -1
- package/assets/scripts/asset-scripts/summoner.js +0 -9
- 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/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 -56
- 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/{assets/scripts/asset-scripts/champion.d.ts → dist/helpers/type.js} +0 -0
@@ -1,11 +0,0 @@
|
|
1
|
-
export const PrimaryRuneTreesByRuneNamesNum = { "Domination": { "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 }, "Inspiration": { "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 }, "Precision": { "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 }, "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 } };
|
2
|
-
export const SecondaryRuneTreesByRuneNamesNum = { "Domination": { "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 }, "Inspiration": { "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 }, "Precision": { "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 }, "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 } };
|
3
|
-
export const KeystoneIdsNum = { "Electrocute": 8112, "Dark Harvest": 8128, "Hail of Blades": 9923, "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369, "Press the Attack": 8005, "Fleet Footwork": 8021, "Conqueror": 8010, "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465, "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230 };
|
4
|
-
export const StatRuneIdsNum = { "Offense (AS)": 5005, "Offense (AH)": 5007, "Offense (AF)": 5008, "Flex (AF)": 5008, "Flex (MS)": 5010, "Flex (HP+)": 5001, "Defense (HP+)": 5001, "Defense (HP)": 5011, "Defense (Tenacity + Slow Resist)": 5013 };
|
5
|
-
export const RuneIdsNum = { ...PrimaryRuneTreesByRuneNamesNum.Precision, ...PrimaryRuneTreesByRuneNamesNum.Domination, ...PrimaryRuneTreesByRuneNamesNum.Sorcery, ...PrimaryRuneTreesByRuneNamesNum.Resolve, ...PrimaryRuneTreesByRuneNamesNum.Inspiration, ...StatRuneIdsNum };
|
6
|
-
export const RuneHSetsByRuneNamesNum = { "Domination": { "0": { "Electrocute": 8112, "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, "Relentless Hunter": 8105, "Ultimate Hunter": 8106 } }, "Inspiration": { "0": { "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369 }, "1": { "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Cash Back": 8321 }, "2": { "Triple Tonic": 8313, "Time Warp Tonic": 8352, "Biscuit Delivery": 8345 }, "3": { "Cosmic Insight": 8347, "Approach Velocity": 8410, "Jack Of All Trades": 8316 } }, "Precision": { "0": { "Press the Attack": 8005, "Fleet Footwork": 8021, "Conqueror": 8010 }, "1": { "Absorb Life": 9101, "Triumph": 9111, "Presence of Mind": 8009 }, "2": { "Legend: Alacrity": 9104, "Legend: Haste": 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 } } };
|
7
|
-
export const StatRuneHSetsByRuneNamesNum = { "0": { "Offense (AS)": 5005, "Offense (AH)": 5007, "Offense (AF)": 5008 }, "1": { "Flex (AF)": 5008, "Flex (MS)": 5010, "Flex (HP+)": 5001 }, "2": { "Defense (HP+)": 5001, "Defense (HP)": 5011, "Defense (Tenacity + Slow Resist)": 5013 } };
|
8
|
-
/**
|
9
|
-
* 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 69 runes in the game.
|
10
|
-
*/
|
11
|
-
export const RuneSetsByRuneNamesNum = { PrimaryRuneTreesByRuneNamesNum, SecondaryRuneTreesByRuneNamesNum, KeystoneIdsNum, StatRuneIdsNum, RuneIdsNum, RuneHSetsByRuneNamesNum, StatRuneHSetsByRuneNamesNum };
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { RuneTreeName } from './RuneTreeNames';
|
2
|
-
export declare const RuneTreeIds: {
|
3
|
-
readonly Precision: "8000";
|
4
|
-
readonly Domination: "8100";
|
5
|
-
readonly Sorcery: "8200";
|
6
|
-
readonly Resolve: "8400";
|
7
|
-
readonly Inspiration: "8300";
|
8
|
-
};
|
9
|
-
export type RuneTreeId = typeof RuneTreeIds[keyof typeof RuneTreeIds];
|
10
|
-
export declare function isRuneTreeId(id: any): id is RuneTreeId;
|
11
|
-
export declare function getRuneTreeIdByName(name: RuneTreeName): RuneTreeId;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { RuneTreeNames } from './RuneTreeNames';
|
2
|
-
export const RuneTreeIds = {
|
3
|
-
'Precision': '8000',
|
4
|
-
'Domination': '8100',
|
5
|
-
'Sorcery': '8200',
|
6
|
-
'Resolve': '8400',
|
7
|
-
'Inspiration': '8300',
|
8
|
-
};
|
9
|
-
export function isRuneTreeId(id) {
|
10
|
-
return typeof id == 'string' && id in RuneTreeNames;
|
11
|
-
}
|
12
|
-
export function getRuneTreeIdByName(name) {
|
13
|
-
return RuneTreeIds[name];
|
14
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { RuneTreeName } from './RuneTreeNames';
|
2
|
-
export declare const RuneTreeIdsNum: {
|
3
|
-
readonly Precision: 8000;
|
4
|
-
readonly Domination: 8100;
|
5
|
-
readonly Sorcery: 8200;
|
6
|
-
readonly Resolve: 8400;
|
7
|
-
readonly Inspiration: 8300;
|
8
|
-
};
|
9
|
-
export type RuneTreeIdNum = typeof RuneTreeIdsNum[keyof typeof RuneTreeIdsNum];
|
10
|
-
export declare function isRuneTreeIdNum(id: any): id is RuneTreeIdNum;
|
11
|
-
export declare function getRuneTreeIdNumByName(name: RuneTreeName): RuneTreeIdNum;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { RuneTreeNames } from './RuneTreeNames';
|
2
|
-
export const RuneTreeIdsNum = {
|
3
|
-
Precision: 8000,
|
4
|
-
Domination: 8100,
|
5
|
-
Sorcery: 8200,
|
6
|
-
Resolve: 8400,
|
7
|
-
Inspiration: 8300,
|
8
|
-
};
|
9
|
-
export function isRuneTreeIdNum(id) {
|
10
|
-
return typeof id == 'number' && id in RuneTreeNames;
|
11
|
-
}
|
12
|
-
export function getRuneTreeIdNumByName(name) {
|
13
|
-
return RuneTreeIdsNum[name];
|
14
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { RuneTreeId } from './RuneTreeIds';
|
2
|
-
export declare const RuneTreeNames: {
|
3
|
-
readonly '8000': "Precision";
|
4
|
-
readonly '8100': "Domination";
|
5
|
-
readonly '8200': "Sorcery";
|
6
|
-
readonly '8400': "Resolve";
|
7
|
-
readonly '8300': "Inspiration";
|
8
|
-
};
|
9
|
-
export type RuneTreeName = typeof RuneTreeNames[keyof typeof RuneTreeNames];
|
10
|
-
export declare function isRuneTreeName(name: any): name is RuneTreeName;
|
11
|
-
export declare function getRuneTreeNameById(id: RuneTreeId): RuneTreeName;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { RuneTreeIds } from './RuneTreeIds';
|
2
|
-
export const RuneTreeNames = {
|
3
|
-
'8000': 'Precision',
|
4
|
-
'8100': 'Domination',
|
5
|
-
'8200': 'Sorcery',
|
6
|
-
'8400': 'Resolve',
|
7
|
-
'8300': 'Inspiration',
|
8
|
-
};
|
9
|
-
export function isRuneTreeName(name) {
|
10
|
-
return typeof name == 'string' && name in RuneTreeIds;
|
11
|
-
}
|
12
|
-
export function getRuneTreeNameById(id) {
|
13
|
-
return RuneTreeNames[id];
|
14
|
-
}
|
package/core/constants/Skills.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
export declare const SpellIds: {
|
2
|
-
readonly "1": "SummonerBoost";
|
3
|
-
readonly "3": "SummonerExhaust";
|
4
|
-
readonly "4": "SummonerFlash";
|
5
|
-
readonly "6": "SummonerHaste";
|
6
|
-
readonly "7": "SummonerHeal";
|
7
|
-
readonly "11": "SummonerSmite";
|
8
|
-
readonly "12": "SummonerTeleport";
|
9
|
-
readonly "13": "SummonerMana";
|
10
|
-
readonly "14": "SummonerDot";
|
11
|
-
readonly "21": "SummonerBarrier";
|
12
|
-
readonly "30": "SummonerPoroRecall";
|
13
|
-
readonly "31": "SummonerPoroThrow";
|
14
|
-
readonly "32": "SummonerSnowball";
|
15
|
-
readonly "39": "SummonerSnowURFSnowball_Mark";
|
16
|
-
readonly "54": "Summoner_UltBookPlaceholder";
|
17
|
-
readonly "55": "Summoner_UltBookSmitePlaceholder";
|
18
|
-
readonly "2201": "SummonerCherryHold";
|
19
|
-
readonly "2202": "SummonerCherryFlash";
|
20
|
-
};
|
21
|
-
export type SpellId = typeof SpellIds[keyof typeof SpellIds];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const SpellIds = { "1": "SummonerBoost", "3": "SummonerExhaust", "4": "SummonerFlash", "6": "SummonerHaste", "7": "SummonerHeal", "11": "SummonerSmite", "12": "SummonerTeleport", "13": "SummonerMana", "14": "SummonerDot", "21": "SummonerBarrier", "30": "SummonerPoroRecall", "31": "SummonerPoroThrow", "32": "SummonerSnowball", "39": "SummonerSnowURFSnowball_Mark", "54": "Summoner_UltBookPlaceholder", "55": "Summoner_UltBookSmitePlaceholder", "2201": "SummonerCherryHold", "2202": "SummonerCherryFlash" };
|
@@ -1,18 +0,0 @@
|
|
1
|
-
export declare const SpellIdsByName: {
|
2
|
-
readonly Barrier: "SummonerBarrier";
|
3
|
-
readonly Cleanse: "SummonerBoost";
|
4
|
-
readonly Flash: "SummonerFlash";
|
5
|
-
readonly Flee: "SummonerCherryHold";
|
6
|
-
readonly Ignite: "SummonerDot";
|
7
|
-
readonly Exhaust: "SummonerExhaust";
|
8
|
-
readonly Ghost: "SummonerHaste";
|
9
|
-
readonly Heal: "SummonerHeal";
|
10
|
-
readonly Clarity: "SummonerMana";
|
11
|
-
readonly "To the King!": "SummonerPoroRecall";
|
12
|
-
readonly "Poro Toss": "SummonerPoroThrow";
|
13
|
-
readonly Smite: "SummonerSmite";
|
14
|
-
readonly Mark: "SummonerSnowball";
|
15
|
-
readonly Teleport: "SummonerTeleport";
|
16
|
-
readonly Placeholder: "Summoner_UltBookPlaceholder";
|
17
|
-
readonly "Placeholder and Attack-Smite": "Summoner_UltBookSmitePlaceholder";
|
18
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
export const SpellIdsByName = { "Barrier": "SummonerBarrier", "Cleanse": "SummonerBoost", "Flash": "SummonerFlash", "Flee": "SummonerCherryHold", "Ignite": "SummonerDot", "Exhaust": "SummonerExhaust", "Ghost": "SummonerHaste", "Heal": "SummonerHeal", "Clarity": "SummonerMana", "To the King!": "SummonerPoroRecall", "Poro Toss": "SummonerPoroThrow", "Smite": "SummonerSmite", "Mark": "SummonerSnowball", "Teleport": "SummonerTeleport", "Placeholder": "Summoner_UltBookPlaceholder", "Placeholder and Attack-Smite": "Summoner_UltBookSmitePlaceholder" };
|
@@ -1,21 +0,0 @@
|
|
1
|
-
export declare const SpellKeys: {
|
2
|
-
readonly SummonerBarrier: "21";
|
3
|
-
readonly SummonerBoost: "1";
|
4
|
-
readonly SummonerCherryFlash: "2202";
|
5
|
-
readonly SummonerCherryHold: "2201";
|
6
|
-
readonly SummonerDot: "14";
|
7
|
-
readonly SummonerExhaust: "3";
|
8
|
-
readonly SummonerFlash: "4";
|
9
|
-
readonly SummonerHaste: "6";
|
10
|
-
readonly SummonerHeal: "7";
|
11
|
-
readonly SummonerMana: "13";
|
12
|
-
readonly SummonerPoroRecall: "30";
|
13
|
-
readonly SummonerPoroThrow: "31";
|
14
|
-
readonly SummonerSmite: "11";
|
15
|
-
readonly SummonerSnowURFSnowball_Mark: "39";
|
16
|
-
readonly SummonerSnowball: "32";
|
17
|
-
readonly SummonerTeleport: "12";
|
18
|
-
readonly Summoner_UltBookPlaceholder: "54";
|
19
|
-
readonly Summoner_UltBookSmitePlaceholder: "55";
|
20
|
-
};
|
21
|
-
export type SpellKey = typeof SpellKeys[keyof typeof SpellKeys];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const SpellKeys = { "SummonerBarrier": "21", "SummonerBoost": "1", "SummonerCherryFlash": "2202", "SummonerCherryHold": "2201", "SummonerDot": "14", "SummonerExhaust": "3", "SummonerFlash": "4", "SummonerHaste": "6", "SummonerHeal": "7", "SummonerMana": "13", "SummonerPoroRecall": "30", "SummonerPoroThrow": "31", "SummonerSmite": "11", "SummonerSnowURFSnowball_Mark": "39", "SummonerSnowball": "32", "SummonerTeleport": "12", "Summoner_UltBookPlaceholder": "54", "Summoner_UltBookSmitePlaceholder": "55" };
|
@@ -1,21 +0,0 @@
|
|
1
|
-
export declare const SpellKeysNum: {
|
2
|
-
readonly SummonerBarrier: 21;
|
3
|
-
readonly SummonerBoost: 1;
|
4
|
-
readonly SummonerCherryFlash: 2202;
|
5
|
-
readonly SummonerCherryHold: 2201;
|
6
|
-
readonly SummonerDot: 14;
|
7
|
-
readonly SummonerExhaust: 3;
|
8
|
-
readonly SummonerFlash: 4;
|
9
|
-
readonly SummonerHaste: 6;
|
10
|
-
readonly SummonerHeal: 7;
|
11
|
-
readonly SummonerMana: 13;
|
12
|
-
readonly SummonerPoroRecall: 30;
|
13
|
-
readonly SummonerPoroThrow: 31;
|
14
|
-
readonly SummonerSmite: 11;
|
15
|
-
readonly SummonerSnowURFSnowball_Mark: 39;
|
16
|
-
readonly SummonerSnowball: 32;
|
17
|
-
readonly SummonerTeleport: 12;
|
18
|
-
readonly Summoner_UltBookPlaceholder: 54;
|
19
|
-
readonly Summoner_UltBookSmitePlaceholder: 55;
|
20
|
-
};
|
21
|
-
export type SpellKeyNum = typeof SpellKeysNum[keyof typeof SpellKeysNum];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const SpellKeysNum = { "SummonerBarrier": 21, "SummonerBoost": 1, "SummonerCherryFlash": 2202, "SummonerCherryHold": 2201, "SummonerDot": 14, "SummonerExhaust": 3, "SummonerFlash": 4, "SummonerHaste": 6, "SummonerHeal": 7, "SummonerMana": 13, "SummonerPoroRecall": 30, "SummonerPoroThrow": 31, "SummonerSmite": 11, "SummonerSnowURFSnowball_Mark": 39, "SummonerSnowball": 32, "SummonerTeleport": 12, "Summoner_UltBookPlaceholder": 54, "Summoner_UltBookSmitePlaceholder": 55 };
|
@@ -1,21 +0,0 @@
|
|
1
|
-
export declare const SpellNames: {
|
2
|
-
readonly "1": "Cleanse";
|
3
|
-
readonly "3": "Exhaust";
|
4
|
-
readonly "4": "Flash";
|
5
|
-
readonly "6": "Ghost";
|
6
|
-
readonly "7": "Heal";
|
7
|
-
readonly "11": "Smite";
|
8
|
-
readonly "12": "Teleport";
|
9
|
-
readonly "13": "Clarity";
|
10
|
-
readonly "14": "Ignite";
|
11
|
-
readonly "21": "Barrier";
|
12
|
-
readonly "30": "To the King!";
|
13
|
-
readonly "31": "Poro Toss";
|
14
|
-
readonly "32": "Mark";
|
15
|
-
readonly "39": "Mark";
|
16
|
-
readonly "54": "Placeholder";
|
17
|
-
readonly "55": "Placeholder and Attack-Smite";
|
18
|
-
readonly "2201": "Flee";
|
19
|
-
readonly "2202": "Flash";
|
20
|
-
};
|
21
|
-
export type SpellName = typeof SpellNames[keyof typeof SpellNames];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const SpellNames = { "1": "Cleanse", "3": "Exhaust", "4": "Flash", "6": "Ghost", "7": "Heal", "11": "Smite", "12": "Teleport", "13": "Clarity", "14": "Ignite", "21": "Barrier", "30": "To the King!", "31": "Poro Toss", "32": "Mark", "39": "Mark", "54": "Placeholder", "55": "Placeholder and Attack-Smite", "2201": "Flee", "2202": "Flash" };
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export declare const TowerTypes: {
|
2
|
-
readonly OUTER_TURRET: "OUTER_TURRET";
|
3
|
-
readonly INNER_TURRET: "INNER_TURRET";
|
4
|
-
readonly BASE_TURRET: "BASE_TURRET";
|
5
|
-
readonly NEXUS_TURRET: "NEXUS_TURRET";
|
6
|
-
};
|
7
|
-
export type TowerType = typeof TowerTypes[keyof typeof TowerTypes];
|
8
|
-
export declare function isTowerType(value: any): value is TowerType;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export const TowerTypes = {
|
2
|
-
'OUTER_TURRET': 'OUTER_TURRET',
|
3
|
-
'INNER_TURRET': 'INNER_TURRET',
|
4
|
-
'BASE_TURRET': 'BASE_TURRET',
|
5
|
-
'NEXUS_TURRET': 'NEXUS_TURRET',
|
6
|
-
};
|
7
|
-
export function isTowerType(value) {
|
8
|
-
return typeof value == 'string' && value in TowerTypes;
|
9
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export declare const WardTypes: {
|
2
|
-
readonly UNDEFINED: "UNDEFINED";
|
3
|
-
readonly YELLOW_TRINKET: "YELLOW_TRINKET";
|
4
|
-
readonly CONTROL_WARD: "CONTROL_WARD";
|
5
|
-
readonly SIGHT_WARD: "SIGHT_WARD";
|
6
|
-
readonly BLUE_TRINKET: "BLUE_TRINKET";
|
7
|
-
};
|
8
|
-
export type WardType = typeof WardTypes[keyof typeof WardTypes];
|
9
|
-
export declare function isWardType(value: any): value is WardType;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
export const WardTypes = {
|
2
|
-
'UNDEFINED': 'UNDEFINED',
|
3
|
-
'YELLOW_TRINKET': 'YELLOW_TRINKET',
|
4
|
-
'CONTROL_WARD': 'CONTROL_WARD',
|
5
|
-
'SIGHT_WARD': 'SIGHT_WARD',
|
6
|
-
'BLUE_TRINKET': 'BLUE_TRINKET',
|
7
|
-
};
|
8
|
-
export function isWardType(value) {
|
9
|
-
return typeof value == 'string' && value in WardTypes;
|
10
|
-
}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { ChampionId } from '../../constants/Champions/ChampionIds';
|
2
|
-
import { ChampionKey } from '../../constants/Champions/ChampionKeys';
|
3
|
-
import { ChampionKeyNum } from '../../constants/Champions/ChampionKeysNum';
|
4
|
-
export declare function getChampionIdByKey(key: ChampionKey | ChampionKeyNum): ChampionId;
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { ChampionKey } from '../../constants/Champions/ChampionKeys';
|
2
|
-
import { ChampionKeyNum } from '../../constants/Champions/ChampionKeysNum';
|
3
|
-
import { ChampionName } from '../../constants/Champions/ChampionNames';
|
4
|
-
export declare function getChampionNameByKey(key: ChampionKey | ChampionKeyNum): ChampionName;
|