UNPKG

@kiwigdc/kiwilaunch

Version:
28 lines (27 loc) 1 kB
import { DirectoryManager, GameVersion } from '..'; import { ManifestVanillaVersion } from "./Manifests/ManifestVanillaVersion"; export declare class VanillaUpdater implements ManifestVanillaVersion { gameVersion: GameVersion; dir: DirectoryManager; readonly MANIFEST_URL: string; readonly ASSETS_URL: string; totalDownloadedFiles: number; allFiles: string[]; gameProperties: any; assetIndex: any; libsLoad: Array<string>; 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>; getAllFiles(): string[]; }