dmclc
Version:
Dolphin Minecraft Launcher Core
26 lines (25 loc) • 835 B
TypeScript
import { Launcher } from "../../launcher.js";
import { Account } from "../account.js";
import { MicrosoftUserData } from "./microsoft_user_data.js";
export declare class MicrosoftAccount implements Account<MicrosoftUserData> {
data: MicrosoftUserData;
private launcher;
constructor(data: MicrosoftUserData, launcher: Launcher);
getTokens(): string[];
private step1_new;
private step1_refresh;
private step2_xbl;
private step3_xsts;
private step4_login;
private step5_check;
private step6_uuid_name;
check(): Promise<boolean>;
private refresh;
getUUID(): string;
login(): Promise<boolean>;
private nextSteps;
prepareLaunch(): Promise<boolean>;
getLaunchJVMArgs(): Promise<string[]>;
getLaunchGameArgs(): Promise<Map<string, string>>;
toString(): string;
}