import { InRaidHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/InRaidHelper.d.ts";
Constructors
Properties
Methods
Adjust server trader settings if they differ from data sent by client
Get items in vest/pocket/backpack inventory containers (excluding children)
Get an array of items from a profile that will be lost on death
Does the provided items slotId mean its kept on the player after death
Look for quests with a status different from what it began the raid with
Reset the skill points earned in a raid to 0, ready for next raid
Set the SPT inraid location Profile property to 'none'
Take body part effects from client profile and apply to server profile
Transfer client achievements into profile
Check counters are correct in profile
Check items array and add an upd object to money with a stack count of 1 Single stack money items have no upd object and thus no StackObjectsCount, causing issues
Clear PMC inventory of all items except those that are exempt Used post-raid to remove items after death
Return the equipped items from a players inventory
Lookup quest item loss from lostOnDeath config
Iterate over inventory items and remove the property that defines an item as Found in Raid Only removes property if item had FiR when entering raid
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
Update various serverPMC profile values; quests/limb hp/trader standing with values post-raic
Reset a profile to a baseline, used post-raid Reset points earned during session property Increment exp
Update scav quest values on server profile with updated values post-raid