Initial release for SPT 3.9
This commit is contained in:
18
types/services/PlayerService.d.ts
vendored
Normal file
18
types/services/PlayerService.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
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";
|
||||
export declare class PlayerService {
|
||||
protected logger: ILogger;
|
||||
protected timeUtil: TimeUtil;
|
||||
protected localisationService: LocalisationService;
|
||||
protected databaseService: DatabaseService;
|
||||
constructor(logger: ILogger, timeUtil: TimeUtil, localisationService: LocalisationService, databaseService: DatabaseService);
|
||||
/**
|
||||
* Get level of player
|
||||
* @param pmcData Player profile
|
||||
* @returns Level of player
|
||||
*/
|
||||
calculateLevel(pmcData: IPmcData): number;
|
||||
}
|
||||
Reference in New Issue
Block a user