Merge branch 'master' into Split-large-MCLCore-launch-into-multiple-methods

This commit is contained in:
Pierce 2021-02-10 16:57:23 -08:00 committed by GitHub
commit cc6d1f5dc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
index.d.ts vendored
View file

@ -205,13 +205,13 @@ declare module "minecraft-launcher-core" {
import { ChildProcessWithoutNullStreams } from 'child_process'
export class Client extends EventEmitter {
launch(options: ILauncherOptions): ChildProcessWithoutNullStreams | null;
launch(options: ILauncherOptions): Promise<ChildProcessWithoutNullStreams | null>;
protected printVersion(): void;
protected createRootDirectory(): void;
protected createGameDirectory(): void;
protected async extractPackage(): void;
protected async getModifyJson(): any;
protected startMinecraft(launchArguments: string[]): ChildProcessWithoutNullStreams;
protected startMinecraft(launchArguments: string[]): Promise<ChildProcessWithoutNullStreams>;
}
export const Authenticator: IAuthenticator;