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

Update a players inventory post-raid Remove equipped items from pre-raid Add new items found in raid to profile Store insurance items in profile

Parameters

sessionID: string

Session id

serverProfile: IPmcData

Profile to update

postRaidProfile: IPmcData

Profile returned by client after a raid