Valens-AIO/types/callbacks/SaveCallbacks.d.ts

10 lines
362 B
TypeScript
Raw Normal View History

2022-07-30 00:35:54 -04:00
import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate";
import { SaveServer } from "../servers/SaveServer";
export declare class SaveCallbacks extends OnLoadOnUpdate {
protected saveServer: SaveServer;
constructor(saveServer: SaveServer);
2022-12-25 18:45:37 -05:00
onLoad(): Promise<void>;
2022-07-30 00:35:54 -04:00
getRoute(): string;
2022-12-25 18:45:37 -05:00
onUpdate(secondsSinceLastRun: number): Promise<boolean>;
2022-07-30 00:35:54 -04:00
}