Skip to main content
Deno 2 is finally here 🎉️
Learn more
class InraidCallbacks
import { InraidCallbacks } from "https://deno.land/x/sptaki@1.2.0/callbacks/mod.ts";

Handle client requests

Constructors

new
InraidCallbacks(inraidController: InraidController, httpResponse: HttpResponseUtil)

Properties

protected
httpResponse: HttpResponseUtil
protected
inraidController: InraidController

Methods

Handle singleplayer/airdrop/config

getBTRConfig(): string

Handle singleplayer/btr/config

getRaidEndState(): string

Handle singleplayer/settings/raid/endstate

Handle singleplayer/settings/raid/menu

getSandboxMaxPatrolValue(
url: string,
sessionId: string,
): string
getTraderServices(
url: string,
sessionId: string,
): string

Handle singleplayer/traderServices/getTraderServices

getTraitorScavHostileChance(
url: string,
sessionId: string,
): string
itemDelivery(
url: string,
sessionId: string,
): INullResponseData

Handle singleplayer/traderServices/itemDelivery

registerPlayer(
url: string,
sessionID: string,
): INullResponseData

Handle client/location/getLocalloot Store active map in profile + applicationContext

saveProgress(
url: string,
sessionID: string,
): INullResponseData

Handle raid/profile/save