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

52 results

InventorySlotUiElement

FieldLink ↗
public InventorySlotUiElement InventoryControlWrapper.InventorySlotUiElement

Gets or sets inventory slot ui element for InventoryControlWrapper.

SingleSlotUiElement

FieldLink ↗
public SingleSlotUiElement InventoryControlWrapper.SingleSlotUiElement

Gets or sets single slot ui element for InventoryControlWrapper.

InventoryControlWrapper

MethodLink ↗
public InventoryControlWrapper.InventoryControlWrapper()

Creates a new InventoryControlWrapper instance.

ApplyCursorAt

MethodLink ↗
public ApplyCursorResult InventoryControlWrapper.ApplyCursorAt(int col, int row, bool actuallyApply = true)

Applies the current cursor action to the item at the specified grid column and row. Check the returned result before continuing.

colint
The target column in the inventory grid.
rowint
The target row in the inventory grid.
actuallyApplybool
Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The ApplyCursorResult result.

ApplyCursorTo

MethodLink ↗
public ApplyCursorResult InventoryControlWrapper.ApplyCursorTo(bool actuallyApply = true)

Applies the current cursor action to the item selected by this overload. Check the returned result before continuing.

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

Returns: The ApplyCursorResult result.

ApplyCursorTo

MethodLink ↗
public ApplyCursorResult InventoryControlWrapper.ApplyCursorTo(int localId, bool actuallyApply = true)

Applies the current cursor action to the item selected by this overload. Check the returned result before continuing.

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

Returns: The ApplyCursorResult result.

BeginApplyCursor

MethodLink ↗
public static ApplyCursorResult InventoryControlWrapper.BeginApplyCursor(bool holdShift = false)

Begins applying the cursor action, optionally keeping Shift held for repeated use. Check the returned result before continuing.

holdShiftbool
Specifies hold shift. Optional; the default is shown in the signature.

Returns: The ApplyCursorResult result.

EndApplyCursor

MethodLink ↗
public static ApplyCursorResult InventoryControlWrapper.EndApplyCursor()

Ends the active cursor-application sequence and releases its input state. Check the returned result before continuing.

Returns: The ApplyCursorResult result.

EquipSkillGem

MethodLink ↗
public EquipSkillGemResult InventoryControlWrapper.EquipSkillGem(int index, bool actuallyEquip = true)

Requests equipping the skill gem using the selected item and socket index. Check the returned result before continuing.

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

Returns: The EquipSkillGemResult result.

EquipSkillGem

MethodLink ↗
public EquipSkillGemResult InventoryControlWrapper.EquipSkillGem(int localId, int index, bool actuallyEquip = true)

Requests equipping the skill gem using the selected item and socket index. Check the returned result before continuing.

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

Returns: The EquipSkillGemResult result.

FastMove

MethodLink ↗
public FastMoveResult InventoryControlWrapper.FastMove(bool actuallyMove = true, bool ignoreIncubators = true, bool IgnoreCursorState = false)

Requests a quick transfer of an item from this grid to the destination chosen by the open game interface. Check the returned result before continuing.

actuallyMovebool
Action-control flag. Support varies by overload; do not assume that false makes the operation side-effect-free.
ignoreIncubatorsbool
Specifies ignore incubators. Optional; the default is shown in the signature.
IgnoreCursorStatebool
Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The FastMoveResult result.

FastMove

MethodLink ↗
public FastMoveResult InventoryControlWrapper.FastMove(bool dontClearKeysState, bool actuallyMove = true, bool ignoreIncubators = true, bool IgnoreCursorState = false)

Requests a quick transfer of an item from this grid to the destination chosen by the open game interface. Check the returned result before continuing.

dontClearKeysStatebool
Specifies dont clear keys state.
actuallyMovebool
Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.
ignoreIncubatorsbool
Specifies ignore incubators. Optional; the default is shown in the signature.
IgnoreCursorStatebool
Specifies ignore cursor state. Optional; the default is shown in the signature.

