UNPKG

osrs-tools

Version:

A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information

40 lines 979 B
/** * Slayer Buy class * Represents a slayer reward item or service that can be purchased with slayer points * Reference: https://oldschool.runescape.wiki/w/Slayer#Rewards */ export declare class SlayerBuy { readonly item: string; readonly cost: number; readonly notes: string; readonly requirements?: string[]; readonly wikiUrl?: string; constructor(data: { item: string; cost: number; notes: string; requirements?: string[]; wikiUrl?: string; }); /** * Get the item name */ getItem(): string; /** * Get the cost in slayer points */ getCost(): number; /** * Get the description/notes of the buy */ getNotes(): string; /** * Get any requirements for this buy */ getRequirements(): string[] | undefined; /** * Get the Wiki URL if available */ getWikiUrl(): string | undefined; } //# sourceMappingURL=SlayerBuy.d.ts.map