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 InventoryControlWrapperView DPB2 version →

Members and overloads

76 results

MergeStack

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

Executes the merge stack operation with the supplied arguments.

idint
Specifies id.
actuallyMergebool
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.

actuallyUsebool
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.

idint
Specifies id.
actuallyUsebool
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.

actuallyPickupbool
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.

idint
Specifies id.
actuallyPickupbool
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.

allowOverlapbool
Specifies allow overlap. Optional; the default is shown in the signature.
actuallyPlacebool
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.

colint
The target column in the inventory grid.
rowint
The target row in the inventory grid.
allowOverlapbool
Specifies allow overlap. Optional; the default is shown in the signature.
actuallyPlacebool
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)

Sets inventory using the supplied arguments.

invInventory
Specifies inv.

SetInventorySlotUi

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

Sets inventory slot ui using the supplied arguments.

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

SetSingleSlotUi

MethodLink ↗
public void InventoryControlWrapper.SetSingleSlotUi(SingleSlotUiElement element)

Sets single slot ui using the supplied arguments.

elementSingleSlotUiElement
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.

valueint
Specifies value.
actuallySplitbool
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.

idint
Specifies id.
valueint
Specifies value.
actuallySplitbool
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.

indexint
Specifies index.
actuallyUnequipbool
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.

idint
Specifies id.
indexint
Specifies index.
actuallyUnequipbool
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.

actuallyUsebool
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.

idint
Specifies id.
actuallyUsebool
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)

Executes the view items in inventory operation with the supplied arguments.

shouldViewItemShouldViewItemDelegate
Specifies should view item.
isOpenedFunc<bool>
Specifies is opened.

Returns: The ViewItemsInInventoryResult result.

ViewItemsInInventory

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

Executes the view items in inventory operation with the supplied arguments.

shouldViewItemShouldViewItemDelegate
Specifies should view item.
isOpenedFunc<bool>
Specifies is opened.
dontClearKeysStatebool
Specifies dont clear keys state.

Returns: The ViewItemsInInventoryResult result.

CustomTabItem

PropertyLink ↗
public Item InventoryControlWrapper.CustomTabItem { get; }

Gets custom tab item for InventoryControlWrapper.

CustomTabItemName

PropertyLink ↗
public string InventoryControlWrapper.CustomTabItemName { get; }

Gets custom tab item name for InventoryControlWrapper.

CustomTabMetadata

PropertyLink ↗
public string InventoryControlWrapper.CustomTabMetadata { get; }

Gets custom tab metadata for InventoryControlWrapper.

HasBlightTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasBlightTabOverride { get; }

Whether blight tab override is present.

HasCrucibleItemOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasCrucibleItemOverride { get; }

Whether crucible item override is present.

HasCurrencyTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasCurrencyTabOverride { get; }

Whether currency tab override is present.

HasCustomTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasCustomTabOverride { get; }

Whether custom tab override is present.

HasDeliriumTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasDeliriumTabOverride { get; }

Whether delirium tab override is present.

HasDelveTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasDelveTabOverride { get; }

Whether delve tab override is present.

HasDivinationTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasDivinationTabOverride { get; }

Whether divination tab override is present.

HasEldrichTabOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasEldrichTabOverride { get; }

Whether eldrich tab override is present.

HasEquippableItemOverride

PropertyLink ↗
public bool InventoryControlWrapper.HasEquippableItemOverride { get; }

Whether equippable item override is present.

Related types

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.