DPB1Class · Game state and actions

LokiPoe.InstanceInfo

InstanceInfo usually retrive informations relative to the current Instance or state of the game not UI related.

Namespace: DreamPoeBot.Loki.Game

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

59 declared here

GetPlayerInventoryById

MethodLink ↗
public static Inventory LokiPoe.InstanceInfo.GetPlayerInventoryById(int id)

This method retrieve a specific Inventory given a InventorySlot Id. Please take a look at the `GetPlayerInventoryItemsBySlot` documentation for more explaination about it's usage.

Return type: Inventory
Explore Inventory → members & methods

Provides inventory data and the operations listed below. Related types link to the values this API consumes or returns.

Parameters

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

A InventorySlot Id

Returns: A serves like Inventory.

GetPlayerInventoryBySlot

MethodLink ↗
public static Inventory LokiPoe.InstanceInfo.GetPlayerInventoryBySlot(InventorySlot inventoryType)

This method retrieve a specific Inventory given a InventorySlot. Please take a look at the `GetPlayerInventoryItemsBySlot` documentation for more explaination about it's usage.

Return type: Inventory
Explore Inventory → members & methods

Provides inventory data and the operations listed below. Related types link to the values this API consumes or returns.

Parameters

inventoryType
Parameter type: InventorySlot

A specific InventorySlot

Returns: A serves like Inventory.

GetPlayerInventoryItemsBySlot

MethodLink ↗
public static List<Item> LokiPoe.InstanceInfo.GetPlayerInventoryItemsBySlot(InventorySlot inventorySlot)

This method retrieve all the items contained in a specific InventorySlot container. This method is mostly used internally to expose more convenient wrappers methods to access the various inventory, Ex `LokiPoe.Me.EquippedItems`. Please note: This method let you access the data sent to you by the server and need some explaination of how the PlayerInventory work. The PlayerInventory, as the game intend it, is not only the Main inventory, but is litterally ALL inventory in the game. For exemple, the Map Device inventory, Each player equipped items, the stash, the Anointging inventory, litterally All. You need to understand that the server do not send you all the inventory at once, but some of them are transmited by the server only when you first open that inventory. A perfect exemple to understand this is the Currency stash tab, if you log in, and try to go to an Npc and buy for exemple some Fusing, the npc will not sell you them even if you have 5000 Jewellers, untill you open the stash and browse the currency tab. At that point the server send you the content of that inventory, and you can buy the fusing.

Return type: List<Item>
Explore Item → members & methods

Read an item's identity, rarity, stack and other properties. Use its owning inventory or interface API for item actions.

Parameters

inventorySlot
Parameter type: InventorySlot

A specific InventorySlot

Returns: List of Item contained in the InventorySlot

HasAtlasPassive

MethodLink ↗
public static bool LokiPoe.InstanceInfo.HasAtlasPassive(string value)

Let you check if you have allocated a specific Atlas Passive skill, using ite Name OR its id(sent as a string.)

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

Parameters

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

A string representing the Name OR the Id of a Atlas Passive point.

Returns: True if the Atlas Passive is allocated.

HasPassive

MethodLink ↗
public static bool LokiPoe.InstanceInfo.HasPassive(string value)

Let you check if you have allocated a specific Passive skill, using ite Name OR its id(sent as a string.)

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

Parameters

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

A string representing the Name OR the Id of a Passive point.

Returns: True if the Passive is allocated.

AllUnlockedPantheonGodsInfo

PropertyLink ↗
public static List<PantheonGodsWrapper> LokiPoe.InstanceInfo.AllUnlockedPantheonGodsInfo { get; }

Return a list of PantheonGodsWrapper describing all unlocked Gods and the souls needed to unlock extra power, theyr unlock state, and their location.

Value type: List<PantheonGodsWrapper>
Explore PantheonGodsWrapper → members & methods

Provides pantheon gods wrapper data and the operations listed below. Related types link to the values this API consumes or returns.

AreaLoadedFilesDictionary

PropertyLink ↗
public static Dictionary<string, long> LokiPoe.InstanceInfo.AreaLoadedFilesDictionary { get; }

Return a Dictionary of strings and long, representing the current area preloaded assets (files). The format is Name of the File, Address of the file. This usually contains a set of file that are used in this zone, for example all the zone specific Mensters, and even the special one, like for example Beasts. You can use this to know what this zone contain, as soon as you enter it.

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

AscendencySkillPointsAvailable

PropertyLink ↗
public static int LokiPoe.InstanceInfo.AscendencySkillPointsAvailable { get; }

Return the total number of unspent Ascend points.

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

AtlasExtraPassivePoints

PropertyLink ↗
public static int LokiPoe.InstanceInfo.AtlasExtraPassivePoints { get; }

Return the number of extra atlas passive, usually coming from mod bonus, like the Atrlas node Unwavering Vision.

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

