UNPKG

@blizzard-api/wow

Version:

A series of helpers to interact with the World of Warcraft Blizzard API

38 lines (37 loc) 1.09 kB
import { wowBasePath, wowMediaBasePath } from "@blizzard-api/core"; //#region src/guild-crest/index.ts /** * Get a guild crest border by ID. * @param borderId The guild crest border ID. * @returns The guild crest border. See {@link GuildCrestBorderEmblemResponse}. */ function guildCrestBorder(borderId) { return { namespace: "static", path: `${wowMediaBasePath}/guild-crest/border/${borderId}` }; } /** * Get the guild crest components index. * @returns The guild crest components index. See {@link GuildCrestComponentsIndexResponse}. */ function guildCrestComponentsIndex() { return { namespace: "static", path: `${wowBasePath}/guild-crest/index` }; } /** * Get a guild crest emblem by ID. * @param emblemId The guild crest emblem ID. * @returns The guild crest emblem. See {@link GuildCrestBorderEmblemResponse}. */ function guildCrestEmblem(emblemId) { return { namespace: "static", path: `${wowMediaBasePath}/guild-crest/emblem/${emblemId}` }; } //#endregion export { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem }; //# sourceMappingURL=index.js.map