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

Constructors

new
RepairController(
logger: ILogger,
eventOutputHolder: EventOutputHolder,
databaseServer: DatabaseServer,
questHelper: QuestHelper,
traderHelper: TraderHelper,
paymentService: PaymentService,
repairHelper: RepairHelper,
repairService: RepairService,
profileHelper: ProfileHelper,
)

Properties

protected
databaseServer: DatabaseServer
protected
eventOutputHolder: EventOutputHolder
protected
logger: ILogger
protected
paymentService: PaymentService
protected
profileHelper: ProfileHelper
protected
questHelper: QuestHelper
protected
repairConfig: IRepairConfig
protected
repairHelper: RepairHelper
protected
repairService: RepairService
protected
traderHelper: TraderHelper

Methods

Handle Repair event Repair with repair kit

Handle TraderRepair event Repair with trader