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

Store insured item

Parameters

sessionId: string

Player id (session id)

traderId: string

Trader item insured with

itemToAdd: Item

Insured item (with children)