@kiwigdc/kiwilaunch
Version:
Launch minecraft client
25 lines (24 loc) • 834 B
TypeScript
import { DirectoryManager, GameVersion } from '..';
export declare class OfficialManifestGameVersion {
gameVersion: GameVersion;
private dir;
readonly MANIFEST_URL: string;
readonly ASSETS_URL: string;
totalDownloadedFiles: number;
gameProperties: any;
assetIndex: any;
constructor(gameVersion: GameVersion, dir: DirectoryManager);
getGameProperties(): any;
getFiles(): 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>;
}