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.
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.
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.
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.
public static Dictionary<string, DatWorldAreaWrapper> LokiPoe.InstanceInfo.AvailableWaypoints { get; }
Retrieve a dictionary of System.String to DreamPoeBot.Loki.Game.GameData.DatWorldAreaWrapper containing all the currently unlocked Waipoints. The Key is the area Id and the value is a DatWorldAreaWrapper describing the area.
Value type:Dictionary<string, DatWorldAreaWrapper>
public static uint 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:uintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
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.
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.
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.