public TradeControlWrapper.TradeControlWrapper()
Creates a new TradeControlWrapper instance.
Provides trade control wrapper data and the operations listed below. Related types link to the values this API consumes or returns.
Namespace: DreamPoeBot.Loki.Game
public class TradeControlWrapperpublic TradeControlWrapper.TradeControlWrapper()
Creates a new TradeControlWrapper instance.
public TradeResult TradeControlWrapper.Accept(bool actuallyAccept = true)
Click the Accept button.
TradeResultNamed values for trade result. Select a value when an API accepts or returns TradeResult.
actuallyAcceptboolNo 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: TradeResult.None on success, or the relative error.
public TradeResult TradeControlWrapper.Cancel(bool actuallyCancel = true)
Click the Cancel button.
TradeResultNamed values for trade result. Select a value when an API accepts or returns TradeResult.
actuallyCancelboolNo 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: TradeResult.None on success, or the relative error.
public void TradeControlWrapper.UpdateElement(SellPannelElement element)
Updates element using the supplied arguments.
voidNo return value.elementSellPannelElementSpecifies element.
public string TradeControlWrapper.AcceptButtonText { get; }
This return the actual text of the Accept button. Please note: if one of the trading part remove or place a item, the button become disabled for 3 seconds You should always check the text on this button and click it only if the text is exactly "Accept".
stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public string TradeControlWrapper.ConfirmLabelText { get; }
This return the text of the label appearing under you offert window, this text usually let you know if you need to hover over a item.
stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public InventoryControlWrapper TradeControlWrapper.InventoryControl_OtherOffer { get; }
Return a InventoryControlWrapper class that let you interact with the upper part of the trade window, the part that display your trading partner offert.
InventoryControlWrapperWork with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.
public InventoryControlWrapper TradeControlWrapper.InventoryControl_YourOffer { get; }
Return a InventoryControlWrapper class that let you interact with the bottom part of the trade window, the part that display your offert.
InventoryControlWrapperWork with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.
public bool TradeControlWrapper.IsConfirmLabelVisible { get; }
Return true if the label appearing under you offert window, that let you know if you need to hover over a item, is visible.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public bool TradeControlWrapper.MeAcceptedTheOffert { get; }
Return true if you accepted the trade.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public bool TradeControlWrapper.OtherAcceptedTheOffert { get; }
Return true if the trade partner has accepted the trade (the green border is arount the partner window).
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public string TradeControlWrapper.OtherName { get; }
Return the Name of the trading parthner.
stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.DPB1 0.3.29.56 · 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.