UNPKG

@skullandbonestools/snbdata

Version:

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

16 lines 420 B
import setsData from '../../data/sets.json'; export class Set { constructor(id, type) { this.id = id; this.type = type; } static loadSets() { const sets = {}; for (const [key, value] of Object.entries(setsData)) { sets[key] = new Set(value.id, value.type); } return sets; } } export const Sets = Set.loadSets(); //# sourceMappingURL=sets.js.map