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

1 results
Show all members

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.

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.