mergePacks beta
Function of @v12-engine/client
ts
export declare function mergePacks(game: LoadedGame, progress?: (done: number, total: number) => void, fetchText?: (url: string) => Promise<string>): Promise<LoadedGame>;A game with its packs of content composed in (LoadedGame.contentPacks): the rules as composeGame makes them of the packs (melee+gnomes, known to the page by that id), the view with their looks laid over it. The game as it is with none. progress is told of each pack fetched. Throws PackError for a pack that is not one, saying which and where