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

Generate a currency cost for an item and its mods

Parameters

offerItems: Item[]

Item with mods to get price for

desiredCurrency: string

Currency price desired in

isPackOffer: boolean

Price is for a pack type offer

Returns

number

cost of item in desired currency