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

Traders allow a limited number of purchases per refresh cycle (default 60 mins)

Parameters

sessionId: string

Session id

traderId: string

Trader assort is purchased from

assortBeingPurchased: Item

the item from trader being bought

assortId: string

Id of assort being purchased

count: number

How many of the item are being bought