@skullandbonestools/snbdata
Version:
Inofficial data package for the Skull and Bones game by Ubisoft.
17 lines • 576 B
TypeScript
import regionsData from "../../data/regions.json";
import { Faction } from "./factions";
export declare class Region {
readonly id: string;
readonly factions: Faction[];
readonly dateAdded: Date;
readonly lastUpdated: Date;
constructor(id: string, factions: Faction[], dateAdded: Date, lastUpdated: Date);
static fromRawData(rawData: any): Region;
static loadRegions(): Record<string, Region>;
}
type Regions = {
[K in keyof typeof regionsData]: Region;
};
export declare const Regions: Regions;
export {};
//# sourceMappingURL=regions.d.ts.map