warframe-worldstate-parser
Version:
An Open parser for Warframe's Worldstate in Javascript
45 lines (44 loc) • 1.03 kB
text/typescript
import { r as WorldStateObject } from "./WorldStateObject-CIJgXUCx.mjs";
//#region lib/models/ZarimanCycle.d.ts
interface CurrentZarimanCycle {
isCorpus: boolean;
timeLeft: string;
expiry: Date;
expiresIn: number;
state: string;
start: number;
}
/**
* Represents the current Zariman Corpus/Grineer Cycle
* @augments {WorldStateObject}
*/
declare class ZarimanCycle extends WorldStateObject {
#private;
/**
* Whether or not this it's corpus or grineer
*/
isCorpus: boolean;
/**
* Current cycle state. One of `corpus`, `grineer`
*/
state: string;
/**
* Time remaining string
*/
timeLeft: string;
/**
* @param {Date} bountiesEndDate The current Zariman cycle expiry
*/
constructor(bountiesEndDate: Date);
/**
* Whether this is expired
*/
get expired(): boolean;
getCurrentZarimanCycle(): CurrentZarimanCycle;
/**
* The event's string representation
*/
get shortString(): string;
}
//#endregion
export { ZarimanCycle as n, CurrentZarimanCycle as t };