AtlasPassivePointsAvailable

PropertyLink ↗
public static int LokiPoe.InstanceInfo.AtlasPassivePointsAvailable { get; }

Return the number of available atlas passive (not assigned).

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

AtlasPassiveRefundPointsLeft

PropertyLink ↗
public static int LokiPoe.InstanceInfo.AtlasPassiveRefundPointsLeft { get; }

Return the number of refound atlas passive left.

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

AtlasPassiveSkillIds

PropertyLink ↗
public static List<ushort> LokiPoe.InstanceInfo.AtlasPassiveSkillIds { get; }

Return a List of ushort that represent all the allocated Atlas Passive skills Ids.

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

AvailableAflictionPoints

PropertyLink ↗
public static int LokiPoe.InstanceInfo.AvailableAflictionPoints { get; }

Return the total number of Afliction points you have available

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

CharacterLevel

PropertyLink ↗
public static int LokiPoe.InstanceInfo.CharacterLevel { get; }

Return the level of the ingame character.

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

DialogDepth

PropertyLink ↗
public static int LokiPoe.InstanceInfo.DialogDepth { get; }

Retrieve informations about the current displayed NPC dialog. Its usually 0 if we are not interacting with a NPC, 1 if the NPC menu is displayed, and 2 if the NPC is telling a story and the `Continue` button is displayed.

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

ExtraPassiveSkillPoints

PropertyLink ↗
public static int LokiPoe.InstanceInfo.ExtraPassiveSkillPoints { get; }

The Extra Passive skill points are the points you recieve from completing side quests

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

GuildStashTabs

PropertyLink ↗
public static List<StashTabInfo> LokiPoe.InstanceInfo.GuildStashTabs { get; }

This is an Experimental Member, it retrieve informations about all Player Guild Inventory as the server send to us. Server side, Guild stash tabs are player inventory containing items. Many Player inventorys are transmited only when you open them, and are not constantly updated if you are not looking at them. To avoid problems pls use the specific Stash tabs functions in InGameState, or GetPlayerInventory... in InstanceInfo for the player equipped items.

Value type: List<StashTabInfo>
Explore StashTabInfo → members & methods

Provides stash tab info data and the operations listed below. Related types link to the values this API consumes or returns.

IsGamePaused

PropertyLink ↗
public static bool LokiPoe.InstanceInfo.IsGamePaused { get; }

Return true if the game is paused.

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

IsGamePausedFlag1

PropertyLink ↗Deprecated
public static byte LokiPoe.InstanceInfo.IsGamePausedFlag1 { get; }

Not used anymore, pls use `LokiPoe.InstanceInfo.IsGamePaused`.

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

IsGamePausedFlag2

PropertyLink ↗Deprecated
public static byte LokiPoe.InstanceInfo.IsGamePausedFlag2 { get; }

Not used anymore, pls use `LokiPoe.InstanceInfo.IsGamePaused`.

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

IsGameWaiting

PropertyLink ↗
public static bool LokiPoe.InstanceInfo.IsGameWaiting { get; }

Return true if the game is Waiting state, usually during boss animation.

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

IsMapCompleted

PropertyLink ↗
public static bool LokiPoe.InstanceInfo.IsMapCompleted { get; }

Return true if the current map is completed.

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

IsMenagerieWaypointUnlocked

PropertyLink ↗
public static bool LokiPoe.InstanceInfo.IsMenagerieWaypointUnlocked { get; }

Return true if the Menagerie Waypoint is aviable in the World panel. you don''t need to open the world panel to retrieve this info.

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

IsMineWaypointUnlocked

PropertyLink ↗
public static bool LokiPoe.InstanceInfo.IsMineWaypointUnlocked { get; }

Return true if the Mine Waypoint is aviable in the World panel. you don''t need to open the world panel to retrieve this info.

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

JewelsPassiveSkillIds

PropertyLink ↗
public static List<ushort> LokiPoe.InstanceInfo.JewelsPassiveSkillIds { get; }

Return a List of ushort that represent all the allocated Passive skills Ids after Cluster Jewels.

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

JewelsPassiveSkills

PropertyLink ↗
public static List<DatPassiveSkillWrapper> LokiPoe.InstanceInfo.JewelsPassiveSkills { get; }

Return a List of DatPassiveSkillWrapper, describing all the allocated Passive Skills after Cluster Jewels.

Value type: List<DatPassiveSkillWrapper>
Explore DatPassiveSkillWrapper → members & methods

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

LastActionId

PropertyLink ↗
public static ushort LokiPoe.InstanceInfo.LastActionId { get; }

Return the Id of the last action you performed, Action id can be seen in ObjectExplored looking at your skills.

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

Guides using this class

See how these APIs fit together. Labs include complete source; the FollowBot walkthrough teaches you to build your own bot from selected fragments and checkpoints.

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.