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

Constructors

new
RepairCallbacks(repairController: RepairController)

Properties

protected
repairController: RepairController

Methods

repair(
pmcData: IPmcData,
repairRequest: IRepairActionDataRequest,
sessionID: string,
): IItemEventRouterResponse

Handle Repair event Use repair kit to repair item

traderRepair(
pmcData: IPmcData,
traderRepairRequest: ITraderRepairActionDataRequest,
sessionID: string,
): IItemEventRouterResponse

Handle TraderRepair event use trader to repair item