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

Constructors

new
BuildsCallbacks(httpResponse: HttpResponseUtil, buildController: BuildController)

Properties

protected
buildController: BuildController
protected
httpResponse: HttpResponseUtil

Methods

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

Handle client/builds/magazine/save

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

Handle client/builds/delete

getBuilds(
url: string,
sessionID: string,
): IGetBodyResponseData<IUserBuilds>

Handle client/builds/list

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

Handle client/builds/equipment/save

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

Handle client/builds/weapon/save