UNPKG

warframe-worldstate-parser

Version:

An Open parser for Warframe's Worldstate in Javascript

48 lines (47 loc) 1.11 kB
/** * Represents the current Earth Day/Night Cycle * @augments {WorldstateObject} */ export default class CetusCycle extends WorldstateObject { /** * @param {Date} bountiesEndDate The end date for Ostron bounties */ constructor(bountiesEndDate: Date); /** * Whether it's daytime * @type {boolean} */ isDay: boolean; /** * Current cycle state. One of `day`, `night` * @type {string} */ state: string; /** * Time remaining string * @type {string} */ timeLeft: string; /** * Whether this is for Cetus Cycle * @type {boolean} */ isCetus: boolean; id: string; shortString: string; /** * Get whether or not the event has expired * @returns {boolean} whether the event has expired */ getExpired(): boolean; getCurrentCetusCycle(): { dayTime: boolean; timeLeft: any; expiry: Date; expiresIn: any; state: string; start: number; }; #private; } import WorldstateObject from './WorldstateObject.js';