DPB1Class · 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 InventoryControlWrapper
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

76 declared here

MergeStack

MethodLink ↗
public MergeStackResult InventoryControlWrapper.MergeStack(int id, bool actuallyMerge = true)

Calls MergeStack on InventoryControlWrapper with id, actuallyMerge and returns MergeStackResult. Open the return contract below before using the result.

Return type: MergeStackResult
Explore MergeStackResult → members & methods

Named values for merge stack result. Select a value when an API accepts or returns MergeStackResult.

Parameters

id
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies id.

actuallyMerge
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The MergeStackResult result.

OpenDisplayNote

MethodLink ↗
public OpenDisplayNoteResult InventoryControlWrapper.OpenDisplayNote(bool actuallyUse = true)

Opens display note using the supplied arguments.

Return type: OpenDisplayNoteResult
Explore OpenDisplayNoteResult → members & methods

Named values for open display note result. Select a value when an API accepts or returns OpenDisplayNoteResult.

Parameters

actuallyUse
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The OpenDisplayNoteResult result.

OpenDisplayNote

MethodLink ↗
public OpenDisplayNoteResult InventoryControlWrapper.OpenDisplayNote(int id, bool actuallyUse = true)

Opens display note using the supplied arguments.

Return type: OpenDisplayNoteResult
Explore OpenDisplayNoteResult → members & methods

Named values for open display note result. Select a value when an API accepts or returns OpenDisplayNoteResult.

Parameters

id
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies id.

actuallyUse
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The OpenDisplayNoteResult result.

Pickup

MethodLink ↗
public PickupResult InventoryControlWrapper.Pickup(bool actuallyPickup = true)

Picks up the selected item onto the cursor. The item must belong to this inventory grid. Check the returned result before continuing.

Return type: PickupResult
Explore PickupResult → members & methods

Named values for pickup result. Select a value when an API accepts or returns PickupResult.

Parameters

actuallyPickup
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The PickupResult result.

Pickup

MethodLink ↗
public PickupResult InventoryControlWrapper.Pickup(int id, bool actuallyPickup = true)

Picks up the selected item onto the cursor. The item must belong to this inventory grid. Check the returned result before continuing.

Return type: PickupResult
Explore PickupResult → members & methods

Named values for pickup result. Select a value when an API accepts or returns PickupResult.

Parameters

id
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies id.

actuallyPickup
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The PickupResult result.

PlaceCursorInto

MethodLink ↗
public PlaceCursorIntoResult InventoryControlWrapper.PlaceCursorInto(bool allowOverlap = false, bool actuallyPlace = true)

Places the item currently held by the cursor into this inventory grid. Check the returned result before continuing.

Return type: PlaceCursorIntoResult
Explore PlaceCursorIntoResult → members & methods

Named values for place cursor into result. Select a value when an API accepts or returns PlaceCursorIntoResult.

Parameters

allowOverlap
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies allow overlap. Optional; the default is shown in the signature.

actuallyPlace
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The PlaceCursorIntoResult result.

PlaceCursorInto

MethodLink ↗
public PlaceCursorIntoResult InventoryControlWrapper.PlaceCursorInto(int col, int row, bool allowOverlap = false, bool actuallyPlace = true)

Places the item currently held by the cursor into this inventory grid. Check the returned result before continuing.

Return type: PlaceCursorIntoResult
Explore PlaceCursorIntoResult → members & methods

Named values for place cursor into result. Select a value when an API accepts or returns PlaceCursorIntoResult.

Parameters

col
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

The target column in the inventory grid.

row
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

The target row in the inventory grid.

allowOverlap
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies allow overlap. Optional; the default is shown in the signature.

actuallyPlace
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The PlaceCursorIntoResult result.

SetInventory

MethodLink ↗
public void InventoryControlWrapper.SetInventory(Inventory inv)

Calls SetInventory on InventoryControlWrapper with inv. This overload has no return value.

Return type: voidNo return value.

Parameters

inv

Specifies inv.

SetInventorySlotUi

MethodLink ↗
public void InventoryControlWrapper.SetInventorySlotUi(InventorySlotUiElement element, StashType stashType = StashType.NormalStash)

Calls SetInventorySlotUi on InventoryControlWrapper with element, stashType. This overload has no return value.

Return type: voidNo return value.

Parameters

element
Parameter type: InventorySlotUiElement

Specifies element.

stashType

Specifies stash type. Optional; the default is shown in the signature.

SetSingleSlotUi

MethodLink ↗
public void InventoryControlWrapper.SetSingleSlotUi(SingleSlotUiElement element)

Calls SetSingleSlotUi on InventoryControlWrapper with element. This overload has no return value.

Return type: voidNo return value.

Parameters

element
Parameter type: SingleSlotUiElement

Specifies element.

SplitStack

MethodLink ↗
public SplitStackResult InventoryControlWrapper.SplitStack(int value, bool actuallySplit = true)

Requests the specified quantity from an item stack in this grid. Check the returned result before continuing.

Return type: SplitStackResult
Explore SplitStackResult → members & methods

Named values for split stack result. Select a value when an API accepts or returns SplitStackResult.

Parameters

value
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies value.

actuallySplit
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Action-control flag. Support varies by overload; do not assume that false makes the operation side-effect-free.

Returns: The SplitStackResult result.

SplitStack

MethodLink ↗
public SplitStackResult InventoryControlWrapper.SplitStack(int id, int value, bool actuallySplit = true)

Requests the specified quantity from an item stack in this grid. Check the returned result before continuing.

