UNPKG

warframe-worldstate-parser

Version:

An Open parser for Warframe's Worldstate in Javascript

46 lines (45 loc) 1.15 kB
/** * Represents an alert * @augments {WorldstateObject} */ export default class NightwaveChallenge extends WorldstateObject { /** * @param {object} data The alert data * @param {object} deps The dependencies object * @param {string} deps.locale Locale to use for translations */ constructor(data: object, { locale }?: { locale: string; }); /** * Whether or not this is a daily challenge * @type {boolean} */ isDaily: boolean; /** * Whether or not the challenge is an elite challenge * @type {boolean} */ isElite: boolean; /** * The descriptor for this challenge * @type {string} */ desc: string; /** * The title for this challenge * @type {string} */ title: string; /** * Reputation reward for ranking up in the Nightwave * @type {number} */ reputation: number; /** * Whether this challenge is permanent * @type {boolean} */ isPermanent: boolean; } import WorldstateObject from './WorldstateObject.js';