DPB2Class · Interface and panels

LokiPoe.InGameState.InventoryUi

This class let you intercat and retrieve informations about your inventory and all equipped items.

Namespace: DreamPoeBot.Loki.Game

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

Use this API

Class usage example: Read the open backpack →

Members and overloads

22 declared here

ClickTatuedRuneInventoryButton

MethodLink ↗
public static void LokiPoe.InGameState.InventoryUi.ClickTatuedRuneInventoryButton()

Click to open or close the Tatued Rune Inventory.

Return type: voidNo return value.

AllInventoryControls

PropertyLink ↗
public static IEnumerable<InventoryControlWrapper> LokiPoe.InGameState.InventoryUi.AllInventoryControls { get; }

Return a IEnumerable of InventoryControlWrapper listing ALL your inventory (the main inventory and all equipped slots)

Value type: IEnumerable<InventoryControlWrapper>
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_Belt

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_Belt { get; }

Return a InventoryControlWrapper describing your Belt inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_Boots

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_Boots { get; }

Return a InventoryControlWrapper describing your Boots inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_Charm1

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_Charm1 { get; }

Return a InventoryControlWrapper describing your charm1 inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_Charm2

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_Charm2 { get; }

Return a InventoryControlWrapper describing your charm2 inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_Charm3

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_Charm3 { get; }

Return a InventoryControlWrapper describing your charm3 inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_Chest

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_Chest { get; }

Return a InventoryControlWrapper describing your Chest inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_FlasksLife

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_FlasksLife { get; }

Return a InventoryControlWrapper describing your Life Flasks inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_FlasksMana

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_FlasksMana { get; }

Return a InventoryControlWrapper describing your Mana Flasks inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_Gloves

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_Gloves { get; }

Return a InventoryControlWrapper describing your Gloves inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_Head

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_Head { get; }

Return a InventoryControlWrapper describing your Head inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_LeftRing

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_LeftRing { get; }

Return a InventoryControlWrapper describing your LeftRing inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_Main

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_Main { get; }

Return a InventoryControlWrapper describing your main inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_Neck

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_Neck { get; }

Return a InventoryControlWrapper describing your Neck inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_PrimaryMainHand

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_PrimaryMainHand { get; }

Return a InventoryControlWrapper describing your PrimaryMainHand inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_PrimaryOffHand

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_PrimaryOffHand { get; }

Return a InventoryControlWrapper describing your PrimaryOffHand inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_RightRing

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_RightRing { get; }

Return a InventoryControlWrapper describing your RightRing inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_SecondaryMainHand

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_SecondaryMainHand { get; }

Return a InventoryControlWrapper describing your SecondaryMainHand inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

InventoryControl_SecondaryOffHand

PropertyLink ↗
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_SecondaryOffHand { get; }

Return a InventoryControlWrapper describing your SecondaryOffHand inventory.

Value type: InventoryControlWrapper
Explore InventoryControlWrapper → members & methods

Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.

IsOpened

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

Return true if the inventory panel is open.

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

IsTatuedRuneInventoryOpen

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

Return true if the Tatued Rune Inventory is open.

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

Class usage examples

These examples demonstrate the class, not every member listed above. Each example links the declarations it teaches.

Imports used by these examples
using System;
using System.Linq;
using DreamPoeBot.Loki.Game;
using DreamPoeBot.Loki.Game.Objects;
using DreamPoeBot.Loki.Bot;
using DreamPoeBot.Loki.Bot.Pathfinding;
using DreamPoeBot.Loki.Common;

Read the open backpack

if (!LokiPoe.IsInGame || !LokiPoe.InGameState.InventoryUi.IsOpened)
    return;

var inventory = LokiPoe.InGameState.InventoryUi.InventoryControl_Main?.Inventory;
if (inventory == null)
    return;

foreach (var item in inventory.Items)
{
    var itemName = item.Name;
    var localId = item.LocalId;
}

Run on the bot thread. Read items from the grid that owns them; reacquire the inventory after an action or a wait.

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.