ScavXpCounts/types/services/PlayerService.d.ts

19 lines
800 B
TypeScript
Raw Normal View History

2024-11-12 11:51:30 -07:00
import { IPmcData } from "@spt/models/eft/common/IPmcData";
import { ILogger } from "@spt/models/spt/utils/ILogger";
import { DatabaseService } from "@spt/services/DatabaseService";
import { LocalisationService } from "@spt/services/LocalisationService";
import { TimeUtil } from "@spt/utils/TimeUtil";
2023-08-17 19:49:16 -06:00
export declare class PlayerService {
protected logger: ILogger;
protected timeUtil: TimeUtil;
protected localisationService: LocalisationService;
2024-11-12 11:51:30 -07:00
protected databaseService: DatabaseService;
constructor(logger: ILogger, timeUtil: TimeUtil, localisationService: LocalisationService, databaseService: DatabaseService);
2023-08-17 19:49:16 -06:00
/**
* Get level of player
* @param pmcData Player profile
* @returns Level of player
*/
calculateLevel(pmcData: IPmcData): number;
}