DPB2Class · Interface and panels

LokiPoe.InGameState.CurrencyExchangeUi

This Class let you interact with and retrieve info about The Currency Exchange Panel.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe.InGameState.CurrencyExchangeUi
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

19 declared here

ClearQuantityIHave

MethodLink ↗
public static LokiPoe.InGameState.CurrencyExchangeUi.SetQuantityError LokiPoe.InGameState.CurrencyExchangeUi.ClearQuantityIHave()

Clear the Quantity IHave field and press enter.

Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: The SetQuantityError result.

ClearQuantityIWant

MethodLink ↗
public static LokiPoe.InGameState.CurrencyExchangeUi.SetQuantityError LokiPoe.InGameState.CurrencyExchangeUi.ClearQuantityIWant()

Clear the Quantity IWant field and press enter.

Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: The SetQuantityError result.

LockAndPlaceOrder

MethodLink ↗
public static bool LokiPoe.InGameState.CurrencyExchangeUi.LockAndPlaceOrder()

Ensure the 2 numbers ate locked as requested by the interface, and then click the Place Order button.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: A Boolean result. The member description explains the condition being checked.

LockOrder

MethodLink ↗
public static bool LokiPoe.InGameState.CurrencyExchangeUi.LockOrder()

Ensure the 2 numbers are locked as requested by the interface.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: A Boolean result. The member description explains the condition being checked.

ResetQuantity

MethodLink ↗
public static LokiPoe.InGameState.CurrencyExchangeUi.SetQuantityError LokiPoe.InGameState.CurrencyExchangeUi.ResetQuantity(bool isIWant)

Resets quantity using the supplied arguments.

Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

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

Specifies is i want.

Returns: The SetQuantityError result.

SelectCurrencyIHave

MethodLink ↗
public static LokiPoe.InGameState.CurrencyExchangeUi.SelectCurrencyError LokiPoe.InGameState.CurrencyExchangeUi.SelectCurrencyIHave(string name)

Select the IHave currency.

Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

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

The complete name of the currency you want to select.

Returns: SelectCurrencyError.None if everithing went well, or the relative error.

Public DPB2 0.4.5.91 fixes the .90 category-selection regression. The method checks the search text and waits for the row to settle before a randomized click, but None after a click is not confirmation of the final selected currency. Reread SelectedCurrencyIHave or SelectedCurrencyIWant before continuing. A rejected or unconfirmed operation must not trigger an automatic second click. Selecting a currency does not place an order.

SelectCurrencyIWant

MethodLink ↗
public static LokiPoe.InGameState.CurrencyExchangeUi.SelectCurrencyError LokiPoe.InGameState.CurrencyExchangeUi.SelectCurrencyIWant(string name)

Select the IWant currency.

Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

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

The complete name of the currency you want to select.

Returns: SelectCurrencyError.None if everithing went well, or the relative error.

Public DPB2 0.4.5.91 fixes the .90 category-selection regression. The method checks the search text and waits for the row to settle before a randomized click, but None after a click is not confirmation of the final selected currency. Reread SelectedCurrencyIHave or SelectedCurrencyIWant before continuing. A rejected or unconfirmed operation must not trigger an automatic second click. Selecting a currency does not place an order.

SetQuantityIHave

MethodLink ↗
public static LokiPoe.InGameState.CurrencyExchangeUi.SetQuantityError LokiPoe.InGameState.CurrencyExchangeUi.SetQuantityIHave(int quantity)

Set the quantity of IHave currency to exchange.

Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

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

The quantity to set.

Returns: SetQuantityError.None if everithing went well, or the relative error.

SetQuantityIWant

MethodLink ↗
public static LokiPoe.InGameState.CurrencyExchangeUi.SetQuantityError LokiPoe.InGameState.CurrencyExchangeUi.SetQuantityIWant(int quantity)

Set the quantity of IWant currency to exchange.

Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

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

The quantity to set.

Returns: SetQuantityError.None if everithing went well, or the relative error.

SwapCurrencies

MethodLink ↗
public static void LokiPoe.InGameState.CurrencyExchangeUi.SwapCurrencies()

Ctrl click on the current selected IWant to swap the currency, useful to check the ratio for opposite match.

Return type: voidNo return value.

CurrencyEntryList

PropertyLink ↗
public static List<LokiPoe.InGameState.CurrencyExchangeUi.CurrencyEntry> LokiPoe.InGameState.CurrencyExchangeUi.CurrencyEntryList { get; }

Gets the currency entry list collection. Its element types are linked below.

Value type: List<No current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsCurrencySelectionPanelOpen

PropertyLink ↗
public static bool LokiPoe.InGameState.CurrencyExchangeUi.IsCurrencySelectionPanelOpen { get; }

Return true if the Currency selection panel is open.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsOpened

PropertyLink ↗
public static bool LokiPoe.InGameState.CurrencyExchangeUi.IsOpened { get; }

Return true if the Currency Exchange pannel is open.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

MarketRatios

PropertyLink ↗
public static List<LokiPoe.InGameState.CurrencyExchangeUi.MarketRatio> LokiPoe.InGameState.CurrencyExchangeUi.MarketRatios { get; }

Return the actual list of market ratios, or empty if no ration are available.

Value type: List<No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Orders

PropertyLink ↗
public static List<LokiPoe.InGameState.CurrencyExchangeUi.Order> LokiPoe.InGameState.CurrencyExchangeUi.Orders { get; }

Retrieve the list of placed orders, Pls Note that the Order class contain members and methods to operate over orders.

Value type: List<No current DPB page is linked for this built-in, external, generic or compatibility-only type.

SelectedCurrencyIHave

PropertyLink ↗
public static string LokiPoe.InGameState.CurrencyExchangeUi.SelectedCurrencyIHave { get; }

Return a string containing the name of the actually selected currency IHave.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

SelectedCurrencyIWant

PropertyLink ↗
public static string LokiPoe.InGameState.CurrencyExchangeUi.SelectedCurrencyIWant { get; }

Return a string containing the name of the actually selected currency IWant.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

SelectedQuantityIHave

PropertyLink ↗
public static int LokiPoe.InGameState.CurrencyExchangeUi.SelectedQuantityIHave { get; }

Return the actual quantity IHave.

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

SelectedQuantityIWant

PropertyLink ↗
public static int LokiPoe.InGameState.CurrencyExchangeUi.SelectedQuantityIWant { get; }

Return the actual quantity IWant.

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

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.