37 lines
1.9 KiB
TypeScript
37 lines
1.9 KiB
TypeScript
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
|
import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData";
|
|
import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData";
|
|
import { IRegisterData } from "../models/eft/launcher/IRegisterData";
|
|
import { Info } from "../models/eft/profile/IAkiProfile";
|
|
import { IConnectResponse } from "../models/eft/profile/IConnectResponse";
|
|
import { ICoreConfig } from "../models/spt/config/ICoreConfig";
|
|
import { ConfigServer } from "../servers/ConfigServer";
|
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
import { SaveServer } from "../servers/SaveServer";
|
|
import { LocalisationService } from "../services/LocalisationService";
|
|
import { HashUtil } from "../utils/HashUtil";
|
|
export declare class LauncherController {
|
|
protected hashUtil: HashUtil;
|
|
protected saveServer: SaveServer;
|
|
protected httpServerHelper: HttpServerHelper;
|
|
protected databaseServer: DatabaseServer;
|
|
protected localisationService: LocalisationService;
|
|
protected configServer: ConfigServer;
|
|
protected coreConfig: ICoreConfig;
|
|
constructor(hashUtil: HashUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, configServer: ConfigServer);
|
|
connect(): IConnectResponse;
|
|
/**
|
|
* Get descriptive text for each of the profile edtions a player can choose
|
|
* @returns
|
|
*/
|
|
protected getProfileDescriptions(): Record<string, string>;
|
|
find(sessionIdKey: string): Info;
|
|
login(info: ILoginRequestData): string;
|
|
register(info: IRegisterData): string;
|
|
protected createAccount(info: IRegisterData): string;
|
|
changeUsername(info: IChangeRequestData): string;
|
|
changePassword(info: IChangeRequestData): string;
|
|
wipe(info: IRegisterData): string;
|
|
getCompatibleTarkovVersion(): string;
|
|
}
|