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.NpcDialogUi
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

15 declared here

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.

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.

CanConverse

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

Return true if a specific option is available.

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

Parameters

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

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.

Return type: LokiPoe.InGameState.ConverseResult
Explore LokiPoe.InGameState.ConverseResult → members & methods

Named values for converse result. Select a value when an API accepts or returns ConverseResult.

Parameters

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

The text to select.

actuallyConverse
Parameter type: boolNo 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: 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.

Return type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

Parameters

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

The text to use to find a specific Elemant

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

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).

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

Parameters

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

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.

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

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);)

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

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.

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

DialogEntries

PropertyLink ↗
public static List<LokiPoe.InGameState.NpcDialogUi.NpcDialogEntryWrapper> LokiPoe.InGameState.NpcDialogUi.DialogEntries { get; }

Return a list of available options as NpcDialogEntryWrapper.

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

GetAcceptQuest

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

Return a Element describing the Accept Quest option.

Value type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

GetContinue

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

Return a Element describing the Continue option.

Value type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

IsOpened

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

Return true if this panel is open.

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

Title

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

Return the title of the panel displayed.

Value type: stringNo 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.