DPB2Class ยท World, character and items

Item

Read an item's identity, rarity, stack and other properties. Use its owning inventory or interface API for item actions.

Namespace: DreamPoeBot.Loki.Game.Objects

public class ItemView DPB1 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 backpack item details

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

var inventory = LokiPoe.InGameState.InventoryUi.InventoryControl_Main.Inventory;
foreach (var item in inventory.Items)
{
    var name = item.FullName;
    var rarity = item.Rarity;
    var count = item.StackCount;
}

This only reads item data; it does not pick up, move or consume items.

Members and overloads

1 results
Show all members

MaxDps

PropertyLink โ†—
public int Item.MaxDps { get; }

Gets max dps for Item.

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.