warframe-worldstate-parser
Version:
An Open parser for Warframe's Worldstate in Javascript
46 lines (45 loc) • 1.22 kB
TypeScript
/**
* Represents a void trader
* @augments {WorldstateObject}
*/
export default class VoidTrader extends WorldstateObject {
/**
* @param {object} data The Void trader data
* @param {object} deps The dependencies object
* @param {string} deps.locale Locale to use for translations
*/
constructor(data: object, { locale }?: {
locale: string;
});
/**
* The void trader's name
* @type {string}
*/
character: string;
/**
* The node at which the Void Trader appears
* @type {string}
*/
location: string;
/**
* The trader's inventory
* @type {VoidTraderItem[]}
*/
inventory: VoidTraderItem[];
/**
* Pseudo Identifier for identifying changes in inventory
* @type {string}
*/
psId: string;
/**
* A string indicating how long it will take for the trader to leave
* (at time of object creation)
* @type {string}
*/
endString: string;
initialStart: any;
completed: any;
schedule: any;
}
import WorldstateObject from './WorldstateObject.js';
import VoidTraderItem from './VoidTraderItem.js';