Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface IGameCallbacks
import { type IGameCallbacks } from "https://deno.land/x/sptaki@1.2.0/models/spt/mod.ts";

Methods

versionValidate(
url: string,
sessionID: string,
): INullResponseData
gameStart(
url: string,
sessionID: string,
): IGetBodyResponseData<any>
gameLogout(
url: string,
sessionID: string,
): IGetBodyResponseData<any>
getGameConfig(
url: string,
sessionID: string,
): IGetBodyResponseData<IGameConfigResponse>
getServer(
url: string,
sessionID: string,
): IGetBodyResponseData<any>
validateGameVersion(
url: string,
sessionID: string,
): IGetBodyResponseData<any>
gameKeepalive(
url: string,
sessionID: string,
): IGetBodyResponseData<any>
getVersion(
url: string,
sessionID: string,
): string