UNPKG

warframe-worldstate-parser

Version:

An Open parser for Warframe's Worldstate in Javascript

43 lines (42 loc) 1.08 kB
/** * Describes a world challenge instance */ export default class ChallengeInstance { /** * @param {object} data The challenge instance data * @param {Dependency} deps The dependencies object * @param {string} deps.locale Locale to use for translations */ constructor(data: object, { locale }?: Dependency); /** * Type of challenge * @type {string} */ type: string; /** * Minimum enemy level to fulfill challenge * @type {number} */ minEnemyLevel: number; /** * Required number of units to complete challenge * @type {number} */ requiredAmount: number; /** * Waypoint for amount of units between progression updates * @type {number} */ progressAmount: number; /** * Required damage type * @type {string | undefined} */ damageType: string | undefined; /** * Target to fulfill challenge * @type {string} */ target: string; toString(): string; }