Returns: The FastMoveResult result.

FastMove

MethodLink ↗
public FastMoveResult InventoryControlWrapper.FastMove(int localId, bool actuallyMove = true, bool ignoreIncubators = true)

Requests a quick transfer of an item from this grid to the destination chosen by the open game interface. Check the returned result before continuing.

localIdint
The item's identifier within its owning inventory; do not substitute a grid position.
actuallyMovebool
Action-control flag. Support varies by overload; do not assume that false makes the operation side-effect-free.
ignoreIncubatorsbool
Specifies ignore incubators. Optional; the default is shown in the signature.

Returns: The FastMoveResult result.

FastMove

MethodLink ↗
public FastMoveResult InventoryControlWrapper.FastMove(int localId, bool dontClearKeysState, bool actuallyMove = true, bool ignoreIncubators = true)

Requests a quick transfer of an item from this grid to the destination chosen by the open game interface. Check the returned result before continuing.

localIdint
The item's identifier within its owning inventory; do not substitute a grid position.
dontClearKeysStatebool
Specifies dont clear keys state.
actuallyMovebool
Action-control flag. Support varies by overload; do not assume that false makes the operation side-effect-free.
ignoreIncubatorsbool
Specifies ignore incubators. Optional; the default is shown in the signature.

Returns: The FastMoveResult result.

FastMoveAll

MethodLink ↗
public FastMoveResult InventoryControlWrapper.FastMoveAll(bool dontClearKeysState = false, bool actuallyMove = true, bool ignoreIncubators = true, bool IgnoreCursorState = false)

Requests the interface's bulk quick-transfer action for the selected item. Check the returned result before continuing.

dontClearKeysStatebool
Specifies dont clear keys state. Optional; the default is shown in the signature.
actuallyMovebool
Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.
ignoreIncubatorsbool
Specifies ignore incubators. Optional; the default is shown in the signature.
IgnoreCursorStatebool
Specifies ignore cursor state. Optional; the default is shown in the signature.

Returns: The FastMoveResult result.

FastMoveAll

MethodLink ↗
public FastMoveResult InventoryControlWrapper.FastMoveAll(int localId, bool dontClearKeysState = false, bool actuallyMove = true, bool ignoreIncubators = true)

Requests the interface's bulk quick-transfer action for the selected item. Check the returned result before continuing.

localIdint
The item's identifier within its owning inventory; do not substitute a grid position.
dontClearKeysStatebool
Specifies dont clear keys state. Optional; the default is shown in the signature.
actuallyMovebool
Action-control flag. Support varies by overload; do not assume that false makes the operation side-effect-free.
ignoreIncubatorsbool
Specifies ignore incubators. Optional; the default is shown in the signature.

Returns: The FastMoveResult result.

FastMoveReward

MethodLink ↗
public FastMoveResult InventoryControlWrapper.FastMoveReward(int localId, bool actuallyMove = true)

Requests a quick transfer of the identified reward item. Check the returned result before continuing.

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

Returns: The FastMoveResult result.

GetDexRequirement

MethodLink ↗
public int InventoryControlWrapper.GetDexRequirement(int localId)

Returns dex requirement using the supplied arguments.

localIdint
The item's identifier within its owning inventory; do not substitute a grid position.

Returns: The int result.

GetIntRequirement

MethodLink ↗
public int InventoryControlWrapper.GetIntRequirement(int localId)

Returns int requirement using the supplied arguments.

localIdint
The item's identifier within its owning inventory; do not substitute a grid position.

Returns: The int result.

GetItemCost

MethodLink ↗
public GetItemCostResult InventoryControlWrapper.GetItemCost(int localId, out List<KeyValuePair<string, int>> info, out bool canAfford)

Used to retrieve price for item in trade inventory, for example the merchant Ui or buy/sell Ui. This also include the gold price, tagged as Gold. PLEASE NOTE! the price is built over the tooltip, and the Tooltip is not built till you over over an item at least once, so to make this function work, you need to use the function 'ViewItemsInInventory' that does exactly that, move the mouse over an item and allow the game to build the tooltip.

