DPB1Class · Interface and panels

LokiPoe.InGameState

This is one of the most important class of the Framework, its purpose, is to offer easy to use wrappers members and methods to retrieve informations and interact with the game intefraces.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe.InGameState
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

16 declared here

GetCurrentQuestState

MethodLink ↗
public static DatQuestStateWrapper LokiPoe.InGameState.GetCurrentQuestState(DatQuestWrapper quest)

Return a DatQuestStateWrapper class describing the state of the requested Quest. Pls Note: sometime, after you collect a quest Reward, the quest state do not update correctly untill you log out and in again, for this reason is highly advised to always record the actual quest state befor collecting a reward, and check again after you collected it. If the state has not changed, just log out to char selection screen andlog in again, and you will have the updated state.

Return type: DatQuestStateWrapper
Explore DatQuestStateWrapper → members & methods

Game-data record for quest state. Use its identifiers and properties to look up game definitions.

Parameters

quest
Parameter type: DatQuestWrapper

A DatQuestWrapper rapresenting the desired quest

Returns: A DatQuestStateWrapper class describing the state, or null.

GetCurrentQuestState

MethodLink ↗
public static DatQuestStateWrapper LokiPoe.InGameState.GetCurrentQuestState(string questId)

Return a DatQuestStateWrapper class describing the state of the requested Quest Id. Pls Note: sometime, after you collect a quest Reward, the quest state do not update correctly untill you log out and in again, for this reason is highly advised to always record the actual quest state befor collecting a reward, and check again after you collected it. If the state has not changed, just log out to char selection screen andlog in again, and you will have the updated state.

Return type: DatQuestStateWrapper
Explore DatQuestStateWrapper → members & methods

Game-data record for quest state. Use its identifiers and properties to look up game definitions.

Parameters

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

A string rapresenting the quest Id

Returns: A DatQuestStateWrapper class describing the state, or null.

GetCurrentQuestStateAccurate

MethodLink ↗
public static DatQuestStateWrapper LokiPoe.InGameState.GetCurrentQuestStateAccurate(string questId)

Return a DatQuestStateWrapper class describing the state of the requested Quest Id, this method also reload all the QuestState from the Data file. Pls Note: sometime, after you collect a quest Reward, the quest state do not update correctly untill you log out and in again, for this reason is highly advised to always record the actual quest state befor collecting a reward, and check again after you collected it. If the state has not changed, just log out to char selection screen andlog in again, and you will have the updated state.

Return type: DatQuestStateWrapper
Explore DatQuestStateWrapper → members & methods

Game-data record for quest state. Use its identifiers and properties to look up game definitions.

Parameters

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

A string rapresenting the quest Id

Returns: A DatQuestStateWrapper class describing the state, or null.

GetCurrentQuestStates

MethodLink ↗
public static Dictionary<string, KeyValuePair<DatQuestWrapper, DatQuestStateWrapper>> LokiPoe.InGameState.GetCurrentQuestStates()

Retrieve ALL the quests and theys state.

Return type: Dictionary<string, KeyValuePair<DatQuestWrapper, DatQuestStateWrapper>>
Explore DatQuestWrapper → members & methods

Game-data record for quest. Use its identifiers and properties to look up game definitions.

Explore DatQuestStateWrapper → members & methods

Game-data record for quest state. Use its identifiers and properties to look up game definitions.

Returns: The Dictionary<string, KeyValuePair<DatQuestWrapper, DatQuestStateWrapper>> result.

LeaveHideout

MethodLink ↗
public static bool LokiPoe.InGameState.LeaveHideout()

Click the Leave Hideout Button.

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

Returns: Return true if the button was pressed or false on all other errors.

SkipAllTutorials

MethodLink ↗
public static bool LokiPoe.InGameState.SkipAllTutorials(bool actuallyClick = true)

Click the Skip Al Tutorials Button.

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

Parameters

actuallyClick
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: Return true if the button was pressed or false on all other errors.

EnteringAreaText

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

Return 'areaName' if the text "Entering {areaName}" is displayed.

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

FrameUnderCursor

PropertyLink ↗
public static long LokiPoe.InGameState.FrameUnderCursor { get; }

Return the address of the Element currently under the cursor.

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

IsEnteringAreaTextShown

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

Return true if the text "Entering {areaName}" is displayed.

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

IsLeaveHideoutButtonShowing

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

Return true if the Leave Hideout button is displayed.

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

IsLeftPanelShown

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

Return true if the Left oannel is open.

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

IsRightPanelShown

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

Return true if the Right oannel is open.

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

IsSkipAllTutorialsButtonShowing

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

Return true if the Skip All Tutorials button is displayed.

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

IsTopMostOverlayActive

PropertyLink ↗Deprecated
public static bool LokiPoe.InGameState.IsTopMostOverlayActive { get; }

Obsolete.

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

WindowControl

PropertyLink ↗
public static LokiPoe.InGameState.DockedWindowControlWrapper LokiPoe.InGameState.WindowControl { get; }

Reads window control on LokiPoe.InGameState as static. The exact type and accessors are shown below.

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