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: DPB2 0.4.5.103Compare the DPB1 reference →
Check signatures and usage notes separately; a matching type is not a compatibility guarantee.
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.
public static DatQuestStateWrapper LokiPoe.InGameState.GetCurrentQuestState(string questId, bool cruel = false)
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.
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.
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.
An error has occurred. This application may no longer respond until reloaded.
Reload🗙