Skip to main content
Deno 2 is finally here 🎉️
Learn more
class HealthCallbacks
import { HealthCallbacks } from "https://deno.land/x/sptaki@1.2.0/callbacks/HealthCallbacks.d.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