import { HealthController } from "https://deno.land/x/sptaki@1.2.0/controllers/mod.ts";
Constructors
new
HealthController(logger: ILogger,
jsonUtil: JsonUtil,
eventOutputHolder: EventOutputHolder,
itemHelper: ItemHelper,
paymentService: PaymentService,
inventoryHelper: InventoryHelper,
localisationService: LocalisationService,
httpResponse: HttpResponseUtil,
healthHelper: HealthHelper,
Properties
protected
eventOutputHolder: EventOutputHolderprotected
healthHelper: HealthHelperprotected
httpResponse: HttpResponseUtilprotected
inventoryHelper: InventoryHelperprotected
itemHelper: ItemHelperprotected
jsonUtil: JsonUtilprotected
localisationService: LocalisationServiceprotected
logger: ILoggerprotected
paymentService: PaymentServiceMethods
applyWorkoutChanges(): void
applies skills from hideout workout.
Handle RestoreHealth event Occurs on post-raid healing page
Handle Eat event Consume food/water outside of a raid
When healing in menu
saveVitality(): void
pmcData: IPmcData,
info: ISyncHealthRequestData,
sessionID: string,
addEffects?: boolean,
deleteExistingEffects?: boolean,
stores in-raid player health