DPB2Class ยท 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.InstanceInfoView DPB1 version โ†’

Members and overloads

1 results
Show all members

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.

inventorySlotInventorySlot
A specific InventorySlot

Returns: List of Item contained in the InventorySlot

Related types

DPB2 0.4.5.88 ยท Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.