Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
class PlayerService
import { PlayerService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

Constructors

new
PlayerService(
logger: ILogger,
timeUtil: TimeUtil,
localisationService: LocalisationService,
databaseServer: DatabaseServer,
)

Properties

protected
databaseServer: DatabaseServer
protected
localisationService: LocalisationService
protected
logger: ILogger
protected
timeUtil: TimeUtil

Methods

calculateLevel(pmcData: IPmcData): number

Get level of player