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

1 results
Show all members

InventoryControl_Flasks

PropertyLink โ†—
public static InventoryControlWrapper LokiPoe.InGameState.InventoryUi.InventoryControl_Flasks { get; }

Return a InventoryControlWrapper describing your Flasks inventory.

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.