warframe-worldstate-parser
Version:
An Open parser for Warframe's Worldstate in Javascript
43 lines (42 loc) • 1.02 kB
TypeScript
/**
* Represents the current Zariman Corpus/Grineer Cycle
* @augments {WorldstateObject}
*/
export default class ZarimanCycle extends WorldstateObject {
/**
* @param {Date} bountiesEndDate The current Zariman cycle expiry
*/
constructor(bountiesEndDate: Date);
/**
* Whether or not this it's corpus or grineer
* @type {boolean}
*/
isCorpus: boolean;
/**
* Current cycle state. One of `corpus`, `grineer`
* @type {string}
*/
state: string;
/**
* Time remaining string
* @type {string}
*/
timeLeft: string;
id: string;
shortString: string;
/**
* Get whether the event has expired
* @returns {boolean} whether this is expired
*/
getExpired(): boolean;
getCurrentZarimanCycle(): {
isCorpus: boolean;
timeLeft: any;
expiry: Date;
expiresIn: any;
state: string;
start: number;
};
#private;
}
import WorldstateObject from './WorldstateObject.js';