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

Return the inventory that needs to be modified (scav/pmc etc) Changes made to result apply to character inventory Based on the item action, determine whose inventories we should be looking at for from and to.

Parameters

sessionId: string

Session id / playerid

Returns

OwnerInventoryItems with inventory of player/scav to adjust