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

Constructors

new
HealthCallbacks(
httpResponse: HttpResponseUtil,
profileHelper: ProfileHelper,
healthController: HealthController,
)

Properties

protected
healthController: HealthController
protected
httpResponse: HttpResponseUtil
protected
profileHelper: ProfileHelper

Methods

handleWorkoutEffects(
url: string,
sessionID: string,
): IGetBodyResponseData<string>

Custom aki server request found in modules/QTEPatch.cs

Handle RestoreHealth

Handle Eat

Handle Heal

syncHealth(
url: string,
sessionID: string,
): IGetBodyResponseData<string>

Custom aki server request found in modules/HealthSynchronizer.cs