DPB1Class · 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.InventoryUiView DPB2 version →

Examples

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.InGameState.InventoryUi.IsOpened)
    return;

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

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

Read items from the grid that owns them; refresh the grid after moving an item.

Members and overloads

23 results

HandlePendingLevelUps

MethodLink ↗
public static LokiPoe.InGameState.HandlePendingLevelUpResult LokiPoe.InGameState.InventoryUi.HandlePendingLevelUps(Func<Inventory, Item, Item, bool> shouldLevel, bool actuallyLevel = true)

Executes the handle pending level ups operation with the supplied arguments.

shouldLevelFunc<Inventory, Item, Item, bool>
Specifies should level.
actuallyLevelbool
Action-control flag. Support varies by overload; do not assume that false makes the operation side-effect-free.

Returns: The HandlePendingLevelUpResult result.

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)

AreIconsDisplayed

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

This info is relative to the Gems level up shoved at the bottom of the inventory panel Return true if at least 1 gem is displayed

InventoryControl_Belt

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

Return a InventoryControlWrapper describing your Belt inventory.

InventoryControl_Boots

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

Return a InventoryControlWrapper describing your Boots inventory.

InventoryControl_Chest

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

Return a InventoryControlWrapper describing your Chest inventory.

InventoryControl_Flasks

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

Return a InventoryControlWrapper describing your Flasks inventory.

InventoryControl_Gloves

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

Return a InventoryControlWrapper describing your Gloves inventory.

InventoryControl_Graft

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

Return a InventoryControlWrapper describing your trinket inventory.

InventoryControl_Head

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

Return a InventoryControlWrapper describing your Head inventory.

InventoryControl_LeftRing

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

Return a InventoryControlWrapper describing your LeftRing inventory.

InventoryControl_Main

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

Return a InventoryControlWrapper describing your main inventory.

InventoryControl_Neck

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

Return a InventoryControlWrapper describing your Neck inventory.

InventoryControl_PrimaryMainHand

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

Return a InventoryControlWrapper describing your PrimaryMainHand inventory.

InventoryControl_PrimaryOffHand

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

Return a InventoryControlWrapper describing your PrimaryOffHand inventory.

InventoryControl_RightRing

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

Return a InventoryControlWrapper describing your RightRing inventory.

InventoryControl_SecondaryMainHand

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

Return a InventoryControlWrapper describing your SecondaryMainHand inventory.

InventoryControl_SecondaryOffHand

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

Return a InventoryControlWrapper describing your SecondaryOffHand inventory.

InventoryControl_TherdRing

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

Return a InventoryControlWrapper describing your TherdRing inventory.

InventoryControl_Trinket

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

Return a InventoryControlWrapper describing your trinket inventory.

IsOpened

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

Return true if the inventory panel is open.

ListOfPendingSkillElements

PropertyLink ↗
public static List<Element> LokiPoe.InGameState.InventoryUi.ListOfPendingSkillElements { get; }

Gets the list of pending skill elements collection. Its element types are linked below.

ListOfPendingSkillGems

PropertyLink ↗
public static List<LokiPoe.InGameState.SkillGemHud.LevelingGem> LokiPoe.InGameState.InventoryUi.ListOfPendingSkillGems { get; }

Return the list of LevelingGem ready to be leveled.

Related types

DPB1 0.3.29.47 · 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.