mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
22 lines
516 B
TypeScript
22 lines
516 B
TypeScript
![]() |
import { inject, injectable } from "tsyringe";
|
||
|
|
||
|
import { HandbookController } from "../controllers/HandbookController";
|
||
|
import { OnLoad } from "../di/OnLoad";
|
||
|
|
||
|
@injectable()
|
||
|
export class HandbookCallbacks implements OnLoad
|
||
|
{
|
||
|
constructor(
|
||
|
@inject("HandbookController") protected handbookController: HandbookController
|
||
|
)
|
||
|
{
|
||
|
}
|
||
|
public async onLoad(): Promise<void>
|
||
|
{
|
||
|
this.handbookController.load();
|
||
|
}
|
||
|
public getRoute(): string
|
||
|
{
|
||
|
return "aki-handbook";
|
||
|
}
|
||
|
}
|