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

Methods

load(): void
search(
url: string,
sessionID: string,
): IGetBodyResponseData<any>
getMarketPrice(
url: string,
sessionID: string,
): IGetBodyResponseData<IGetItemPriceResult>
getItemPrices(
url: string,
sessionID: string,
): IGetBodyResponseData<any>
addOffer(
pmcData: IPmcData,
sessionID: string,
): IItemEventRouterResponse
removeOffer(
pmcData: IPmcData,
sessionID: string,
): IItemEventRouterResponse
extendOffer(
pmcData: IPmcData,
sessionID: string,
): IItemEventRouterResponse
update(timeSinceLastRun: number): boolean
updatePlayer(timeSinceLastRun: number): boolean