lol-constants
Version:
League of Legends constants, functions, and types. Provides a plathera of functions to easily convert between ID, Name, and Key for champions, items, summoner spells, and runes.
18 lines (17 loc) • 681 B
TypeScript
export declare const ChampionClasses: {
readonly Juggernaut: "Juggernaut";
readonly Diver: "Diver";
readonly Burst: "Burst";
readonly Battlemage: "Battlemage";
readonly Artillery: "Artillery";
readonly Marksman: "Marksman";
readonly Enchanter: "Enchanter";
readonly Catcher: "Catcher";
readonly Assassin: "Assassin";
readonly Skirmisher: "Skirmisher";
readonly Vanguard: "Vanguard";
readonly Warden: "Warden";
readonly Specialist: "Specialist";
};
export type ChampionClass = typeof ChampionClasses[keyof typeof ChampionClasses];
export declare function isChampionClass(title: string | null | undefined): title is ChampionClass;