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

11 lines
394 B
TypeScript
Raw Permalink Normal View History

2023-02-12 23:21:14 -05:00
import { OnLoad } from "../di/OnLoad";
import { OnUpdate } from "../di/OnUpdate";
2022-07-30 00:35:54 -04:00
import { SaveServer } from "../servers/SaveServer";
2023-02-12 23:21:14 -05:00
export declare class SaveCallbacks implements OnLoad, OnUpdate {
2022-07-30 00:35:54 -04:00
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
}