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 TradeControlWrapperView DPB1 version →public TradeControlWrapper.TradeControlWrapper()
Creates a new TradeControlWrapper instance.
public TradeResult TradeControlWrapper.Accept(bool actuallyAccept = true)
Click the Accept button.
actuallyAcceptboolReturns: TradeResult.None on success, or the relative error.
public TradeResult TradeControlWrapper.Cancel(bool actuallyCancel = true)
Click the Cancel button.
actuallyCancelboolReturns: TradeResult.None on success, or the relative error.
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".
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.
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.
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.
public bool TradeControlWrapper.IsAcceptButtonEnabled { get; }
Return true is the Accept button is Enabled.
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.
public bool TradeControlWrapper.MeAcceptedTheOffert { get; }
Return true if you accepted the trade.
public bool TradeControlWrapper.OtherAcceptedTheOffert { get; }
Return true if the trade partner has accepted the trade (the green border is arount the partner window).
public string TradeControlWrapper.OtherName { get; }
Return the Name of the trading parthner.
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.