lol-constants 2.22.0 → 2.24.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/assets/constants/BootsItemNames.js +1 -4
- package/assets/constants/Champion.d.ts +175 -175
- package/assets/constants/Champion.js +1 -4
- package/assets/constants/Item.d.ts +4758 -7569
- package/assets/constants/Item.js +1 -4
- package/assets/constants/LegendaryItemNames.d.ts +1 -1
- package/assets/constants/LegendaryItemNames.js +4 -7
- package/assets/constants/RunesReforged.d.ts +2 -2
- package/assets/constants/RunesReforged.js +1 -4
- package/assets/constants/StatRunes.js +1 -4
- package/assets/constants/StatRunesByRow.js +1 -4
- package/assets/constants/Summoner.d.ts +1 -1
- package/assets/constants/Summoner.js +1 -4
- package/assets/index.js +4 -21
- package/assets/scripts/asset-scripts/champion.d.ts +1 -0
- package/assets/scripts/asset-scripts/champion.js +9 -0
- package/assets/scripts/asset-scripts/generate-all.d.ts +4 -0
- package/assets/scripts/asset-scripts/generate-all.js +4 -0
- package/assets/scripts/asset-scripts/item.d.ts +1 -0
- package/assets/scripts/asset-scripts/item.js +9 -0
- package/assets/scripts/asset-scripts/runes-reforged.d.ts +1 -0
- package/assets/scripts/asset-scripts/runes-reforged.js +9 -0
- package/assets/scripts/asset-scripts/summoner.d.ts +1 -0
- package/assets/scripts/asset-scripts/summoner.js +9 -0
- package/assets/scripts/constants/RuneIdComment.js +1 -4
- package/assets/scripts/generate-categorized-item-keys-num.js +15 -37
- package/assets/scripts/generate-categorized-item-keys.js +12 -34
- package/assets/scripts/generate-categorized-item-names.js +12 -34
- package/assets/scripts/generate-champion-ids-by-name.js +5 -7
- package/assets/scripts/generate-champion-ids.js +5 -7
- package/assets/scripts/generate-champion-keys-num.js +7 -9
- package/assets/scripts/generate-champion-keys.js +5 -7
- package/assets/scripts/generate-champion-names.js +5 -7
- package/assets/scripts/generate-item-keys-num.js +7 -9
- package/assets/scripts/generate-item-keys.js +5 -7
- package/assets/scripts/generate-item-names.js +5 -7
- package/assets/scripts/generate-non-stat-rune-ids-num.js +4 -6
- package/assets/scripts/generate-non-stat-rune-ids.js +6 -8
- package/assets/scripts/generate-non-stat-rune-names.js +4 -6
- package/assets/scripts/generate-rune-ids.js +8 -10
- package/assets/scripts/generate-rune-names.js +6 -8
- package/assets/scripts/generate-rune-picking-relationships.js +4 -6
- package/assets/scripts/generate-rune-sets-by-rune-names-num.js +12 -14
- package/assets/scripts/generate-rune-sets-by-rune-names.js +10 -12
- package/assets/scripts/generate-rune-sets.js +7 -9
- package/assets/scripts/generate-spell-ids-by-name.js +5 -7
- package/assets/scripts/generate-spell-ids.js +5 -7
- package/assets/scripts/generate-spell-keys-num.js +7 -9
- package/assets/scripts/generate-spell-keys.js +5 -7
- package/assets/scripts/generate-spell-names.js +5 -7
- package/assets/scripts/generate-stat-rune-ids.js +6 -8
- package/assets/scripts/generate-stat-rune-names.js +4 -6
- package/assets/scripts/helpers/enableEscapedValues.js +1 -5
- package/assets/scripts/helpers/generateIndexFile.js +1 -5
- package/assets/scripts/helpers/getExportStatement.js +6 -10
- package/assets/scripts/helpers/getFmtdComment.js +1 -5
- package/assets/scripts/helpers/validateNumber.js +1 -5
- package/assets/scripts/helpers/writeToTmpFile.js +5 -9
- package/assets/scripts/print-file-names.js +5 -7
- package/core/constants/Abilities.js +6 -11
- package/core/constants/BuildingTypes.js +3 -7
- package/core/constants/Champions/ChampionClasses.d.ts +17 -0
- package/core/constants/Champions/ChampionClasses.js +25 -0
- package/core/constants/Champions/ChampionIds.js +1 -4
- package/core/constants/Champions/ChampionIdsByName.js +1 -4
- package/core/constants/Champions/ChampionKeys.js +1 -4
- package/core/constants/Champions/ChampionKeysNum.js +1 -4
- package/core/constants/Champions/ChampionNames.js +1 -4
- package/core/constants/Continents.js +3 -7
- package/core/constants/DataDragonUrls.d.ts +17 -16
- package/core/constants/DataDragonUrls.js +4 -7
- package/core/constants/DragonTypes.js +3 -7
- package/core/constants/GameModes.js +3 -7
- package/core/constants/GameTypes.js +3 -7
- package/core/constants/Items/BootsItemKeys.js +1 -4
- package/core/constants/Items/BootsItemKeysNum.js +1 -4
- package/core/constants/Items/BootsItemNames.js +1 -4
- package/core/constants/Items/ItemKeys.d.ts +0 -34
- package/core/constants/Items/ItemKeys.js +1 -4
- package/core/constants/Items/ItemKeysNum.d.ts +0 -34
- package/core/constants/Items/ItemKeysNum.js +1 -4
- package/core/constants/Items/ItemNames.d.ts +0 -34
- package/core/constants/Items/ItemNames.js +1 -4
- package/core/constants/Items/ItemTypes.js +3 -7
- package/core/constants/Items/LegendaryItemKeys.d.ts +0 -20
- package/core/constants/Items/LegendaryItemKeys.js +1 -4
- package/core/constants/Items/LegendaryItemKeysNum.d.ts +0 -20
- package/core/constants/Items/LegendaryItemKeysNum.js +1 -4
- package/core/constants/Items/LegendaryItemNames.d.ts +0 -20
- package/core/constants/Items/LegendaryItemNames.js +1 -4
- package/core/constants/KillTypes.js +3 -7
- package/core/constants/LaneTypes.js +3 -7
- package/core/constants/Lanes.js +3 -7
- package/core/constants/LeagueTexts.js +3 -7
- package/core/constants/Levels.js +3 -7
- package/core/constants/Locales.js +3 -7
- package/core/constants/MapIds.js +3 -7
- package/core/constants/MonsterTypes.d.ts +2 -1
- package/core/constants/MonsterTypes.js +5 -8
- package/core/constants/ParticipantIds.js +3 -7
- package/core/constants/PlatformApiUris.js +3 -7
- package/core/constants/PlatformIds.js +6 -11
- package/core/constants/Positions.js +3 -7
- package/core/constants/QueueIds.js +5 -9
- package/core/constants/QueueTypes.js +3 -7
- package/core/constants/RankedRanks.js +3 -7
- package/core/constants/RankedTiers.js +3 -7
- package/core/constants/RegionalApiUris.js +3 -7
- package/core/constants/Regions.js +6 -11
- package/core/constants/RelativeTeams.js +3 -7
- package/core/constants/Roles.js +3 -7
- package/core/constants/Runes/NonStatRuneIds.js +1 -4
- package/core/constants/Runes/NonStatRuneIdsNum.js +1 -4
- package/core/constants/Runes/NonStatRuneNames.js +1 -4
- package/core/constants/Runes/RuneIconFileNames.js +1 -4
- package/core/constants/Runes/RunePickingRelationships.js +1 -4
- package/core/constants/Runes/RuneSets.js +8 -11
- package/core/constants/Runes/RuneSetsByRuneNames.js +8 -11
- package/core/constants/Runes/RuneSetsByRuneNamesNum.js +8 -11
- package/core/constants/Runes/RuneTreeIds.js +6 -11
- package/core/constants/Runes/RuneTreeIdsNum.js +6 -11
- package/core/constants/Runes/RuneTreeNames.js +6 -11
- package/core/constants/Runes/RuneTreeTypes.js +3 -7
- package/core/constants/SkillSlots.js +3 -7
- package/core/constants/Skills.js +3 -7
- package/core/constants/Spells/SpellIds.js +1 -4
- package/core/constants/Spells/SpellIdsByName.js +1 -4
- package/core/constants/Spells/SpellKeys.js +1 -4
- package/core/constants/Spells/SpellKeysNum.js +1 -4
- package/core/constants/Spells/SpellNames.js +1 -4
- package/core/constants/TeamIds.js +3 -7
- package/core/constants/TowerTypes.js +3 -7
- package/core/constants/WardTypes.js +3 -7
- package/core/helpers/Champions/getChampionIdByKey.js +3 -7
- package/core/helpers/Champions/getChampionIdByName.js +3 -7
- package/core/helpers/Champions/getChampionKeyById.js +3 -7
- package/core/helpers/Champions/getChampionKeyByName.js +4 -8
- package/core/helpers/Champions/getChampionNameById.js +4 -8
- package/core/helpers/Champions/getChampionNameByKey.js +3 -7
- package/core/helpers/Champions/isChampionId.js +3 -7
- package/core/helpers/Champions/isChampionKey.js +3 -7
- package/core/helpers/Champions/isChampionKeyNum.js +3 -7
- package/core/helpers/Champions/isChampionName.js +3 -7
- package/core/helpers/Items/getItemKeyByName.js +3 -7
- package/core/helpers/Items/getItemNameByKey.js +3 -7
- package/core/helpers/Items/isBootsItemKey.js +3 -7
- package/core/helpers/Items/isBootsItemKeyNum.js +3 -7
- package/core/helpers/Items/isBootsItemName.js +3 -7
- package/core/helpers/Items/isItemKey.js +3 -7
- package/core/helpers/Items/isItemKeyNum.js +3 -7
- package/core/helpers/Items/isItemName.js +3 -7
- package/core/helpers/Items/isLegendaryItemKey.js +3 -7
- package/core/helpers/Items/isLegendaryItemKeyNum.js +3 -7
- package/core/helpers/Items/isLegendaryItemName.js +3 -7
- package/core/helpers/Items/isTier2Boots.d.ts +3 -0
- package/core/helpers/Items/isTier2Boots.js +9 -0
- package/core/helpers/Runes/getNonStatRuneIdByName.js +3 -7
- package/core/helpers/Runes/getNonStatRuneNameById.js +3 -7
- package/core/helpers/Runes/getRuneCategoryName.js +8 -12
- package/core/helpers/Runes/getRuneCdnUrl.js +16 -20
- package/core/helpers/Runes/getRuneIdByName.js +3 -7
- package/core/helpers/Runes/getRuneNameById.js +3 -7
- package/core/helpers/Runes/getStatRuneIdByName.js +3 -7
- package/core/helpers/Runes/getStatRuneNameById.js +3 -7
- package/core/helpers/Runes/isDominationRuneId.js +3 -7
- package/core/helpers/Runes/isDominationRuneIdNum.js +3 -7
- package/core/helpers/Runes/isDominationRuneName.js +3 -7
- package/core/helpers/Runes/isInspirationRuneId.js +3 -7
- package/core/helpers/Runes/isInspirationRuneIdNum.js +3 -7
- package/core/helpers/Runes/isInspirationRuneName.js +3 -7
- package/core/helpers/Runes/isKeystoneRuneId.js +3 -7
- package/core/helpers/Runes/isKeystoneRuneIdNum.js +3 -7
- package/core/helpers/Runes/isKeystoneRuneName.js +3 -7
- package/core/helpers/Runes/isNonStatRuneId.js +3 -7
- package/core/helpers/Runes/isNonStatRuneIdNum.js +3 -7
- package/core/helpers/Runes/isNonStatRuneName.js +3 -7
- package/core/helpers/Runes/isPrecisionRuneId.js +3 -7
- package/core/helpers/Runes/isPrecisionRuneIdNum.js +3 -7
- package/core/helpers/Runes/isPrecisionRuneName.js +3 -7
- package/core/helpers/Runes/isResolveRuneId.js +3 -7
- package/core/helpers/Runes/isResolveRuneIdNum.js +3 -7
- package/core/helpers/Runes/isResolveRuneName.js +3 -7
- package/core/helpers/Runes/isRuneId.js +3 -7
- package/core/helpers/Runes/isRuneIdNum.js +3 -7
- package/core/helpers/Runes/isRuneName.js +3 -7
- package/core/helpers/Runes/isSorceryRuneId.js +3 -7
- package/core/helpers/Runes/isSorceryRuneIdNum.js +3 -7
- package/core/helpers/Runes/isSorceryRuneName.js +3 -7
- package/core/helpers/Runes/isStatRuneId.js +3 -7
- package/core/helpers/Runes/isStatRuneIdNum.js +3 -7
- package/core/helpers/Runes/isStatRuneName.js +3 -7
- package/core/helpers/Spells/getSpellIdByKey.js +3 -7
- package/core/helpers/Spells/getSpellIdByName.js +3 -7
- package/core/helpers/Spells/getSpellKeyById.js +3 -7
- package/core/helpers/Spells/getSpellKeyByName.js +4 -8
- package/core/helpers/Spells/getSpellNameById.js +4 -8
- package/core/helpers/Spells/getSpellNameByKey.js +3 -7
- package/core/helpers/Spells/isSpellId.js +3 -7
- package/core/helpers/Spells/isSpellKey.js +3 -7
- package/core/helpers/Spells/isSpellKeyNum.js +3 -7
- package/core/helpers/Spells/isSpellName.js +3 -7
- package/core/helpers/getPositionImageUrl.js +3 -7
- package/core/helpers/isRiotId.js +7 -11
- package/core/helpers/makeRiotId.js +1 -5
- package/core/helpers/splitRiotId.js +1 -5
- package/core/index.d.ts +4 -6
- package/core/index.js +138 -156
- package/core/types/championJson.js +1 -2
- package/core/types/interfaces.js +1 -2
- package/core/types/types.js +1 -2
- package/package.json +11 -6
- package/assets/constants/OrnnItemNames.d.ts +0 -1
- package/assets/constants/OrnnItemNames.js +0 -33
- package/assets/scripts/generate-all.d.ts +0 -23
- package/assets/scripts/generate-all.js +0 -29
- package/core/constants/Items/OrnnItemKeys.d.ts +0 -23
- package/core/constants/Items/OrnnItemKeys.js +0 -4
- package/core/constants/Items/OrnnItemKeysNum.d.ts +0 -23
- package/core/constants/Items/OrnnItemKeysNum.js +0 -4
- package/core/constants/Items/OrnnItemNames.d.ts +0 -23
- package/core/constants/Items/OrnnItemNames.js +0 -4
- package/core/constants/QueueDescriptions.d.ts +0 -4
- package/core/constants/QueueDescriptions.js +0 -31
- package/core/helpers/Items/isOrnnItemKey.d.ts +0 -2
- package/core/helpers/Items/isOrnnItemKey.js +0 -8
- package/core/helpers/Items/isOrnnItemKeyNum.d.ts +0 -2
- package/core/helpers/Items/isOrnnItemKeyNum.js +0 -8
- package/core/helpers/Items/isOrnnItemName.d.ts +0 -2
- package/core/helpers/Items/isOrnnItemName.js +0 -8
@@ -1,4 +1 @@
|
|
1
|
-
"
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ItemNames = void 0;
|
4
|
-
exports.ItemNames = { "1001": "Boots", "1004": "Faerie Charm", "1006": "Rejuvenation Bead", "1011": "Giant's Belt", "1018": "Cloak of Agility", "1026": "Blasting Wand", "1027": "Sapphire Crystal", "1028": "Ruby Crystal", "1029": "Cloth Armor", "1031": "Chain Vest", "1033": "Null-Magic Mantle", "1036": "Long Sword", "1037": "Pickaxe", "1038": "B. F. Sword", "1040": "Obsidian Edge", "1042": "Dagger", "1043": "Recurve Bow", "1052": "Amplifying Tome", "1053": "Vampiric Scepter", "1054": "Doran's Shield", "1055": "Doran's Blade", "1056": "Doran's Ring", "1057": "Negatron Cloak", "1058": "Needlessly Large Rod", "1082": "Dark Seal", "1083": "Cull", "1101": "Scorchclaw Pup", "1102": "Gustwalker Hatchling", "1103": "Mosstomper Seedling", "1500": "Penetrating Bullets", "1501": "Fortification", "1502": "Reinforced Armor", "1503": "Warden's Eye", "1506": "Reinforced Armor", "1507": "Overcharged", "1508": "Anti-tower Socks", "1509": "Gusto", "1510": "Phreakish Gusto", "1511": "Super Mech Armor", "1512": "Super Mech Power Field", "1515": "Turret Plating", "1516": "Structure Bounty", "1517": "Structure Bounty", "1518": "Structure Bounty", "1519": "Structure Bounty", "1520": "OvererchargedHA", "1521": "Fortification", "1522": "Tower Power-Up", "2003": "Health Potion", "2010": "Total Biscuit of Everlasting Will", "2019": "Steel Sigil", "2020": "The Brutalizer", "2021": "Tunneler", "2022": "Glowing Mote", "2031": "Refillable Potion", "2033": "Corrupting Potion", "2052": "Poro-Snax", "2055": "Control Ward", "2065": "Shurelya's Battlesong", "2138": "Elixir of Iron", "2139": "Elixir of Sorcery", "2140": "Elixir of Wrath", "2150": "Elixir of Skill", "2151": "Elixir of Avarice", "2152": "Elixir of Force", "2403": "Minion Dematerializer", "2420": "Seeker's Armguard", "2421": "Shattered Armguard", "2422": "Slightly Magical Footwear", "2501": "Overlord's Bloodmail", "2502": "Unending Despair", "2503": "Blackfire Torch", "2504": "Kaenic Rookern", "2508": "Fated Ashes", "3002": "Trailblazer", "3003": "Archangel's Staff", "3004": "Manamune", "3006": "Berserker's Greaves", "3009": "Boots of Swiftness", "3010": "Symbiotic Soles", "3011": "Chemtech Putrifier", "3013": "Synchronized Souls", "3020": "Sorcerer's Shoes", "3024": "Glacial Buckler", "3026": "Guardian Angel", "3031": "Infinity Edge", "3032": "Yun Tal Wildarrows", "3033": "Mortal Reminder", "3035": "Last Whisper", "3036": "Lord Dominik's Regards", "3040": "Seraph's Embrace", "3041": "Mejai's Soulstealer", "3042": "Muramana", "3044": "Phage", "3046": "Phantom Dancer", "3047": "Plated Steelcaps", "3050": "Zeke's Convergence", "3051": "Hearthbound Axe", "3053": "Sterak's Gage", "3057": "Sheen", "3065": "Spirit Visage", "3066": "Winged Moonplate", "3067": "Kindlegem", "3068": "Sunfire Aegis", "3070": "Tear of the Goddess", "3071": "Black Cleaver", "3072": "Bloodthirster", "3073": "Experimental Hexplate", "3074": "Ravenous Hydra", "3075": "Thornmail", "3076": "Bramble Vest", "3077": "Tiamat", "3078": "Trinity Force", "3082": "Warden's Mail", "3083": "Warmog's Armor", "3084": "Heartsteel", "3085": "Runaan's Hurricane", "3086": "Zeal", "3087": "Statikk Shiv", "3089": "Rabadon's Deathcap", "3091": "Wit's End", "3094": "Rapid Firecannon", "3100": "Lich Bane", "3102": "Banshee's Veil", "3107": "Redemption", "3108": "Fiendish Codex", "3109": "Knight's Vow", "3110": "Frozen Heart", "3111": "Mercury's Treads", "3113": "Aether Wisp", "3114": "Forbidden Idol", "3115": "Nashor's Tooth", "3116": "Rylai's Crystal Scepter", "3117": "Mobility Boots", "3118": "Malignance", "3119": "Winter's Approach", "3121": "Fimbulwinter", "3123": "Executioner's Calling", "3124": "Guinsoo's Rageblade", "3133": "Caulfield's Warhammer", "3134": "Serrated Dirk", "3135": "Void Staff", "3137": "Cryptbloom", "3139": "Mercurial Scimitar", "3140": "Quicksilver Sash", "3142": "Youmuu's Ghostblade", "3143": "Randuin's Omen", "3144": "Scout's Slingshot", "3145": "Hextech Alternator", "3147": "Haunting Guise", "3152": "Hextech Rocketbelt", "3153": "Blade of The Ruined King", "3155": "Hexdrinker", "3156": "Maw of Malmortius", "3157": "Zhonya's Hourglass", "3158": "Ionian Boots of Lucidity", "3161": "Spear of Shojin", "3165": "Morellonomicon", "3172": "Zephyr", "3179": "Umbral Glaive", "3181": "Hullbreaker", "3190": "Locket of the Iron Solari", "3211": "Spectre's Cowl", "3222": "Mikael's Blessing", "3302": "Terminus", "3330": "Scarecrow Effigy", "3340": "Stealth Ward", "3363": "Farsight Alteration", "3364": "Oracle Lens", "3400": "Your Cut", "3504": "Ardent Censer", "3508": "Essence Reaver", "3599": "Kalista's Black Spear", "3600": "Kalista's Black Spear", "3742": "Dead Man's Plate", "3748": "Titanic Hydra", "3801": "Crystalline Bracer", "3802": "Lost Chapter", "3803": "Catalyst of Aeons", "3814": "Edge of Night", "3865": "World Atlas", "3866": "Runic Compass", "3867": "Bounty of Worlds", "3869": "Celestial Opposition", "3870": "Dream Maker", "3871": "Zaz'Zak's Realmspike", "3876": "Solstice Sleigh", "3877": "Bloodsong", "3901": "Fire at Will500 Silver Serpents", "3902": "Death's Daughter500 Silver Serpents", "3903": "Raise Morale500 Silver Serpents", "3916": "Oblivion Orb", "4005": "Imperial Mandate", "4401": "Force of Nature", "4628": "Horizon Focus", "4629": "Cosmic Drive", "4630": "Blighting Jewel", "4632": "Verdant Barrier", "4633": "Riftmaker", "4635": "Leeching Leer", "4636": "Night Harvester", "4637": "Demonic Embrace", "4638": "Watchful Wardstone", "4641": "Stirring Wardstone", "4642": "Bandleglass Mirror", "4643": "Vigilant Wardstone", "4645": "Shadowflame", "4646": "Stormsurge", "6333": "Death's Dance", "6609": "Chempunk Chainsword", "6610": "Sundered Sky", "6616": "Staff of Flowing Water", "6617": "Moonstone Renewer", "6620": "Echoes of Helia", "6621": "Dawncore", "6631": "Stridebreaker", "6653": "Liandry's Torment", "6655": "Luden's Companion", "6657": "Rod of Ages", "6660": "Bami's Cinder", "6662": "Iceborn Gauntlet", "6664": "Hollow Radiance", "6665": "Jak'Sho, The Protean", "6670": "Noonquiver", "6672": "Kraken Slayer", "6673": "Immortal Shieldbow", "6675": "Navori Flickerblade", "6676": "The Collector", "6690": "Rectrix", "6692": "Eclipse", "6693": "Prowler's Claw", "6694": "Serylda's Grudge", "6695": "Serpent's Fang", "6696": "Axiom Arc", "6697": "Hubris", "6698": "Profane Hydra", "6699": "Voltaic Cyclosword", "6701": "Opportunity", "7001": "Syzygy", "7003": "Rabadon's Deathcrown", "7004": "Enmity of the Masses", "7005": "Frozen Fist", "7006": "Typhoon", "7007": "Swordnado", "7008": "Ataraxia", "7009": "Icathia's Curse", "7010": "Vespertide", "7011": "Upgraded Aeropack", "7012": "Liandry's Lament", "7013": "Force of Arms", "7016": "Dreamshatter", "7018": "Infinity Force", "7019": "Reliquary of the Golden Dawn", "7020": "Shurelya's Requiem", "7021": "Starcaster", "7022": "Certainty", "7025": "Leviathan", "7026": "The Unspoken Parasite", "7028": "Infinite Convergence", "7029": "Youmuu's Wake", "7030": "Seething Sorrow", "7031": "Edge of Finality", "7032": "Flicker", "7033": "Cry of the Shrieking City", "7034": "Hope Adrift", "7035": "Daybreak", "7036": "T.U.R.B.O.", "7037": "Obsidian Cleaver", "7038": "Shojin's Resolve", "7039": "Heavensfall", "7041": "Wyrmfallen Sacrifice", "7042": "The Baron's Gift", "7050": "Gangplank Placeholder", "8001": "Anathema's Chains", "8020": "Abyssal Mask" };
|
1
|
+
export const ItemNames = { "1001": "Boots", "1004": "Faerie Charm", "1006": "Rejuvenation Bead", "1011": "Giant's Belt", "1018": "Cloak of Agility", "1026": "Blasting Wand", "1027": "Sapphire Crystal", "1028": "Ruby Crystal", "1029": "Cloth Armor", "1031": "Chain Vest", "1033": "Null-Magic Mantle", "1036": "Long Sword", "1037": "Pickaxe", "1038": "B. F. Sword", "1040": "Obsidian Edge", "1042": "Dagger", "1043": "Recurve Bow", "1052": "Amplifying Tome", "1053": "Vampiric Scepter", "1054": "Doran's Shield", "1055": "Doran's Blade", "1056": "Doran's Ring", "1057": "Negatron Cloak", "1058": "Needlessly Large Rod", "1082": "Dark Seal", "1083": "Cull", "1101": "Scorchclaw Pup", "1102": "Gustwalker Hatchling", "1103": "Mosstomper Seedling", "1500": "Penetrating Bullets", "1501": "Fortification", "1502": "Reinforced Armor", "1503": "Warden's Eye", "1506": "Reinforced Armor", "1507": "Overcharged", "1508": "Anti-tower Socks", "1509": "Gusto", "1510": "Phreakish Gusto", "1511": "Super Mech Armor", "1512": "Super Mech Power Field", "1515": "Turret Plating", "1516": "Structure Bounty", "1517": "Structure Bounty", "1518": "Structure Bounty", "1519": "Structure Bounty", "1520": "OvererchargedHA", "1521": "Fortification", "1522": "Tower Power-Up", "2003": "Health Potion", "2010": "Total Biscuit of Everlasting Will", "2019": "Steel Sigil", "2020": "The Brutalizer", "2021": "Tunneler", "2022": "Glowing Mote", "2031": "Refillable Potion", "2033": "Corrupting Potion", "2052": "Poro-Snax", "2055": "Control Ward", "2065": "Shurelya's Battlesong", "2138": "Elixir of Iron", "2139": "Elixir of Sorcery", "2140": "Elixir of Wrath", "2150": "Elixir of Skill", "2151": "Elixir of Avarice", "2152": "Elixir of Force", "2403": "Minion Dematerializer", "2420": "Seeker's Armguard", "2421": "Shattered Armguard", "2422": "Slightly Magical Footwear", "2501": "Overlord's Bloodmail", "2502": "Unending Despair", "2503": "Blackfire Torch", "2504": "Kaenic Rookern", "2508": "Fated Ashes", "3002": "Trailblazer", "3003": "Archangel's Staff", "3004": "Manamune", "3006": "Berserker's Greaves", "3009": "Boots of Swiftness", "3010": "Symbiotic Soles", "3011": "Chemtech Putrifier", "3013": "Synchronized Souls", "3020": "Sorcerer's Shoes", "3024": "Glacial Buckler", "3026": "Guardian Angel", "3031": "Infinity Edge", "3032": "Yun Tal Wildarrows", "3033": "Mortal Reminder", "3035": "Last Whisper", "3036": "Lord Dominik's Regards", "3040": "Seraph's Embrace", "3041": "Mejai's Soulstealer", "3042": "Muramana", "3044": "Phage", "3046": "Phantom Dancer", "3047": "Plated Steelcaps", "3050": "Zeke's Convergence", "3051": "Hearthbound Axe", "3053": "Sterak's Gage", "3057": "Sheen", "3065": "Spirit Visage", "3066": "Winged Moonplate", "3067": "Kindlegem", "3068": "Sunfire Aegis", "3070": "Tear of the Goddess", "3071": "Black Cleaver", "3072": "Bloodthirster", "3073": "Experimental Hexplate", "3074": "Ravenous Hydra", "3075": "Thornmail", "3076": "Bramble Vest", "3077": "Tiamat", "3078": "Trinity Force", "3082": "Warden's Mail", "3083": "Warmog's Armor", "3084": "Heartsteel", "3085": "Runaan's Hurricane", "3086": "Zeal", "3087": "Statikk Shiv", "3089": "Rabadon's Deathcap", "3091": "Wit's End", "3094": "Rapid Firecannon", "3100": "Lich Bane", "3102": "Banshee's Veil", "3107": "Redemption", "3108": "Fiendish Codex", "3109": "Knight's Vow", "3110": "Frozen Heart", "3111": "Mercury's Treads", "3113": "Aether Wisp", "3114": "Forbidden Idol", "3115": "Nashor's Tooth", "3116": "Rylai's Crystal Scepter", "3117": "Mobility Boots", "3118": "Malignance", "3119": "Winter's Approach", "3121": "Fimbulwinter", "3123": "Executioner's Calling", "3124": "Guinsoo's Rageblade", "3133": "Caulfield's Warhammer", "3134": "Serrated Dirk", "3135": "Void Staff", "3137": "Cryptbloom", "3139": "Mercurial Scimitar", "3140": "Quicksilver Sash", "3142": "Youmuu's Ghostblade", "3143": "Randuin's Omen", "3144": "Scout's Slingshot", "3145": "Hextech Alternator", "3147": "Haunting Guise", "3152": "Hextech Rocketbelt", "3153": "Blade of The Ruined King", "3155": "Hexdrinker", "3156": "Maw of Malmortius", "3157": "Zhonya's Hourglass", "3158": "Ionian Boots of Lucidity", "3161": "Spear of Shojin", "3165": "Morellonomicon", "3172": "Zephyr", "3179": "Umbral Glaive", "3181": "Hullbreaker", "3190": "Locket of the Iron Solari", "3211": "Spectre's Cowl", "3222": "Mikael's Blessing", "3302": "Terminus", "3330": "Scarecrow Effigy", "3340": "Stealth Ward", "3363": "Farsight Alteration", "3364": "Oracle Lens", "3400": "Your Cut", "3504": "Ardent Censer", "3508": "Essence Reaver", "3599": "Kalista's Black Spear", "3600": "Kalista's Black Spear", "3742": "Dead Man's Plate", "3748": "Titanic Hydra", "3801": "Crystalline Bracer", "3802": "Lost Chapter", "3803": "Catalyst of Aeons", "3814": "Edge of Night", "3865": "World Atlas", "3866": "Runic Compass", "3867": "Bounty of Worlds", "3869": "Celestial Opposition", "3870": "Dream Maker", "3871": "Zaz'Zak's Realmspike", "3876": "Solstice Sleigh", "3877": "Bloodsong", "3901": "Fire at Will500 Silver Serpents", "3902": "Death's Daughter500 Silver Serpents", "3903": "Raise Morale500 Silver Serpents", "3916": "Oblivion Orb", "4005": "Imperial Mandate", "4401": "Force of Nature", "4628": "Horizon Focus", "4629": "Cosmic Drive", "4630": "Blighting Jewel", "4632": "Verdant Barrier", "4633": "Riftmaker", "4635": "Leeching Leer", "4636": "Night Harvester", "4637": "Demonic Embrace", "4638": "Watchful Wardstone", "4641": "Stirring Wardstone", "4642": "Bandleglass Mirror", "4643": "Vigilant Wardstone", "4645": "Shadowflame", "4646": "Stormsurge", "6333": "Death's Dance", "6609": "Chempunk Chainsword", "6610": "Sundered Sky", "6616": "Staff of Flowing Water", "6617": "Moonstone Renewer", "6620": "Echoes of Helia", "6621": "Dawncore", "6631": "Stridebreaker", "6653": "Liandry's Torment", "6655": "Luden's Companion", "6657": "Rod of Ages", "6660": "Bami's Cinder", "6662": "Iceborn Gauntlet", "6664": "Hollow Radiance", "6665": "Jak'Sho, The Protean", "6670": "Noonquiver", "6672": "Kraken Slayer", "6673": "Immortal Shieldbow", "6675": "Navori Flickerblade", "6676": "The Collector", "6690": "Rectrix", "6692": "Eclipse", "6693": "Prowler's Claw", "6694": "Serylda's Grudge", "6695": "Serpent's Fang", "6696": "Axiom Arc", "6697": "Hubris", "6698": "Profane Hydra", "6699": "Voltaic Cyclosword", "6701": "Opportunity", "7050": "Gangplank Placeholder", "8001": "Anathema's Chains", "8020": "Abyssal Mask" };
|
@@ -1,12 +1,8 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isItemType = exports.ItemTypes = void 0;
|
4
|
-
exports.ItemTypes = {
|
1
|
+
export const ItemTypes = {
|
5
2
|
'Legendary': 'Legendary',
|
6
3
|
'Epic': 'Epic',
|
7
4
|
'Boots': 'Boots',
|
8
5
|
};
|
9
|
-
function isItemType(type) {
|
10
|
-
return typeof type == 'string' && type in
|
6
|
+
export function isItemType(type) {
|
7
|
+
return typeof type == 'string' && type in ItemTypes;
|
11
8
|
}
|
12
|
-
exports.isItemType = isItemType;
|
@@ -115,25 +115,5 @@ export declare const LegendaryItemKeys: {
|
|
115
115
|
readonly "Rod of Ages": "6657";
|
116
116
|
readonly "Youmuu's Ghostblade": "3142";
|
117
117
|
readonly "Yun Tal Wildarrows": "3032";
|
118
|
-
readonly "Cry of the Shrieking City": "7033";
|
119
|
-
readonly Dreamshatter: "7016";
|
120
|
-
readonly "Edge of Finality": "7031";
|
121
|
-
readonly "Frozen Fist": "7005";
|
122
|
-
readonly Flicker: "7032";
|
123
|
-
readonly "Infinite Convergence": "7028";
|
124
|
-
readonly "Icathia's Curse": "7009";
|
125
|
-
readonly "Infinity Force": "7018";
|
126
|
-
readonly Leviathan: "7025";
|
127
|
-
readonly "Liandry's Lament": "7012";
|
128
|
-
readonly "Reliquary of the Golden Dawn": "7019";
|
129
|
-
readonly Syzygy: "7001";
|
130
|
-
readonly "Shurelya's Requiem": "7020";
|
131
|
-
readonly Starcaster: "7021";
|
132
|
-
readonly "Seething Sorrow": "7030";
|
133
|
-
readonly "The Unspoken Parasite": "7026";
|
134
|
-
readonly Typhoon: "7006";
|
135
|
-
readonly "Upgraded Aeropack": "7011";
|
136
|
-
readonly Vespertide: "7010";
|
137
|
-
readonly "Youmuu's Wake": "7029";
|
138
118
|
};
|
139
119
|
export type LegendaryItemKey = typeof LegendaryItemKeys[keyof typeof LegendaryItemKeys];
|
@@ -1,4 +1 @@
|
|
1
|
-
"
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.LegendaryItemKeys = void 0;
|
4
|
-
exports.LegendaryItemKeys = { "Abyssal Mask": "8020", "Anathema's Chains": "8001", "Archangel's Staff": "3003", "Ardent Censer": "3504", "Axiom Arc": "6696", "Banshee's Veil": "3102", "Black Cleaver": "3071", "Blackfire Torch": "2503", "Bloodsong": "3877", "Bloodthirster": "3072", "Bounty of Worlds": "3867", "Celestial Opposition": "3869", "Chempunk Chainsword": "6609", "Cosmic Drive": "4629", "Cryptbloom": "3137", "Dawncore": "6621", "Dead Man's Plate": "3742", "Death's Dance": "6333", "Demonic Embrace": "4637", "Dream Maker": "3870", "Edge of Night": "3814", "Elixir of Avarice": "2151", "Elixir of Force": "2152", "Essence Reaver": "3508", "Experimental Hexplate": "3073", "Fimbulwinter": "3121", "Force of Nature": "4401", "Frozen Heart": "3110", "Glowing Mote": "2022", "Guardian Angel": "3026", "Hollow Radiance": "6664", "Horizon Focus": "4628", "Hubris": "6697", "Hullbreaker": "3181", "Immortal Shieldbow": "6673", "Imperial Mandate": "4005", "Kaenic Rookern": "2504", "Knight's Vow": "3109", "Kraken Slayer": "6672", "Lich Bane": "3100", "Lord Dominik's Regards": "3036", "Luden's Companion": "6655", "Malignance": "3118", "Manamune": "3004", "Maw of Malmortius": "3156", "Mejai's Soulstealer": "3041", "Mercurial Scimitar": "3139", "Mikael's Blessing": "3222", "Morellonomicon": "3165", "Mortal Reminder": "3033", "Muramana": "3042", "Nashor's Tooth": "3115", "Opportunity": "6701", "Overlord's Bloodmail": "2501", "Phantom Dancer": "3046", "Profane Hydra": "6698", "Rabadon's Deathcap": "3089", "Randuin's Omen": "3143", "Rapid Firecannon": "3094", "Ravenous Hydra": "3074", "Rectrix": "6690", "Redemption": "3107", "Runaan's Hurricane": "3085", "Rylai's Crystal Scepter": "3116", "Seraph's Embrace": "3040", "Serpent's Fang": "6695", "Serylda's Grudge": "6694", "Shadowflame": "4645", "Shattered Armguard": "2421", "Solstice Sleigh": "3876", "Spear of Shojin": "3161", "Spirit Visage": "3065", "Staff of Flowing Water": "6616", "Statikk Shiv": "3087", "Sterak's Gage": "3053", "Stormsurge": "4646", "Sundered Sky": "6610", "Sunfire Aegis": "3068", "Terminus": "3302", "The Collector": "6676", "Thornmail": "3075", "Titanic Hydra": "3748", "Trailblazer": "3002", "Umbral Glaive": "3179", "Unending Despair": "2502", "Vigilant Wardstone": "4643", "Void Staff": "3135", "Voltaic Cyclosword": "6699", "Warmog's Armor": "3083", "Winter's Approach": "3119", "Wit's End": "3091", "World Atlas": "3865", "Zaz'Zak's Realmspike": "3871", "Zeke's Convergence": "3050", "Zephyr": "3172", "Zhonya's Hourglass": "3157", "Echoes of Helia": "6620", "Liandry's Torment": "6653", "Locket of the Iron Solari": "3190", "Moonstone Renewer": "6617", "Navori Flickerblade": "6675", "Night Harvester": "4636", "Riftmaker": "4633", "Shurelya's Battlesong": "2065", "Stridebreaker": "6631", "Trinity Force": "3078", "Eclipse": "6692", "Iceborn Gauntlet": "6662", "Infinity Edge": "3031", "Guinsoo's Rageblade": "3124", "Hextech Rocketbelt": "3152", "Jak'Sho, The Protean": "6665", "Heartsteel": "3084", "Rod of Ages": "6657", "Youmuu's Ghostblade": "3142", "Yun Tal Wildarrows": "3032", "Cry of the Shrieking City": "7033", "Dreamshatter": "7016", "Edge of Finality": "7031", "Frozen Fist": "7005", "Flicker": "7032", "Infinite Convergence": "7028", "Icathia's Curse": "7009", "Infinity Force": "7018", "Leviathan": "7025", "Liandry's Lament": "7012", "Reliquary of the Golden Dawn": "7019", "Syzygy": "7001", "Shurelya's Requiem": "7020", "Starcaster": "7021", "Seething Sorrow": "7030", "The Unspoken Parasite": "7026", "Typhoon": "7006", "Upgraded Aeropack": "7011", "Vespertide": "7010", "Youmuu's Wake": "7029" };
|
1
|
+
export const LegendaryItemKeys = { "Abyssal Mask": "8020", "Anathema's Chains": "8001", "Archangel's Staff": "3003", "Ardent Censer": "3504", "Axiom Arc": "6696", "Banshee's Veil": "3102", "Black Cleaver": "3071", "Blackfire Torch": "2503", "Bloodsong": "3877", "Bloodthirster": "3072", "Bounty of Worlds": "3867", "Celestial Opposition": "3869", "Chempunk Chainsword": "6609", "Cosmic Drive": "4629", "Cryptbloom": "3137", "Dawncore": "6621", "Dead Man's Plate": "3742", "Death's Dance": "6333", "Demonic Embrace": "4637", "Dream Maker": "3870", "Edge of Night": "3814", "Elixir of Avarice": "2151", "Elixir of Force": "2152", "Essence Reaver": "3508", "Experimental Hexplate": "3073", "Fimbulwinter": "3121", "Force of Nature": "4401", "Frozen Heart": "3110", "Glowing Mote": "2022", "Guardian Angel": "3026", "Hollow Radiance": "6664", "Horizon Focus": "4628", "Hubris": "6697", "Hullbreaker": "3181", "Immortal Shieldbow": "6673", "Imperial Mandate": "4005", "Kaenic Rookern": "2504", "Knight's Vow": "3109", "Kraken Slayer": "6672", "Lich Bane": "3100", "Lord Dominik's Regards": "3036", "Luden's Companion": "6655", "Malignance": "3118", "Manamune": "3004", "Maw of Malmortius": "3156", "Mejai's Soulstealer": "3041", "Mercurial Scimitar": "3139", "Mikael's Blessing": "3222", "Morellonomicon": "3165", "Mortal Reminder": "3033", "Muramana": "3042", "Nashor's Tooth": "3115", "Opportunity": "6701", "Overlord's Bloodmail": "2501", "Phantom Dancer": "3046", "Profane Hydra": "6698", "Rabadon's Deathcap": "3089", "Randuin's Omen": "3143", "Rapid Firecannon": "3094", "Ravenous Hydra": "3074", "Rectrix": "6690", "Redemption": "3107", "Runaan's Hurricane": "3085", "Rylai's Crystal Scepter": "3116", "Seraph's Embrace": "3040", "Serpent's Fang": "6695", "Serylda's Grudge": "6694", "Shadowflame": "4645", "Shattered Armguard": "2421", "Solstice Sleigh": "3876", "Spear of Shojin": "3161", "Spirit Visage": "3065", "Staff of Flowing Water": "6616", "Statikk Shiv": "3087", "Sterak's Gage": "3053", "Stormsurge": "4646", "Sundered Sky": "6610", "Sunfire Aegis": "3068", "Terminus": "3302", "The Collector": "6676", "Thornmail": "3075", "Titanic Hydra": "3748", "Trailblazer": "3002", "Umbral Glaive": "3179", "Unending Despair": "2502", "Vigilant Wardstone": "4643", "Void Staff": "3135", "Voltaic Cyclosword": "6699", "Warmog's Armor": "3083", "Winter's Approach": "3119", "Wit's End": "3091", "World Atlas": "3865", "Zaz'Zak's Realmspike": "3871", "Zeke's Convergence": "3050", "Zephyr": "3172", "Zhonya's Hourglass": "3157", "Echoes of Helia": "6620", "Liandry's Torment": "6653", "Locket of the Iron Solari": "3190", "Moonstone Renewer": "6617", "Navori Flickerblade": "6675", "Night Harvester": "4636", "Riftmaker": "4633", "Shurelya's Battlesong": "2065", "Stridebreaker": "6631", "Trinity Force": "3078", "Eclipse": "6692", "Iceborn Gauntlet": "6662", "Infinity Edge": "3031", "Guinsoo's Rageblade": "3124", "Hextech Rocketbelt": "3152", "Jak'Sho, The Protean": "6665", "Heartsteel": "3084", "Rod of Ages": "6657", "Youmuu's Ghostblade": "3142", "Yun Tal Wildarrows": "3032" };
|
@@ -115,25 +115,5 @@ export declare const LegendaryItemKeysNum: {
|
|
115
115
|
readonly "Rod of Ages": 6657;
|
116
116
|
readonly "Youmuu's Ghostblade": 3142;
|
117
117
|
readonly "Yun Tal Wildarrows": 3032;
|
118
|
-
readonly "Cry of the Shrieking City": 7033;
|
119
|
-
readonly Dreamshatter: 7016;
|
120
|
-
readonly "Edge of Finality": 7031;
|
121
|
-
readonly "Frozen Fist": 7005;
|
122
|
-
readonly Flicker: 7032;
|
123
|
-
readonly "Infinite Convergence": 7028;
|
124
|
-
readonly "Icathia's Curse": 7009;
|
125
|
-
readonly "Infinity Force": 7018;
|
126
|
-
readonly Leviathan: 7025;
|
127
|
-
readonly "Liandry's Lament": 7012;
|
128
|
-
readonly "Reliquary of the Golden Dawn": 7019;
|
129
|
-
readonly Syzygy: 7001;
|
130
|
-
readonly "Shurelya's Requiem": 7020;
|
131
|
-
readonly Starcaster: 7021;
|
132
|
-
readonly "Seething Sorrow": 7030;
|
133
|
-
readonly "The Unspoken Parasite": 7026;
|
134
|
-
readonly Typhoon: 7006;
|
135
|
-
readonly "Upgraded Aeropack": 7011;
|
136
|
-
readonly Vespertide: 7010;
|
137
|
-
readonly "Youmuu's Wake": 7029;
|
138
118
|
};
|
139
119
|
export type LegendaryItemKeyNum = typeof LegendaryItemKeysNum[keyof typeof LegendaryItemKeysNum];
|
@@ -1,4 +1 @@
|
|
1
|
-
"
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.LegendaryItemKeysNum = void 0;
|
4
|
-
exports.LegendaryItemKeysNum = { "Abyssal Mask": 8020, "Anathema's Chains": 8001, "Archangel's Staff": 3003, "Ardent Censer": 3504, "Axiom Arc": 6696, "Banshee's Veil": 3102, "Black Cleaver": 3071, "Blackfire Torch": 2503, "Bloodsong": 3877, "Bloodthirster": 3072, "Bounty of Worlds": 3867, "Celestial Opposition": 3869, "Chempunk Chainsword": 6609, "Cosmic Drive": 4629, "Cryptbloom": 3137, "Dawncore": 6621, "Dead Man's Plate": 3742, "Death's Dance": 6333, "Demonic Embrace": 4637, "Dream Maker": 3870, "Edge of Night": 3814, "Elixir of Avarice": 2151, "Elixir of Force": 2152, "Essence Reaver": 3508, "Experimental Hexplate": 3073, "Fimbulwinter": 3121, "Force of Nature": 4401, "Frozen Heart": 3110, "Glowing Mote": 2022, "Guardian Angel": 3026, "Hollow Radiance": 6664, "Horizon Focus": 4628, "Hubris": 6697, "Hullbreaker": 3181, "Immortal Shieldbow": 6673, "Imperial Mandate": 4005, "Kaenic Rookern": 2504, "Knight's Vow": 3109, "Kraken Slayer": 6672, "Lich Bane": 3100, "Lord Dominik's Regards": 3036, "Luden's Companion": 6655, "Malignance": 3118, "Manamune": 3004, "Maw of Malmortius": 3156, "Mejai's Soulstealer": 3041, "Mercurial Scimitar": 3139, "Mikael's Blessing": 3222, "Morellonomicon": 3165, "Mortal Reminder": 3033, "Muramana": 3042, "Nashor's Tooth": 3115, "Opportunity": 6701, "Overlord's Bloodmail": 2501, "Phantom Dancer": 3046, "Profane Hydra": 6698, "Rabadon's Deathcap": 3089, "Randuin's Omen": 3143, "Rapid Firecannon": 3094, "Ravenous Hydra": 3074, "Rectrix": 6690, "Redemption": 3107, "Runaan's Hurricane": 3085, "Rylai's Crystal Scepter": 3116, "Seraph's Embrace": 3040, "Serpent's Fang": 6695, "Serylda's Grudge": 6694, "Shadowflame": 4645, "Shattered Armguard": 2421, "Solstice Sleigh": 3876, "Spear of Shojin": 3161, "Spirit Visage": 3065, "Staff of Flowing Water": 6616, "Statikk Shiv": 3087, "Sterak's Gage": 3053, "Stormsurge": 4646, "Sundered Sky": 6610, "Sunfire Aegis": 3068, "Terminus": 3302, "The Collector": 6676, "Thornmail": 3075, "Titanic Hydra": 3748, "Trailblazer": 3002, "Umbral Glaive": 3179, "Unending Despair": 2502, "Vigilant Wardstone": 4643, "Void Staff": 3135, "Voltaic Cyclosword": 6699, "Warmog's Armor": 3083, "Winter's Approach": 3119, "Wit's End": 3091, "World Atlas": 3865, "Zaz'Zak's Realmspike": 3871, "Zeke's Convergence": 3050, "Zephyr": 3172, "Zhonya's Hourglass": 3157, "Echoes of Helia": 6620, "Liandry's Torment": 6653, "Locket of the Iron Solari": 3190, "Moonstone Renewer": 6617, "Navori Flickerblade": 6675, "Night Harvester": 4636, "Riftmaker": 4633, "Shurelya's Battlesong": 2065, "Stridebreaker": 6631, "Trinity Force": 3078, "Eclipse": 6692, "Iceborn Gauntlet": 6662, "Infinity Edge": 3031, "Guinsoo's Rageblade": 3124, "Hextech Rocketbelt": 3152, "Jak'Sho, The Protean": 6665, "Heartsteel": 3084, "Rod of Ages": 6657, "Youmuu's Ghostblade": 3142, "Yun Tal Wildarrows": 3032, "Cry of the Shrieking City": 7033, "Dreamshatter": 7016, "Edge of Finality": 7031, "Frozen Fist": 7005, "Flicker": 7032, "Infinite Convergence": 7028, "Icathia's Curse": 7009, "Infinity Force": 7018, "Leviathan": 7025, "Liandry's Lament": 7012, "Reliquary of the Golden Dawn": 7019, "Syzygy": 7001, "Shurelya's Requiem": 7020, "Starcaster": 7021, "Seething Sorrow": 7030, "The Unspoken Parasite": 7026, "Typhoon": 7006, "Upgraded Aeropack": 7011, "Vespertide": 7010, "Youmuu's Wake": 7029 };
|
1
|
+
export const LegendaryItemKeysNum = { "Abyssal Mask": 8020, "Anathema's Chains": 8001, "Archangel's Staff": 3003, "Ardent Censer": 3504, "Axiom Arc": 6696, "Banshee's Veil": 3102, "Black Cleaver": 3071, "Blackfire Torch": 2503, "Bloodsong": 3877, "Bloodthirster": 3072, "Bounty of Worlds": 3867, "Celestial Opposition": 3869, "Chempunk Chainsword": 6609, "Cosmic Drive": 4629, "Cryptbloom": 3137, "Dawncore": 6621, "Dead Man's Plate": 3742, "Death's Dance": 6333, "Demonic Embrace": 4637, "Dream Maker": 3870, "Edge of Night": 3814, "Elixir of Avarice": 2151, "Elixir of Force": 2152, "Essence Reaver": 3508, "Experimental Hexplate": 3073, "Fimbulwinter": 3121, "Force of Nature": 4401, "Frozen Heart": 3110, "Glowing Mote": 2022, "Guardian Angel": 3026, "Hollow Radiance": 6664, "Horizon Focus": 4628, "Hubris": 6697, "Hullbreaker": 3181, "Immortal Shieldbow": 6673, "Imperial Mandate": 4005, "Kaenic Rookern": 2504, "Knight's Vow": 3109, "Kraken Slayer": 6672, "Lich Bane": 3100, "Lord Dominik's Regards": 3036, "Luden's Companion": 6655, "Malignance": 3118, "Manamune": 3004, "Maw of Malmortius": 3156, "Mejai's Soulstealer": 3041, "Mercurial Scimitar": 3139, "Mikael's Blessing": 3222, "Morellonomicon": 3165, "Mortal Reminder": 3033, "Muramana": 3042, "Nashor's Tooth": 3115, "Opportunity": 6701, "Overlord's Bloodmail": 2501, "Phantom Dancer": 3046, "Profane Hydra": 6698, "Rabadon's Deathcap": 3089, "Randuin's Omen": 3143, "Rapid Firecannon": 3094, "Ravenous Hydra": 3074, "Rectrix": 6690, "Redemption": 3107, "Runaan's Hurricane": 3085, "Rylai's Crystal Scepter": 3116, "Seraph's Embrace": 3040, "Serpent's Fang": 6695, "Serylda's Grudge": 6694, "Shadowflame": 4645, "Shattered Armguard": 2421, "Solstice Sleigh": 3876, "Spear of Shojin": 3161, "Spirit Visage": 3065, "Staff of Flowing Water": 6616, "Statikk Shiv": 3087, "Sterak's Gage": 3053, "Stormsurge": 4646, "Sundered Sky": 6610, "Sunfire Aegis": 3068, "Terminus": 3302, "The Collector": 6676, "Thornmail": 3075, "Titanic Hydra": 3748, "Trailblazer": 3002, "Umbral Glaive": 3179, "Unending Despair": 2502, "Vigilant Wardstone": 4643, "Void Staff": 3135, "Voltaic Cyclosword": 6699, "Warmog's Armor": 3083, "Winter's Approach": 3119, "Wit's End": 3091, "World Atlas": 3865, "Zaz'Zak's Realmspike": 3871, "Zeke's Convergence": 3050, "Zephyr": 3172, "Zhonya's Hourglass": 3157, "Echoes of Helia": 6620, "Liandry's Torment": 6653, "Locket of the Iron Solari": 3190, "Moonstone Renewer": 6617, "Navori Flickerblade": 6675, "Night Harvester": 4636, "Riftmaker": 4633, "Shurelya's Battlesong": 2065, "Stridebreaker": 6631, "Trinity Force": 3078, "Eclipse": 6692, "Iceborn Gauntlet": 6662, "Infinity Edge": 3031, "Guinsoo's Rageblade": 3124, "Hextech Rocketbelt": 3152, "Jak'Sho, The Protean": 6665, "Heartsteel": 3084, "Rod of Ages": 6657, "Youmuu's Ghostblade": 3142, "Yun Tal Wildarrows": 3032 };
|
@@ -113,26 +113,6 @@ export declare const LegendaryItemNames: {
|
|
113
113
|
readonly "6698": "Profane Hydra";
|
114
114
|
readonly "6699": "Voltaic Cyclosword";
|
115
115
|
readonly "6701": "Opportunity";
|
116
|
-
readonly "7001": "Syzygy";
|
117
|
-
readonly "7005": "Frozen Fist";
|
118
|
-
readonly "7006": "Typhoon";
|
119
|
-
readonly "7009": "Icathia's Curse";
|
120
|
-
readonly "7010": "Vespertide";
|
121
|
-
readonly "7011": "Upgraded Aeropack";
|
122
|
-
readonly "7012": "Liandry's Lament";
|
123
|
-
readonly "7016": "Dreamshatter";
|
124
|
-
readonly "7018": "Infinity Force";
|
125
|
-
readonly "7019": "Reliquary of the Golden Dawn";
|
126
|
-
readonly "7020": "Shurelya's Requiem";
|
127
|
-
readonly "7021": "Starcaster";
|
128
|
-
readonly "7025": "Leviathan";
|
129
|
-
readonly "7026": "The Unspoken Parasite";
|
130
|
-
readonly "7028": "Infinite Convergence";
|
131
|
-
readonly "7029": "Youmuu's Wake";
|
132
|
-
readonly "7030": "Seething Sorrow";
|
133
|
-
readonly "7031": "Edge of Finality";
|
134
|
-
readonly "7032": "Flicker";
|
135
|
-
readonly "7033": "Cry of the Shrieking City";
|
136
116
|
readonly "8001": "Anathema's Chains";
|
137
117
|
readonly "8020": "Abyssal Mask";
|
138
118
|
};
|
@@ -1,4 +1 @@
|
|
1
|
-
"
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.LegendaryItemNames = void 0;
|
4
|
-
exports.LegendaryItemNames = { "2022": "Glowing Mote", "2065": "Shurelya's Battlesong", "2151": "Elixir of Avarice", "2152": "Elixir of Force", "2421": "Shattered Armguard", "2501": "Overlord's Bloodmail", "2502": "Unending Despair", "2503": "Blackfire Torch", "2504": "Kaenic Rookern", "3002": "Trailblazer", "3003": "Archangel's Staff", "3004": "Manamune", "3026": "Guardian Angel", "3031": "Infinity Edge", "3032": "Yun Tal Wildarrows", "3033": "Mortal Reminder", "3036": "Lord Dominik's Regards", "3040": "Seraph's Embrace", "3041": "Mejai's Soulstealer", "3042": "Muramana", "3046": "Phantom Dancer", "3050": "Zeke's Convergence", "3053": "Sterak's Gage", "3065": "Spirit Visage", "3068": "Sunfire Aegis", "3071": "Black Cleaver", "3072": "Bloodthirster", "3073": "Experimental Hexplate", "3074": "Ravenous Hydra", "3075": "Thornmail", "3078": "Trinity Force", "3083": "Warmog's Armor", "3084": "Heartsteel", "3085": "Runaan's Hurricane", "3087": "Statikk Shiv", "3089": "Rabadon's Deathcap", "3091": "Wit's End", "3094": "Rapid Firecannon", "3100": "Lich Bane", "3102": "Banshee's Veil", "3107": "Redemption", "3109": "Knight's Vow", "3110": "Frozen Heart", "3115": "Nashor's Tooth", "3116": "Rylai's Crystal Scepter", "3118": "Malignance", "3119": "Winter's Approach", "3121": "Fimbulwinter", "3124": "Guinsoo's Rageblade", "3135": "Void Staff", "3137": "Cryptbloom", "3139": "Mercurial Scimitar", "3142": "Youmuu's Ghostblade", "3143": "Randuin's Omen", "3152": "Hextech Rocketbelt", "3156": "Maw of Malmortius", "3157": "Zhonya's Hourglass", "3161": "Spear of Shojin", "3165": "Morellonomicon", "3172": "Zephyr", "3179": "Umbral Glaive", "3181": "Hullbreaker", "3190": "Locket of the Iron Solari", "3222": "Mikael's Blessing", "3302": "Terminus", "3504": "Ardent Censer", "3508": "Essence Reaver", "3742": "Dead Man's Plate", "3748": "Titanic Hydra", "3814": "Edge of Night", "3865": "World Atlas", "3867": "Bounty of Worlds", "3869": "Celestial Opposition", "3870": "Dream Maker", "3871": "Zaz'Zak's Realmspike", "3876": "Solstice Sleigh", "3877": "Bloodsong", "4005": "Imperial Mandate", "4401": "Force of Nature", "4628": "Horizon Focus", "4629": "Cosmic Drive", "4633": "Riftmaker", "4636": "Night Harvester", "4637": "Demonic Embrace", "4643": "Vigilant Wardstone", "4645": "Shadowflame", "4646": "Stormsurge", "6333": "Death's Dance", "6609": "Chempunk Chainsword", "6610": "Sundered Sky", "6616": "Staff of Flowing Water", "6617": "Moonstone Renewer", "6620": "Echoes of Helia", "6621": "Dawncore", "6631": "Stridebreaker", "6653": "Liandry's Torment", "6655": "Luden's Companion", "6657": "Rod of Ages", "6662": "Iceborn Gauntlet", "6664": "Hollow Radiance", "6665": "Jak'Sho, The Protean", "6672": "Kraken Slayer", "6673": "Immortal Shieldbow", "6675": "Navori Flickerblade", "6676": "The Collector", "6690": "Rectrix", "6692": "Eclipse", "6694": "Serylda's Grudge", "6695": "Serpent's Fang", "6696": "Axiom Arc", "6697": "Hubris", "6698": "Profane Hydra", "6699": "Voltaic Cyclosword", "6701": "Opportunity", "7001": "Syzygy", "7005": "Frozen Fist", "7006": "Typhoon", "7009": "Icathia's Curse", "7010": "Vespertide", "7011": "Upgraded Aeropack", "7012": "Liandry's Lament", "7016": "Dreamshatter", "7018": "Infinity Force", "7019": "Reliquary of the Golden Dawn", "7020": "Shurelya's Requiem", "7021": "Starcaster", "7025": "Leviathan", "7026": "The Unspoken Parasite", "7028": "Infinite Convergence", "7029": "Youmuu's Wake", "7030": "Seething Sorrow", "7031": "Edge of Finality", "7032": "Flicker", "7033": "Cry of the Shrieking City", "8001": "Anathema's Chains", "8020": "Abyssal Mask" };
|
1
|
+
export const LegendaryItemNames = { "2022": "Glowing Mote", "2065": "Shurelya's Battlesong", "2151": "Elixir of Avarice", "2152": "Elixir of Force", "2421": "Shattered Armguard", "2501": "Overlord's Bloodmail", "2502": "Unending Despair", "2503": "Blackfire Torch", "2504": "Kaenic Rookern", "3002": "Trailblazer", "3003": "Archangel's Staff", "3004": "Manamune", "3026": "Guardian Angel", "3031": "Infinity Edge", "3032": "Yun Tal Wildarrows", "3033": "Mortal Reminder", "3036": "Lord Dominik's Regards", "3040": "Seraph's Embrace", "3041": "Mejai's Soulstealer", "3042": "Muramana", "3046": "Phantom Dancer", "3050": "Zeke's Convergence", "3053": "Sterak's Gage", "3065": "Spirit Visage", "3068": "Sunfire Aegis", "3071": "Black Cleaver", "3072": "Bloodthirster", "3073": "Experimental Hexplate", "3074": "Ravenous Hydra", "3075": "Thornmail", "3078": "Trinity Force", "3083": "Warmog's Armor", "3084": "Heartsteel", "3085": "Runaan's Hurricane", "3087": "Statikk Shiv", "3089": "Rabadon's Deathcap", "3091": "Wit's End", "3094": "Rapid Firecannon", "3100": "Lich Bane", "3102": "Banshee's Veil", "3107": "Redemption", "3109": "Knight's Vow", "3110": "Frozen Heart", "3115": "Nashor's Tooth", "3116": "Rylai's Crystal Scepter", "3118": "Malignance", "3119": "Winter's Approach", "3121": "Fimbulwinter", "3124": "Guinsoo's Rageblade", "3135": "Void Staff", "3137": "Cryptbloom", "3139": "Mercurial Scimitar", "3142": "Youmuu's Ghostblade", "3143": "Randuin's Omen", "3152": "Hextech Rocketbelt", "3156": "Maw of Malmortius", "3157": "Zhonya's Hourglass", "3161": "Spear of Shojin", "3165": "Morellonomicon", "3172": "Zephyr", "3179": "Umbral Glaive", "3181": "Hullbreaker", "3190": "Locket of the Iron Solari", "3222": "Mikael's Blessing", "3302": "Terminus", "3504": "Ardent Censer", "3508": "Essence Reaver", "3742": "Dead Man's Plate", "3748": "Titanic Hydra", "3814": "Edge of Night", "3865": "World Atlas", "3867": "Bounty of Worlds", "3869": "Celestial Opposition", "3870": "Dream Maker", "3871": "Zaz'Zak's Realmspike", "3876": "Solstice Sleigh", "3877": "Bloodsong", "4005": "Imperial Mandate", "4401": "Force of Nature", "4628": "Horizon Focus", "4629": "Cosmic Drive", "4633": "Riftmaker", "4636": "Night Harvester", "4637": "Demonic Embrace", "4643": "Vigilant Wardstone", "4645": "Shadowflame", "4646": "Stormsurge", "6333": "Death's Dance", "6609": "Chempunk Chainsword", "6610": "Sundered Sky", "6616": "Staff of Flowing Water", "6617": "Moonstone Renewer", "6620": "Echoes of Helia", "6621": "Dawncore", "6631": "Stridebreaker", "6653": "Liandry's Torment", "6655": "Luden's Companion", "6657": "Rod of Ages", "6662": "Iceborn Gauntlet", "6664": "Hollow Radiance", "6665": "Jak'Sho, The Protean", "6672": "Kraken Slayer", "6673": "Immortal Shieldbow", "6675": "Navori Flickerblade", "6676": "The Collector", "6690": "Rectrix", "6692": "Eclipse", "6694": "Serylda's Grudge", "6695": "Serpent's Fang", "6696": "Axiom Arc", "6697": "Hubris", "6698": "Profane Hydra", "6699": "Voltaic Cyclosword", "6701": "Opportunity", "8001": "Anathema's Chains", "8020": "Abyssal Mask" };
|
@@ -1,12 +1,8 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isKillType = exports.KillTypes = void 0;
|
4
|
-
exports.KillTypes = {
|
1
|
+
export const KillTypes = {
|
5
2
|
'KILL_FIRST_BLOOD': 'KILL_FIRST_BLOOD',
|
6
3
|
'KILL_MULTI': 'KILL_MULTI',
|
7
4
|
'KILL_ACE': 'KILL_ACE',
|
8
5
|
};
|
9
|
-
function isKillType(value) {
|
10
|
-
return typeof value == 'string' && value in
|
6
|
+
export function isKillType(value) {
|
7
|
+
return typeof value == 'string' && value in KillTypes;
|
11
8
|
}
|
12
|
-
exports.isKillType = isKillType;
|
@@ -1,12 +1,8 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isLaneType = exports.LaneTypes = void 0;
|
4
|
-
exports.LaneTypes = {
|
1
|
+
export const LaneTypes = {
|
5
2
|
'TOP_LANE': 'TOP_LANE',
|
6
3
|
'MID_LANE': 'MID_LANE',
|
7
4
|
'BOT_LANE': 'BOT_LANE',
|
8
5
|
};
|
9
|
-
function isLaneType(value) {
|
10
|
-
return typeof value == 'string' && value in
|
6
|
+
export function isLaneType(value) {
|
7
|
+
return typeof value == 'string' && value in LaneTypes;
|
11
8
|
}
|
12
|
-
exports.isLaneType = isLaneType;
|
package/core/constants/Lanes.js
CHANGED
@@ -1,13 +1,9 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isLane = exports.Lanes = void 0;
|
4
|
-
exports.Lanes = {
|
1
|
+
export const Lanes = {
|
5
2
|
'TOP': 'TOP',
|
6
3
|
'JUNGLE': 'JUNGLE',
|
7
4
|
'MIDDLE': 'MIDDLE',
|
8
5
|
'BOTTOM': 'BOTTOM',
|
9
6
|
};
|
10
|
-
function isLane(lane) {
|
11
|
-
return typeof lane == 'string' && lane in
|
7
|
+
export function isLane(lane) {
|
8
|
+
return typeof lane == 'string' && lane in Lanes;
|
12
9
|
}
|
13
|
-
exports.isLane = isLane;
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isLeagueText = exports.LeagueTexts = void 0;
|
4
|
-
exports.LeagueTexts = {
|
1
|
+
export const LeagueTexts = {
|
5
2
|
'HP': 'health',
|
6
3
|
'HPR': 'health regeneration',
|
7
4
|
'MP': 'mana',
|
@@ -52,7 +49,6 @@ exports.LeagueTexts = {
|
|
52
49
|
'🧢': 'cap',
|
53
50
|
'➊➑📈': 'based on level',
|
54
51
|
};
|
55
|
-
function isLeagueText(value) {
|
56
|
-
return typeof value == 'string' && value in
|
52
|
+
export function isLeagueText(value) {
|
53
|
+
return typeof value == 'string' && value in LeagueTexts;
|
57
54
|
}
|
58
|
-
exports.isLeagueText = isLeagueText;
|
package/core/constants/Levels.js
CHANGED
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isLevel = exports.Levels = void 0;
|
4
|
-
exports.Levels = {
|
1
|
+
export const Levels = {
|
5
2
|
1: 1,
|
6
3
|
2: 2,
|
7
4
|
3: 3,
|
@@ -21,7 +18,6 @@ exports.Levels = {
|
|
21
18
|
17: 17,
|
22
19
|
18: 18,
|
23
20
|
};
|
24
|
-
function isLevel(level) {
|
25
|
-
return level in
|
21
|
+
export function isLevel(level) {
|
22
|
+
return level in Levels;
|
26
23
|
}
|
27
|
-
exports.isLevel = isLevel;
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isLocale = exports.Locales = void 0;
|
4
|
-
exports.Locales = {
|
1
|
+
export const Locales = {
|
5
2
|
/** Czech (Czech Republic) */
|
6
3
|
'cs_CZ': 'cs_CZ',
|
7
4
|
/** Greek (Greece) */
|
@@ -59,7 +56,6 @@ exports.Locales = {
|
|
59
56
|
/** Chinese (Taiwan) */
|
60
57
|
'zh_TW': 'zh_TW',
|
61
58
|
};
|
62
|
-
function isLocale(value) {
|
63
|
-
return typeof value == 'string' && value in
|
59
|
+
export function isLocale(value) {
|
60
|
+
return typeof value == 'string' && value in Locales;
|
64
61
|
}
|
65
|
-
exports.isLocale = isLocale;
|
package/core/constants/MapIds.js
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isMapId = exports.MapIds = void 0;
|
4
1
|
/**
|
5
2
|
* 11 — Summoner's Rift
|
6
3
|
*
|
@@ -10,13 +7,12 @@ exports.isMapId = exports.MapIds = void 0;
|
|
10
7
|
*
|
11
8
|
* 22 — Convergence
|
12
9
|
*/
|
13
|
-
|
10
|
+
export const MapIds = {
|
14
11
|
11: 11,
|
15
12
|
12: 12,
|
16
13
|
21: 21,
|
17
14
|
22: 22,
|
18
15
|
};
|
19
|
-
function isMapId(value) {
|
20
|
-
return value in
|
16
|
+
export function isMapId(value) {
|
17
|
+
return value in MapIds;
|
21
18
|
}
|
22
|
-
exports.isMapId = isMapId;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const MonsterTypes: {
|
2
|
-
readonly
|
2
|
+
readonly HORDE: "HORDE";
|
3
3
|
readonly DRAGON: "DRAGON";
|
4
|
+
readonly RIFTHERALD: "RIFTHERALD";
|
4
5
|
readonly BARON_NASHOR: "BARON_NASHOR";
|
5
6
|
};
|
6
7
|
export type MonsterType = typeof MonsterTypes[keyof typeof MonsterTypes];
|
@@ -1,12 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
exports.isMonsterType = exports.MonsterTypes = void 0;
|
4
|
-
exports.MonsterTypes = {
|
5
|
-
'RIFTHERALD': 'RIFTHERALD',
|
1
|
+
export const MonsterTypes = {
|
2
|
+
'HORDE': 'HORDE',
|
6
3
|
'DRAGON': 'DRAGON',
|
4
|
+
'RIFTHERALD': 'RIFTHERALD',
|
7
5
|
'BARON_NASHOR': 'BARON_NASHOR',
|
8
6
|
};
|
9
|
-
function isMonsterType(value) {
|
10
|
-
return typeof value == 'string' && value in
|
7
|
+
export function isMonsterType(value) {
|
8
|
+
return typeof value == 'string' && value in MonsterTypes;
|
11
9
|
}
|
12
|
-
exports.isMonsterType = isMonsterType;
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isParticipantId = exports.ParticipantIds = void 0;
|
4
|
-
exports.ParticipantIds = {
|
1
|
+
export const ParticipantIds = {
|
5
2
|
1: 1,
|
6
3
|
2: 2,
|
7
4
|
3: 3,
|
@@ -13,7 +10,6 @@ exports.ParticipantIds = {
|
|
13
10
|
9: 9,
|
14
11
|
10: 10,
|
15
12
|
};
|
16
|
-
function isParticipantId(value) {
|
17
|
-
return value in
|
13
|
+
export function isParticipantId(value) {
|
14
|
+
return value in ParticipantIds;
|
18
15
|
}
|
19
|
-
exports.isParticipantId = isParticipantId;
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isPlatformApiUri = exports.PlatformApiUris = void 0;
|
4
|
-
exports.PlatformApiUris = {
|
1
|
+
export const PlatformApiUris = {
|
5
2
|
'BR1': 'br1.api.riotgames.com',
|
6
3
|
'EUN1': 'eun1.api.riotgames.com',
|
7
4
|
'EUW1': 'euw1.api.riotgames.com',
|
@@ -19,7 +16,6 @@ exports.PlatformApiUris = {
|
|
19
16
|
'TW2': 'tw2.api.riotgames.com',
|
20
17
|
'VN2': 'vn2.api.riotgames.com',
|
21
18
|
};
|
22
|
-
function isPlatformApiUri(value) {
|
23
|
-
return typeof value == 'string' && value in
|
19
|
+
export function isPlatformApiUri(value) {
|
20
|
+
return typeof value == 'string' && value in PlatformApiUris;
|
24
21
|
}
|
25
|
-
exports.isPlatformApiUri = isPlatformApiUri;
|
@@ -1,8 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
exports.getPlatformIdByRegion = exports.isPlatformId = exports.PlatformIds = void 0;
|
4
|
-
const Regions_1 = require("./Regions");
|
5
|
-
exports.PlatformIds = {
|
1
|
+
import { Regions } from './Regions';
|
2
|
+
export const PlatformIds = {
|
6
3
|
'BR': 'BR1',
|
7
4
|
'EUNE': 'EUN1',
|
8
5
|
'EUW': 'EUW1',
|
@@ -21,11 +18,9 @@ exports.PlatformIds = {
|
|
21
18
|
'VN': 'VN2',
|
22
19
|
'PBE': 'PBE1',
|
23
20
|
};
|
24
|
-
function isPlatformId(value) {
|
25
|
-
return typeof value == 'string' && value in
|
21
|
+
export function isPlatformId(value) {
|
22
|
+
return typeof value == 'string' && value in Regions;
|
26
23
|
}
|
27
|
-
|
28
|
-
|
29
|
-
return exports.PlatformIds[region];
|
24
|
+
export function getPlatformIdByRegion(region) {
|
25
|
+
return PlatformIds[region];
|
30
26
|
}
|
31
|
-
exports.getPlatformIdByRegion = getPlatformIdByRegion;
|
@@ -1,14 +1,10 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isPosition = exports.Positions = void 0;
|
4
|
-
exports.Positions = {
|
1
|
+
export const Positions = {
|
5
2
|
'TOP': 'TOP',
|
6
3
|
'JUNGLE': 'JUNGLE',
|
7
4
|
'MIDDLE': 'MIDDLE',
|
8
5
|
'BOTTOM': 'BOTTOM',
|
9
6
|
'UTILITY': 'UTILITY',
|
10
7
|
};
|
11
|
-
function isPosition(position) {
|
12
|
-
return typeof position == 'string' && position in
|
8
|
+
export function isPosition(position) {
|
9
|
+
return typeof position == 'string' && position in Positions;
|
13
10
|
}
|
14
|
-
exports.isPosition = isPosition;
|
@@ -1,6 +1,3 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.QueueDescriptionsToIds = exports.QueueDescriptions = exports.isQueueId = exports.QueueIds = void 0;
|
4
1
|
/**
|
5
2
|
* 0 — Custom games
|
6
3
|
*
|
@@ -54,7 +51,7 @@ exports.QueueDescriptionsToIds = exports.QueueDescriptions = exports.isQueueId =
|
|
54
51
|
*
|
55
52
|
* 2020 — Tutorial 3
|
56
53
|
*/
|
57
|
-
|
54
|
+
export const QueueIds = {
|
58
55
|
0: 0,
|
59
56
|
400: 400,
|
60
57
|
420: 420,
|
@@ -82,11 +79,10 @@ exports.QueueIds = {
|
|
82
79
|
2010: 2010,
|
83
80
|
2020: 2020,
|
84
81
|
};
|
85
|
-
function isQueueId(value) {
|
86
|
-
return value in
|
82
|
+
export function isQueueId(value) {
|
83
|
+
return value in QueueIds;
|
87
84
|
}
|
88
|
-
|
89
|
-
exports.QueueDescriptions = {
|
85
|
+
export const QueueDescriptions = {
|
90
86
|
0: 'Custom',
|
91
87
|
400: '5v5 Draft Pick',
|
92
88
|
420: '5v5 Ranked Solo',
|
@@ -114,7 +110,7 @@ exports.QueueDescriptions = {
|
|
114
110
|
2010: 'Tutorial 2',
|
115
111
|
2020: 'Tutorial 3',
|
116
112
|
};
|
117
|
-
|
113
|
+
export const QueueDescriptionsToIds = {
|
118
114
|
'Custom': 0,
|
119
115
|
'5v5 Draft Pick': 400,
|
120
116
|
'5v5 Ranked Solo': 420,
|
@@ -1,12 +1,8 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isQueueType = exports.QueueTypes = void 0;
|
4
|
-
exports.QueueTypes = {
|
1
|
+
export const QueueTypes = {
|
5
2
|
'RANKED_SOLO_5x5': 'RANKED_SOLO_5x5',
|
6
3
|
'RANKED_FLEX_SR': 'RANKED_FLEX_SR',
|
7
4
|
'RANKED_TFT': 'RANKED_TFT',
|
8
5
|
};
|
9
|
-
function isQueueType(value) {
|
10
|
-
return typeof value == 'string' && value in
|
6
|
+
export function isQueueType(value) {
|
7
|
+
return typeof value == 'string' && value in QueueTypes;
|
11
8
|
}
|
12
|
-
exports.isQueueType = isQueueType;
|
@@ -1,13 +1,9 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRankedRank = exports.RankedRanks = void 0;
|
4
|
-
exports.RankedRanks = {
|
1
|
+
export const RankedRanks = {
|
5
2
|
'I': 'I',
|
6
3
|
'II': 'II',
|
7
4
|
'III': 'III',
|
8
5
|
'IV': 'IV',
|
9
6
|
};
|
10
|
-
function isRankedRank(value) {
|
11
|
-
return typeof value == 'string' && value in
|
7
|
+
export function isRankedRank(value) {
|
8
|
+
return typeof value == 'string' && value in RankedRanks;
|
12
9
|
}
|
13
|
-
exports.isRankedRank = isRankedRank;
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRankedTier = exports.RankedTiers = void 0;
|
4
|
-
exports.RankedTiers = {
|
1
|
+
export const RankedTiers = {
|
5
2
|
'CHALLENGER': 'CHALLENGER',
|
6
3
|
'GRANDMASTER': 'GRANDMASTER',
|
7
4
|
'MASTER': 'MASTER',
|
@@ -13,7 +10,6 @@ exports.RankedTiers = {
|
|
13
10
|
'BRONZE': 'BRONZE',
|
14
11
|
'IRON': 'IRON',
|
15
12
|
};
|
16
|
-
function isRankedTier(value) {
|
17
|
-
return typeof value == 'string' && value in
|
13
|
+
export function isRankedTier(value) {
|
14
|
+
return typeof value == 'string' && value in RankedTiers;
|
18
15
|
}
|
19
|
-
exports.isRankedTier = isRankedTier;
|
@@ -1,13 +1,9 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRegionalApiUri = exports.RegionalApiUris = void 0;
|
4
|
-
exports.RegionalApiUris = {
|
1
|
+
export const RegionalApiUris = {
|
5
2
|
'AMERICAS': 'americas.api.riotgames.com',
|
6
3
|
'ASIA': 'asia.api.riotgames.com',
|
7
4
|
'EUROPE': 'europe.api.riotgames.com',
|
8
5
|
'SEA': 'sea.api.riotgames.com',
|
9
6
|
};
|
10
|
-
function isRegionalApiUri(value) {
|
11
|
-
return typeof value == 'string' && value in
|
7
|
+
export function isRegionalApiUri(value) {
|
8
|
+
return typeof value == 'string' && value in RegionalApiUris;
|
12
9
|
}
|
13
|
-
exports.isRegionalApiUri = isRegionalApiUri;
|