UNPKG

warframe-worldstate-parser

Version:

An Open parser for Warframe's Worldstate in Javascript

51 lines (50 loc) 1.24 kB
import { r as WorldStateObject, t as BaseContentObject } from "./WorldStateObject-CIJgXUCx.mjs"; import { Locale } from "warframe-worldstate-data"; //#region lib/models/NightwaveChallenge.d.ts interface RawNightwaveChallenge extends BaseContentObject { Daily?: boolean; Challenge: string; Permanent?: number | string | boolean; } /** * Represents an alert * @augments {WorldStateObject} */ declare class NightwaveChallenge extends WorldStateObject { /** * Whether or not this is a daily challenge */ isDaily: boolean; /** * Whether or not the challenge is an elite challenge */ isElite: boolean; /** * The descriptor for this challenge */ desc: string; /** * The title for this challenge */ title: string; /** * Reputation reward for ranking up in the Nightwave */ reputation: number; /** * Whether this challenge is permanent */ isPermanent: boolean; /** * @param data The alert data * @param deps The dependencies object * @param deps.locale Locale to use for translations */ constructor(data: RawNightwaveChallenge, { locale }?: { locale: Locale; }); } //#endregion export { RawNightwaveChallenge as n, NightwaveChallenge as t };