UNPKG

@peacockproject/core

Version:

Type definitions for Peacock's core.

22 lines (21 loc) 794 B
import { Controller } from "./controller"; import { SMFLastDeploy } from "./types/types"; export declare class SMFSupport { private readonly controller; readonly lastDeploy: SMFLastDeploy | null; constructor(controller: Controller); static get modFrameworkDataPaths(): string[] | false; private executePlugin; private handleBlobs; private handleContracts; private handleDestination; private handleUnlockables; initSMFSupport(): Promise<void>; /** * Returns whether a mod is available and installed. * * @param modId The mod's ID. * @returns If the mod is available (or the `overrideFrameworkChecks` flag is set). You should probably abort initialisation if false is returned. */ modIsInstalled(modId: string): boolean; }