d13e86ba46
Rebranded src code and scripts to SPT Co-authored-by: clodan <clodan@clodan.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/345 Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com> Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
21 lines
492 B
TypeScript
21 lines
492 B
TypeScript
import { inject, injectable } from "tsyringe";
|
|
import { PresetController } from "@spt/controllers/PresetController";
|
|
import { OnLoad } from "@spt/di/OnLoad";
|
|
|
|
@injectable()
|
|
export class PresetCallbacks implements OnLoad
|
|
{
|
|
constructor(@inject("PresetController") protected presetController: PresetController)
|
|
{}
|
|
|
|
public async onLoad(): Promise<void>
|
|
{
|
|
this.presetController.initialize();
|
|
}
|
|
|
|
public getRoute(): string
|
|
{
|
|
return "spt-presets";
|
|
}
|
|
}
|