import { RagfairCallbacks } from "https://deno.land/x/sptaki@1.2.0/callbacks/mod.ts";
Handle ragfair related callback events
Constructors
new
RagfairCallbacks(httpResponse: HttpResponseUtil,
jsonUtil: JsonUtil,
ragfairServer: RagfairServer,
ragfairController: RagfairController,
ragfairTaxService: RagfairTaxService,
configServer: ConfigServer,
Properties
protected
configServer: ConfigServerprotected
httpResponse: HttpResponseUtilprotected
jsonUtil: JsonUtilprotected
ragfairConfig: IRagfairConfigprotected
ragfairController: RagfairControllerprotected
ragfairServer: RagfairServerprotected
ragfairTaxService: RagfairTaxServiceMethods
Handle RagFairAddOffer event
Handle RagFairRenewOffer event
Handle client/ragfair/offer/findbyid
getFleaPrices(): IGetBodyResponseData<Record<string, number>>
Handle /client/items/prices Called when clicking an item to list on flea
Handle client/ragfair/itemMarketPrice
getRoute(): string
onLoad(): Promise<void>
onUpdate(timeSinceLastRun: number): Promise<boolean>
Handle RagFairRemoveOffer event
Handle client/ragfair/search Handle client/ragfair/find
Handle client/reports/ragfair/send