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

Members and overloads

1 declared here
Show all members

GetItemDeferalCostEx

MethodLink ↗
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.

Return type: GetItemDeferalCostResult
Explore GetItemDeferalCostResult → members & methods

Named values for get item deferal cost result. Select a value when an API accepts or returns GetItemDeferalCostResult.

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.

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

Receives future discount.

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

Receives deferal fee.

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

Receives total deferal cost.

Returns: The GetItemDeferalCostResult result.

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

Guides using this class

These guides refer to InventoryControlWrapper as a whole and may use other members. They are not dedicated examples of the selected member.

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.