public InventorySlotUiElement InventoryControlWrapper.InventorySlotUiElement
Reads or assigns inventory slot ui element on InventoryControlWrapper as InventorySlotUiElement. Open the value type below for its members and accepted values.
public SingleSlotUiElement InventoryControlWrapper.SingleSlotUiElement
Reads or assigns single slot ui element on InventoryControlWrapper as SingleSlotUiElement. Open the value type below for its members and accepted values.
Named values for equip skill gem result. Select a value when an API accepts or returns EquipSkillGemResult.
Parameters
index
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies index.
actuallyEquip
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 EquipSkillGemResult result.
In the G-panel binding, public DPB2 0.4.5.91 recognizes valid gems missing from the static item catalogue. Socket indexes are zero-based; the game still decides compatibility. Use the panel's InventoryControl, reacquire after navigation and inspect the outcome before continuing.
public EquipSkillGemResult InventoryControlWrapper.EquipSkillGem(int localId, int index, bool actuallyEquip = true)
Place the physical cursor gem into a host item's zero-based inner socket. In the G binding localId is the host main gem's ID, not a main-slot number. Supports and other gems accepted by the host (such as meta-skill payloads) use this path. actuallyEquip=false validates without input for G; the game decides compatibility. None means dispatch/validation succeeded, not confirmed socketing.
Named values for equip skill gem result. Select a value when an API accepts or returns EquipSkillGemResult.
Parameters
localId
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
The item's identifier within its owning inventory; do not substitute a grid position.
index
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies index.
actuallyEquip
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 EquipSkillGemResult result.
In the G-panel binding, public DPB2 0.4.5.91 recognizes valid gems missing from the static item catalogue. Socket indexes are zero-based; the game still decides compatibility. Use the panel's InventoryControl, reacquire after navigation and inspect the outcome before continuing.
Named values for fast move result. Select a value when an API accepts or returns FastMoveResult.
Parameters
actuallyMove
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.
ignoreIncubators
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies ignore incubators. Optional; the default is shown in the signature.
IgnoreCursorState
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 FastMoveResult result.
Public DPB2 0.4.5.103 extends the SkillGemPanelUi.InventoryControl binding to removable main gems. Pickup requires G open and an empty cursor; FastMove requires I and G open. Placement uses a cut skill, Spirit or meta gem: col is the zero-based main slot and row is zero; the no-coordinate overload chooses the first empty main slot. Supports use EquipSkillGem/UnequipSkillGem instead; innate weapon skills are not removable gems. Validation-only flags send no input for this binding. None is not confirmation: reread the cursor and inventories before continuing, without automatic retry.
Named values for fast move result. Select a value when an API accepts or returns FastMoveResult.
Parameters
dontClearKeysState
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies dont clear keys state.
actuallyMove
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.
ignoreIncubators
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies ignore incubators. Optional; the default is shown in the signature.
IgnoreCursorState
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies ignore cursor state. Optional; the default is shown in the signature.
Returns: The FastMoveResult result.
Public DPB2 0.4.5.103 extends the SkillGemPanelUi.InventoryControl binding to removable main gems. Pickup requires G open and an empty cursor; FastMove requires I and G open. Placement uses a cut skill, Spirit or meta gem: col is the zero-based main slot and row is zero; the no-coordinate overload chooses the first empty main slot. Supports use EquipSkillGem/UnequipSkillGem instead; innate weapon skills are not removable gems. Validation-only flags send no input for this binding. None is not confirmation: reread the cursor and inventories before continuing, without automatic retry.
Named values for fast move result. Select a value when an API accepts or returns FastMoveResult.
Parameters
localId
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
The item's identifier within its owning inventory; do not substitute a grid position.
actuallyMove
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.
ignoreIncubators
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies ignore incubators. Optional; the default is shown in the signature.
Returns: The FastMoveResult result.
Public DPB2 0.4.5.103 extends the SkillGemPanelUi.InventoryControl binding to removable main gems. Pickup requires G open and an empty cursor; FastMove requires I and G open. Placement uses a cut skill, Spirit or meta gem: col is the zero-based main slot and row is zero; the no-coordinate overload chooses the first empty main slot. Supports use EquipSkillGem/UnequipSkillGem instead; innate weapon skills are not removable gems. Validation-only flags send no input for this binding. None is not confirmation: reread the cursor and inventories before continuing, without automatic retry.
Ctrl-click the item with this local inventory ID. For SkillGemPanelUi.InventoryControl, removes a main gem towards the main inventory; requires I and G open, hooks enabled and an empty cursor. Scrolls first and restores Ctrl even if dispatch fails. actuallyMove=false performs validation only for this panel binding. None does not guarantee transfer: the game may reject it (for example, a full inventory).
Named values for fast move result. Select a value when an API accepts or returns FastMoveResult.
Parameters
localId
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
The item's identifier within its owning inventory; do not substitute a grid position.
dontClearKeysState
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies dont clear keys state.
actuallyMove
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.
ignoreIncubators
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies ignore incubators. Optional; the default is shown in the signature.
Returns: The FastMoveResult result.
Public DPB2 0.4.5.103 extends the SkillGemPanelUi.InventoryControl binding to removable main gems. Pickup requires G open and an empty cursor; FastMove requires I and G open. Placement uses a cut skill, Spirit or meta gem: col is the zero-based main slot and row is zero; the no-coordinate overload chooses the first empty main slot. Supports use EquipSkillGem/UnequipSkillGem instead; innate weapon skills are not removable gems. Validation-only flags send no input for this binding. None is not confirmation: reread the cursor and inventories before continuing, without automatic retry.
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.
public GetItemDeferalCostResult InventoryControlWrapper.GetItemDeferalCostEx(int localId, out int futureDiscount, out int deferalFee, out int totalDeferalCost)
Calls GetItemDeferalCostEx on InventoryControlWrapper with localId, futureDiscount, deferalFee, totalDeferalCost and returns GetItemDeferalCostResult. Open the return contract below before using the result.
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.
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.
public GetItemTributeCostResult InventoryControlWrapper.GetItemTributeCostEx(int localId, out int tributeCost, out bool canAfford)
Calls GetItemTributeCostEx on InventoryControlWrapper with localId, tributeCost, canAfford and returns GetItemTributeCostResult. Open the return contract below before using the result.
public MergeStackResult InventoryControlWrapper.MergeStack(int localId, bool actuallyMerge = true)
Calls MergeStack on InventoryControlWrapper with localId, actuallyMerge and returns MergeStackResult. Open the return contract below before using the result.
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.
DPB2 0.4.5.103 · 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.
Произошла ошибка. Перезагрузите страницу, чтобы продолжить.
Перезагрузить🗙