UNPKG

warframe-worldstate-parser

Version:

An Open parser for Warframe's Worldstate in Javascript

60 lines (59 loc) 1.27 kB
import { r as WorldStateObject } from "./WorldStateObject-CIJgXUCx.mjs"; //#region lib/models/EarthCycle.d.ts interface EarthCycleType { /** * Whether or not this it's daytime */ dayTime: boolean; /** * Time remaining string */ timeLeft: string; /** * The date and time at which the event ends */ expiry: Date; /** * Time it expires in */ expiresIn: number; /** * The date and time at which the event ends, rounded to the nearest minute */ rounded: Date; /** * Current cycle state. One of `day`, `night` */ state: string; /** * The date and time at which the event started, 4 hours before the end */ start: Date; } /** * Represents the current Earth Day/Night Cycle * @augments {WorldStateObject} */ declare class EarthCycle extends WorldStateObject { #private; /** * Whether or not this it's daytime */ isDay: boolean; /** * Current cycle state. One of `day`, `night` */ state: string; /** * Time remaining string */ timeLeft: string; constructor(); /** * Get whether or not the event has expired * @returns {boolean} Whether or not the event has expired */ get expired(): boolean; } //#endregion export { EarthCycleType as n, EarthCycle as t };