ScavXpCounts/types/routers/ItemEventRouter.d.ts

24 lines
1.3 KiB
TypeScript
Raw Normal View History

2024-02-23 15:06:00 -07:00
import { ItemEventRouterDefinition } from "@spt-aki/di/Router";
import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper";
import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest";
import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse";
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder";
import { LocalisationService } from "@spt-aki/services/LocalisationService";
2024-04-19 21:23:52 -06:00
import { JsonUtil } from "@spt-aki/utils/JsonUtil";
2023-08-17 19:49:16 -06:00
export declare class ItemEventRouter {
protected logger: ILogger;
2024-04-19 21:23:52 -06:00
protected jsonUtil: JsonUtil;
2023-08-17 19:49:16 -06:00
protected profileHelper: ProfileHelper;
protected itemEventRouters: ItemEventRouterDefinition[];
protected localisationService: LocalisationService;
protected eventOutputHolder: EventOutputHolder;
2024-04-19 21:23:52 -06:00
constructor(logger: ILogger, jsonUtil: JsonUtil, profileHelper: ProfileHelper, itemEventRouters: ItemEventRouterDefinition[], localisationService: LocalisationService, eventOutputHolder: EventOutputHolder);
2023-08-17 19:49:16 -06:00
/**
* @param info Event request
* @param sessionID Session id
* @returns Item response
*/
handleEvents(info: IItemEventRouterRequest, sessionID: string): IItemEventRouterResponse;
}