DPB1Class ยท Game state and actions

Inventory

Provides inventory data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Game

public class InventoryView DPB2 version โ†’

Members and overloads

1 results
Show all members

CanFitItem

MethodLink โ†—
public bool Inventory.CanFitItem(Vector2i itemSize, out int col, out int row)

Checks whether it can fit item using the supplied arguments.

itemSizeVector2i
Specifies item size.
colint
The target column in the inventory grid.
rowint
The target row in the inventory grid.

Returns: A Boolean result. The member description explains the condition being checked.

DPB1 0.3.29.47 ยท Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.