warframe-worldstate-parser
Version:
An Open parser for Warframe's Worldstate in Javascript
53 lines (52 loc) • 1.16 kB
text/typescript
import { n as Identifier } from "./WorldStateObject-CIJgXUCx.mjs";
import { ContentTimestamp } from "warframe-worldstate-data/utilities";
//#region lib/models/DarkSectorBattle.d.ts
interface RawDarkSectorBattle {
Def: string;
DefAli: boolean;
Att: string;
AttAli: boolean;
DefId: Identifier;
WinId: Identifier;
Start: ContentTimestamp;
End: ContentTimestamp;
}
/**
* Represents a battle over a dark sector
*/
declare class DarkSectorBattle {
/**
* The defenders of the dark sector
*/
defender: string;
/**
* Whether the defenders are an alliance or not
*/
defenderIsAlliance: boolean;
/**
* The attackers of the dark sector
*/
attacker: string;
/**
* Whether the attackers are an alliance or not
*/
attackerIsAlliance: boolean;
/**
* The winner of the battle
*/
winner: string;
/**
* The date and time at which the battle started
*/
start: Date;
/**
* The date and time at which the battle ended
*/
end: Date;
/**
* @param data The battle data
*/
constructor(data: RawDarkSectorBattle);
}
//#endregion
export { RawDarkSectorBattle as n, DarkSectorBattle as t };