UNPKG

@skullandbonestools/snbdata

Version:

Inofficial data package for the Skull and Bones game by Ubisoft.

19 lines 703 B
import factionsData from "../../data/factions.json"; import { Event } from "./events"; import { Season } from "./seasons"; export declare class Faction { readonly id: string; readonly firstAppearingSeason: Season; readonly event: Event | undefined; readonly dateAdded: Date; readonly lastUpdated: Date; constructor(id: string, firstAppearingSeason: Season, event: Event | undefined, dateAdded: Date, lastUpdated: Date); static fromRawData(rawData: any): Faction; static loadFactions(): Record<string, Faction>; } type Factions = { [K in keyof typeof factionsData]: Faction; }; export declare const Factions: Factions; export {}; //# sourceMappingURL=factions.d.ts.map