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

Get price of insurance * multiplier from config

Parameters

pmcData: IPmcData

Player profile

inventoryItem: Item

Item to be insured

traderId: string

Trader item is insured with

Returns

number

price in roubles