18 lines
844 B
TypeScript
Raw Permalink Normal View History

import { OnLoad } from "../di/OnLoad";
import { OnUpdate } from "../di/OnUpdate";
import { ILogger } from "../models/spt/utils/ILogger";
2022-12-25 18:45:30 -05:00
import { LocalisationService } from "../services/LocalisationService";
import { TimeUtil } from "./TimeUtil";
export declare class App {
protected logger: ILogger;
protected timeUtil: TimeUtil;
2022-12-25 18:45:30 -05:00
protected localisationService: LocalisationService;
protected onLoadComponents: OnLoad[];
protected onUpdateComponents: OnUpdate[];
protected onUpdateLastRun: {};
2022-12-25 18:45:30 -05:00
constructor(logger: ILogger, timeUtil: TimeUtil, localisationService: LocalisationService, onLoadComponents: OnLoad[], onUpdateComponents: OnUpdate[]);
load(): Promise<void>;
protected update(onUpdateComponents: OnUpdate[]): Promise<void>;
protected logUpdateException(err: any, updateable: OnUpdate): void;
}