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

Constructors

new
LauncherCallbacks(
httpResponse: HttpResponseUtil,
launcherController: LauncherController,
saveServer: SaveServer,
watermark: Watermark,
)

Properties

protected
httpResponse: HttpResponseUtil
protected
launcherController: LauncherController
protected
saveServer: SaveServer
protected
watermark: Watermark

Methods

changePassword(
url: string,
sessionID: string,
): "FAILED" | "OK"
changeUsername(
url: string,
sessionID: string,
): "FAILED" | "OK"
connect(): string
get(
url: string,
sessionID: string,
): string
getServerModsProfileUsed(
url: string,
sessionId: string,
): string
login(
url: string,
sessionID: string,
): string
ping(
url: string,
sessionID: string,
): string
register(
url: string,
sessionID: string,
): "FAILED" | "OK"
removeProfile(
url: string,
sessionID: string,
): string
wipe(
url: string,
sessionID: string,
): "FAILED" | "OK"