UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

27 lines (26 loc) 1.1 kB
import IFile from "../storage/IFile"; import { IEventHandler } from "ste-events"; import IDebugSettings from "./IDebugSettings"; import IVsCodeLaunch from "./IVsCodeLaunch"; import Project from "../app/Project"; export default class VsCodeLaunchDefinition { private _file?; private _id?; private _isLoaded; definition?: IVsCodeLaunch; private _onLoaded; project: Project | undefined; get isLoaded(): boolean; get file(): IFile | undefined; set file(newFile: IFile | undefined); get onLoaded(): import("ste-events").IEvent<VsCodeLaunchDefinition, VsCodeLaunchDefinition>; get id(): string | undefined; set id(newId: string | undefined); static ensureOnFile(file: IFile, loadHandler?: IEventHandler<VsCodeLaunchDefinition, VsCodeLaunchDefinition>): Promise<VsCodeLaunchDefinition>; hasMinContent(debugSettings?: IDebugSettings): Promise<boolean>; ensureMinContent(debugSettings?: IDebugSettings): Promise<boolean>; private applyDebugSettingsToConfig; persist(): Promise<boolean>; save(): Promise<void>; load(): Promise<void>; }