Skip to main content
The Deno 2 Release Candidate is here
Learn more
method InsuranceController.prototype.insure
import { InsuranceController } from "https://deno.land/x/sptaki@1.2.0/controllers/mod.ts";

Handle Insure event Add insurance to an item

Parameters

pmcData: IPmcData

Player profile

Insurance request

sessionID: string

Session id

Returns

IItemEventRouterResponse object to send to client