ScavXpCounts/types/callbacks/ClientLogCallbacks.d.ts

29 lines
1.3 KiB
TypeScript
Raw Normal View History

2024-02-23 15:06:00 -07:00
import { ClientLogController } from "@spt-aki/controllers/ClientLogController";
2024-04-19 21:23:52 -06:00
import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder";
2024-02-23 15:06:00 -07:00
import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData";
import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest";
2024-04-19 21:23:52 -06:00
import { ConfigServer } from "@spt-aki/servers/ConfigServer";
import { LocalisationService } from "@spt-aki/services/LocalisationService";
2024-02-23 15:06:00 -07:00
import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil";
/** Handle client logging related events */
export declare class ClientLogCallbacks {
protected httpResponse: HttpResponseUtil;
protected clientLogController: ClientLogController;
2024-04-19 21:23:52 -06:00
protected configServer: ConfigServer;
protected localisationService: LocalisationService;
protected modLoadOrder: ModLoadOrder;
constructor(httpResponse: HttpResponseUtil, clientLogController: ClientLogController, configServer: ConfigServer, localisationService: LocalisationService, modLoadOrder: ModLoadOrder);
2024-02-23 15:06:00 -07:00
/**
* Handle /singleplayer/log
*/
clientLog(url: string, info: IClientLogRequest, sessionID: string): INullResponseData;
2024-04-19 21:23:52 -06:00
/**
* Handle /singleplayer/release
*/
releaseNotes(): string;
/**
* Handle /singleplayer/enableBSGlogging
*/
bsgLogging(): string;
2024-02-23 15:06:00 -07:00
}