localIdint
Item LocalId
infoList<KeyValuePair<string, int>>
out, list of price of the item, the gold price is tagged "Gold".
canAffordbool
Receives can afford.

Returns: GetItemCostResult.None or the relative error.

GetItemDeferalCostEx

MethodLink ↗
public GetItemDeferalCostResult InventoryControlWrapper.GetItemDeferalCostEx(int localId, out int futureDiscount, out int deferalFee, out int totalDeferalCost)

Returns item deferal cost ex using the supplied arguments.

localIdint
The item's identifier within its owning inventory; do not substitute a grid position.
futureDiscountint
Receives future discount.
deferalFeeint
Receives deferal fee.
totalDeferalCostint
Receives total deferal cost.

Returns: The GetItemDeferalCostResult result.

GetItemGoldCost

MethodLink ↗
public GetItemCostResult InventoryControlWrapper.GetItemGoldCost(int localId, out int goldCost, out bool canAfford)

Used to retrieve gold price, and a boolean describing if a item can be bought. PLEASE NOTE! the price is built over the tooltip, and the Tooltip is not built till you over over an item at least once, so to make this function work, you need to use the function 'ViewItemsInInventory' that does exactly that, move the mouse over an item and allow the game to build the tooltip.

localIdint
Item LocalId
goldCostint
out, gold cost of the item.
canAffordbool
out, true if you have the golds to buy this item.

Returns: GetItemCostResult.None or the relative error.

GetItemGoldSellPrice

MethodLink ↗
public GetItemGoldSellPriceResult InventoryControlWrapper.GetItemGoldSellPrice(int localId, out int goldSellPrice)

Used to retrieve sell price for item in inventory. PLEASE NOTE! the price is built over the tooltip, and the Tooltip is not built till you over over an item at least once, so to make this function work, you need to use the function 'ViewItemsInInventory' that does exactly that, move the mouse over an item and allow the game to build the tooltip.

localIdint
Item LocalId
goldSellPriceint
out, sell price of the item.

Returns: GetItemGoldSellPriceResult.None or the relative error.

GetItemTributeCostEx

MethodLink ↗
public GetItemTributeCostResult InventoryControlWrapper.GetItemTributeCostEx(int localId, out int tributeCost, out bool canAfford)

Returns item tribute cost ex using the supplied arguments.

localIdint
The item's identifier within its owning inventory; do not substitute a grid position.
tributeCostint
Receives tribute cost.
canAffordbool
Receives can afford.

Returns: The GetItemTributeCostResult result.

GetLevelRequirement

MethodLink ↗
public int InventoryControlWrapper.GetLevelRequirement(int localId)

Returns level requirement using the supplied arguments.

localIdint
The item's identifier within its owning inventory; do not substitute a grid position.

Returns: The int result.

GetStrRequirement

MethodLink ↗
public int InventoryControlWrapper.GetStrRequirement(int localId)

Returns str requirement using the supplied arguments.

localIdint
The item's identifier within its owning inventory; do not substitute a grid position.

Returns: The int result.

IsItemDeferred

MethodLink ↗
public bool InventoryControlWrapper.IsItemDeferred(int localId)

Returns true if item is deferred in DreamPoeBot.Loki.Game.LokiPoe.InGameState.RitualFavorsUi InventoryControl

localIdint
local id of the item in ritual rewards window.

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

IsItemTransparent

MethodLink ↗
public bool InventoryControlWrapper.IsItemTransparent(int localId)

Checks whether item transparent using the supplied arguments.

localIdint
The item's identifier within its owning inventory; do not substitute a grid position.

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

MergeStack

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

Executes the merge stack operation with the supplied arguments.

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

Returns: The MergeStackResult result.

MergeStack

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

Executes the merge stack operation with the supplied arguments.

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

Returns: The MergeStackResult 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.