warframe-worldstate-parser
Version:
An Open parser for Warframe's Worldstate in Javascript
34 lines (33 loc) • 937 B
TypeScript
/**
* Contains information about sanctuary targets
*/
export default class Simaris {
/**
* @param {object} data The sanctuary data
* @param {object} deps The dependencies object
* @param {string} deps.locale Locale to use for translations
*/
constructor(data: object, { locale }?: {
locale: string;
});
/**
* The sanctuary target
* @type {string}
*/
target: string;
/**
* Whether or not the target is currently active
* @type {boolean}
*/
isTargetActive: boolean;
/**
* A string representation of the current sanctuary status
* @type {string}
*/
asString: string;
/**
* Returns a string representation of the current sanctuary status
* @returns {string} a string representation of the current sanctuary status
*/
toString(): string;
}