UNPKG

warframe-worldstate-parser

Version:

An Open parser for Warframe's Worldstate in Javascript

84 lines (83 loc) 2.17 kB
/** * Represents a fissure mission * @augments {WorldstateObject} */ export default class Fissure extends WorldstateObject { /** * @param {object} data The fissure data * @param {Dependency} deps The dependencies object * @param {string} deps.locale Locale to use for translations */ constructor(data: object, { locale }?: Dependency); /** * The node where the fissure has appeared * @type {string} */ node: string; /** * The fissure mission type * @type {string} */ missionType: string; /** * The fissure mission type key * @type {string} */ missionKey: string; /** * The faction controlling the node where the fissure has appeared * @type {string} */ enemy: string; /** * Faction enum for the faction controlling the node where the fissure has appeared * @type {string} */ enemyKey: string; /** * The node key where the fissure has appeared * @type {string} */ nodeKey: string; /** * The fissure's tier * @type {string} */ tier: string; /** * The fissure's tier as a number * @type {number} */ tierNum: number; /** * Whether this is expired (at time of object creation) * @type {boolean} */ expired: boolean; /** * ETA string (at time of object creation) * @type {string} */ eta: string; /** * Whether this fissure corresponds to a RailJack Void Storm * @type {boolean} */ isStorm: boolean; /** * Whether this fissure is a Steel Path fissure * @type {boolean} */ isHard: boolean; /** * Get whether this deal has expired * @returns {boolean} Whether or not the deal has expired */ getExpired(): boolean; /** * Get a string representation of how long the void fissure will remain active * @returns {string} The string representation of the fissure's remaining time */ getETAString(): string; } import WorldstateObject from './WorldstateObject.js';