DPB1Class · 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 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 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

172 results

ItemLevel

PropertyLink ↗
public int Item.ItemLevel { get; }

Return the Item Level.

ItemType

PropertyLink ↗
public InventoryType Item.ItemType { get; }

Gets item type for Item.

LinkedSocketColors

PropertyLink ↗
public List<SocketColor[]> Item.LinkedSocketColors { get; }

Gets the linked socket colors collection. Its element types are linked below.

LocalId

PropertyLink ↗
public int Item.LocalId { get; }

Gets local id for Item.

LocalStats

PropertyLink ↗
public Dictionary<StatTypeGGG, int> Item.LocalStats { get; }

Gets the local stats collection. Its element types are linked below.

LocationBottomRight

PropertyLink ↗
public Vector2i Item.LocationBottomRight { get; internal set; }

Gets location bottom right for Item.

LocationTopLeft

PropertyLink ↗
public Vector2i Item.LocationTopLeft { get; internal set; }

Gets location top left for Item.

ManaRecover

PropertyLink ↗
public int Item.ManaRecover { get; }

Gets mana recover for Item.

ManaRecoveredPerSecond

PropertyLink ↗
public float Item.ManaRecoveredPerSecond { get; }

Gets mana recovered per second for Item.

MapItemQuantity

PropertyLink ↗
public int Item.MapItemQuantity { get; }

Gets map item quantity for Item.

MapItemRarity

PropertyLink ↗
public int Item.MapItemRarity { get; }

Gets map item rarity for Item.

MapLevel

PropertyLink ↗
public int Item.MapLevel { get; }

Gets map level for Item.

MapMonsterPackSize

PropertyLink ↗
public int Item.MapMonsterPackSize { get; }

Gets map monster pack size for Item.

MapRawItemQuantity

PropertyLink ↗
public int Item.MapRawItemQuantity { get; }

Gets map raw item quantity for Item.

MapRawItemRarity

PropertyLink ↗
public int Item.MapRawItemRarity { get; }

Gets map raw item rarity for Item.

MapRegion

PropertyLink ↗
public string Item.MapRegion { get; }

Gets map region for Item.

MapTier

PropertyLink ↗
public int Item.MapTier { get; }

Gets map tier for Item.

MaxChaosDamage

PropertyLink ↗
public int Item.MaxChaosDamage { get; }

Gets max chaos damage for Item.

MaxCharges

PropertyLink ↗
public int Item.MaxCharges { get; }

Gets max charges for Item.

MaxChargesModifier

PropertyLink ↗
public double Item.MaxChargesModifier { get; }

Gets max charges modifier for Item.

MaxColdDamage

PropertyLink ↗
public int Item.MaxColdDamage { get; }

Gets max cold damage for Item.

MaxCurrencyTabStackCount

PropertyLink ↗
public int Item.MaxCurrencyTabStackCount { get; }

Gets max currency tab stack count for Item.

MaxDamage

PropertyLink ↗
public int Item.MaxDamage { get; }

Gets max damage for Item.

MaxDps

PropertyLink ↗
public int Item.MaxDps { get; }

Gets max dps for Item.

MaxElementalDamage

PropertyLink ↗
public int Item.MaxElementalDamage { get; }

Gets max elemental damage for Item.

MaxFireDamage

PropertyLink ↗
public int Item.MaxFireDamage { get; }

Gets max fire damage for Item.

MaxLightningDamage

PropertyLink ↗
public int Item.MaxLightningDamage { get; }

Gets max lightning damage for Item.

MaxLinkCount

PropertyLink ↗
public int Item.MaxLinkCount { get; }

Gets max link count for Item.

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.