Return type: SplitStackResult
Explore SplitStackResult → members & methods

Named values for split stack result. Select a value when an API accepts or returns SplitStackResult.

Parameters

id
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies id.

value
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies value.

actuallySplit
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Action-control flag. Support varies by overload; do not assume that false makes the operation side-effect-free.

Returns: The SplitStackResult result.

UnequipSkillGem

MethodLink ↗
public UnequipSkillGemResult InventoryControlWrapper.UnequipSkillGem(int index, bool actuallyUnequip = true)

Unequips skill gem using the supplied arguments.

Return type: UnequipSkillGemResult
Explore UnequipSkillGemResult → members & methods

Named values for unequip skill gem result. Select a value when an API accepts or returns UnequipSkillGemResult.

Parameters

index
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies index.

actuallyUnequip
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Action-control flag. Support varies by overload; do not assume that false makes the operation side-effect-free.

Returns: The UnequipSkillGemResult result.

UnequipSkillGem

MethodLink ↗
public UnequipSkillGemResult InventoryControlWrapper.UnequipSkillGem(int id, int index, bool actuallyUnequip = true)

Unequips skill gem using the supplied arguments.

Return type: UnequipSkillGemResult
Explore UnequipSkillGemResult → members & methods

Named values for unequip skill gem result. Select a value when an API accepts or returns UnequipSkillGemResult.

Parameters

id
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies id.

index
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies index.

actuallyUnequip
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The UnequipSkillGemResult result.

UseItem

MethodLink ↗
public UseItemResult InventoryControlWrapper.UseItem(bool actuallyUse = true)

Uses item using the supplied arguments.

Return type: UseItemResult
Explore UseItemResult → members & methods

Named values for use item result. Select a value when an API accepts or returns UseItemResult.

Parameters

actuallyUse
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The UseItemResult result.

UseItem

MethodLink ↗
public UseItemResult InventoryControlWrapper.UseItem(int id, bool actuallyUse = true)

Uses item using the supplied arguments.

Return type: UseItemResult
Explore UseItemResult → members & methods

Named values for use item result. Select a value when an API accepts or returns UseItemResult.

Parameters

id
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies id.

actuallyUse
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The UseItemResult result.

ViewItemsInInventory

MethodLink ↗
public ViewItemsInInventoryResult InventoryControlWrapper.ViewItemsInInventory(ShouldViewItemDelegate shouldViewItem, Func<bool> isOpened)

Calls ViewItemsInInventory on InventoryControlWrapper with shouldViewItem, isOpened and returns ViewItemsInInventoryResult. Open the return contract below before using the result.

Return type: ViewItemsInInventoryResult
Explore ViewItemsInInventoryResult → members & methods

Named values for view items in inventory result. Select a value when an API accepts or returns ViewItemsInInventoryResult.

Parameters

shouldViewItem
Parameter type: ShouldViewItemDelegate

Specifies should view item.

isOpened
Parameter type: Func<bool>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies is opened.

Returns: The ViewItemsInInventoryResult result.

ViewItemsInInventory

MethodLink ↗
public ViewItemsInInventoryResult InventoryControlWrapper.ViewItemsInInventory(ShouldViewItemDelegate shouldViewItem, Func<bool> isOpened, bool dontClearKeysState)

Calls ViewItemsInInventory on InventoryControlWrapper with shouldViewItem, isOpened, dontClearKeysState and returns ViewItemsInInventoryResult. Open the return contract below before using the result.

Return type: ViewItemsInInventoryResult
Explore ViewItemsInInventoryResult → members & methods

Named values for view items in inventory result. Select a value when an API accepts or returns ViewItemsInInventoryResult.

Parameters

shouldViewItem
Parameter type: ShouldViewItemDelegate

Specifies should view item.

isOpened
Parameter type: Func<bool>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies is opened.

dontClearKeysState
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies dont clear keys state.

Returns: The ViewItemsInInventoryResult result.

CustomTabItem

PropertyLink ↗
public Item InventoryControlWrapper.CustomTabItem { get; }

Reads custom tab item on InventoryControlWrapper as Item. Open the value type below for its members and accepted values.

Value type: Item
Explore Item → members & methods

Read an item's identity, rarity, stack and other properties. Use its owning inventory or interface API for item actions.

CustomTabItemName

PropertyLink ↗
public string InventoryControlWrapper.CustomTabItemName { get; }

Reads custom tab item name on InventoryControlWrapper as string. The exact type and accessors are shown below.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

CustomTabMetadata

PropertyLink ↗
public string InventoryControlWrapper.CustomTabMetadata { get; }

Reads custom tab metadata on InventoryControlWrapper as string. The exact type and accessors are shown below.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasBlightTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasBlightTabOverride { get; }

Whether blight tab override is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasCrucibleItemOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasCrucibleItemOverride { get; }

Whether crucible item override is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasCurrencyTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasCurrencyTabOverride { get; }

Whether currency tab override is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasCustomTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasCustomTabOverride { get; }

Whether custom tab override is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasDeliriumTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasDeliriumTabOverride { get; }

Whether delirium tab override is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasDelveTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasDelveTabOverride { get; }

Whether delve tab override is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasDivinationTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasDivinationTabOverride { get; }

Whether divination tab override is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasEldrichTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasEldrichTabOverride { get; }

Whether eldrich tab override is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasEquippableItemOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasEquippableItemOverride { get; }

Whether equippable item override is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Guides using this class

See how these APIs fit together. Labs include complete source; the FollowBot walkthrough teaches you to build your own bot from selected fragments and checkpoints.

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