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

Parameters

containerH: number

Horizontal size of container

containerV: number

Vertical size of container

itemList: Item[]
containerId: string

Id of the container

Returns

number[][]

Two-dimensional representation of container