mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-06 05:33:58 +03:00
Add launcher methods to index.d.ts
This commit is contained in:
parent
926060e79c
commit
afe4c4d7a4
1 changed files with 6 additions and 0 deletions
6
index.d.ts
vendored
6
index.d.ts
vendored
|
@ -206,6 +206,12 @@ declare module "minecraft-launcher-core" {
|
||||||
|
|
||||||
export class Client extends EventEmitter {
|
export class Client extends EventEmitter {
|
||||||
launch(options: ILauncherOptions): ChildProcessWithoutNullStreams | null;
|
launch(options: ILauncherOptions): ChildProcessWithoutNullStreams | null;
|
||||||
|
protected printVersion(): void;
|
||||||
|
protected createRootDirectory(): void;
|
||||||
|
protected createGameDirectory(): void;
|
||||||
|
protected async extractPackage(): void;
|
||||||
|
protected async getModifyJson(): any;
|
||||||
|
protected startMinecraft(launchArguments: string[]): ChildProcessWithoutNullStreams;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Authenticator: IAuthenticator;
|
export const Authenticator: IAuthenticator;
|
||||||
|
|
Loading…
Reference in a new issue