@blizzard-api/classic-wow
Version:
A series of helpers to interact with the World of Warcraft Classic Blizzard API
18 lines (17 loc) • 624 B
JavaScript
import { wowCharacterBasePath } from "@blizzard-api/core";
//#region src/character-specialization/index.ts
/**
* @param namespace The namespace to use. See {@link BlizzardNamespaces}.
* @param realmSlug The slug of the realm.
* @param characterName The lowercase name of the character.
* @returns a summary of a character's specializations.
*/
function characterSpecializationsSummary(namespace, realmSlug, characterName) {
return {
namespace,
path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/specializations`
};
}
//#endregion
export { characterSpecializationsSummary };
//# sourceMappingURL=index.js.map