DPB2Class ยท Game state and actions

InventoryControlWrapper

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

Namespace: DreamPoeBot.Loki.Game

public class InventoryControlWrapperView DPB1 version โ†’

Members and overloads

1 results
Show all members

UseItem

MethodLink โ†—
public UseItemResult InventoryControlWrapper.UseItem(int localId, bool actuallyUse = true)

Uses item using the supplied arguments.

localIdint
The item's identifier within its owning inventory; do not substitute a grid position.
actuallyUsebool
Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The UseItemResult result.

DPB2 0.4.5.88 ยท 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.