DPB2Class · Interface and panels

LokiPoe.InGameState.NpcDialogUi

This class let youinteract and retrieve info about the dialog panel, to talk with npc. This class is compatible with POE2.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe.InGameState.NpcDialogUiView DPB1 version →

Members and overloads

15 results

AcceptQuest

MethodLink ↗
public static bool LokiPoe.InGameState.NpcDialogUi.AcceptQuest()

Click the Accept Quest button. To know if the button is visible, just check AcceptQuestWrapper and make sure is not null.

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

BuyorSellItems

MethodLink ↗
public static LokiPoe.InGameState.ConverseResult LokiPoe.InGameState.NpcDialogUi.BuyorSellItems()

Click the Purchase Items option.

Returns: ConverseResult.None on success, or the relative error.

CanConverse

MethodLink ↗
public static bool LokiPoe.InGameState.NpcDialogUi.CanConverse(string text)

Return true if a specific option is available.

textstring
the text to check for.

Returns: True if the option is available.

Converse

MethodLink ↗
public static LokiPoe.InGameState.ConverseResult LokiPoe.InGameState.NpcDialogUi.Converse(string text, bool actuallyConverse = true)

Let you select a specific converse option.

textstring
The text to select.
actuallyConversebool
Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: ConverseResult.None on success, or the relative error.

FindPannel

MethodLink ↗
public static Element LokiPoe.InGameState.NpcDialogUi.FindPannel(string text)

Find a specific Element in the panel, this is mostly used internally.

textstring
The text to use to find a specific Elemant

Returns: A Element class if found, or null if nothing is found.

Goodbye

MethodLink ↗
public static LokiPoe.InGameState.ConverseResult LokiPoe.InGameState.NpcDialogUi.Goodbye()

Click the Goodbye option.

Returns: ConverseResult.None on success, or the relative error.

HasConversed

MethodLink ↗
public static bool LokiPoe.InGameState.NpcDialogUi.HasConversed(string text)

Return true if a specific option is already been used (the text is grayed).

textstring
The text to check.

Returns: True if the option is grayed.

AcceptQuestWrapper

PropertyLink ↗
public static LokiPoe.InGameState.NpcDialogUi.NpcDialogEntryWrapper LokiPoe.InGameState.NpcDialogUi.AcceptQuestWrapper { get; }

Return a NpcDialogEntryWrapper that describe the Accept Quest option in the panel where the npc tell you a story.

ContinueWrapper

PropertyLink ↗
public static LokiPoe.InGameState.NpcDialogUi.NpcDialogEntryWrapper LokiPoe.InGameState.NpcDialogUi.ContinueWrapper { get; }

Return a NpcDialogEntryWrapper that describe the Continue option in the panel where the npc tell you a story. Please note: This is a overcomplecation of the npc conversation, to close the story telling, you usually check the DialogDepth And if the result is not 1 (the static talk menu) you just press the Esc button (LokiPoe.Input.SimulateKeyEvent(Keys.Escape, true, false, false);)

DialogDepth

PropertyLink ↗
public static uint LokiPoe.InGameState.NpcDialogUi.DialogDepth { get; }

Return a number that indicate the state of the panel. 0 if the panel is closed. 1 if the menu is displayed. 2 if the npc is telling you a story, and the continue button is displayed.

GetAcceptQuest

PropertyLink ↗
public static Element LokiPoe.InGameState.NpcDialogUi.GetAcceptQuest { get; }

Return a Element describing the Accept Quest option.

GetContinue

PropertyLink ↗
public static Element LokiPoe.InGameState.NpcDialogUi.GetContinue { get; }

Return a Element describing the Continue option.

IsOpened

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

Return true if this panel is open.

Title

PropertyLink ↗
public static string LokiPoe.InGameState.NpcDialogUi.Title { get; }

Return the title of the panel displayed.

Related types

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.