UNPKG

@kiwigdc/kiwilaunch

Version:
24 lines (23 loc) 842 B
import { DirectoryManager, GameVersion } from '..'; export declare class OfficialUpdater implements ManifestVanillaVersion { gameVersion: GameVersion; dir: DirectoryManager; readonly MANIFEST_URL: string; readonly ASSETS_URL: string; totalDownloadedFiles: number; gameProperties: any; assetIndex: any; constructor(gameVersion: GameVersion, dir: DirectoryManager); getGameProperties(): any; /** * get */ setManisfest(): Promise<any>; updateGame(): Promise<void>; getMainClass(): string; downloadAssetsFiles(): Promise<void>; downloadsLibrariesFiles(): Promise<void>; downloadClientJarFiles(): Promise<void>; extractNatives(filePath: string): Promise<void>; checkDownloadFiles(url: string, hash: string, dist: string): Promise<boolean>; }