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 Item
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Use this API

Class usage example: Read backpack item details →

Members and overloads

172 declared here

BaseWeaponType

PropertyLink ↗
public int Item.BaseWeaponType { get; }

Reads base weapon type on Item as int. The exact type and accessors are shown below.

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

CanUse

PropertyLink ↗
public bool Item.CanUse { get; }

Whether use is currently available.

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

ChargesPerUse

PropertyLink ↗
public int Item.ChargesPerUse { get; }

Reads charges per use on Item as int. The exact type and accessors are shown below.

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

ChargesPerUseBase

PropertyLink ↗
public int Item.ChargesPerUseBase { get; }

Reads charges per use base on Item as int. The exact type and accessors are shown below.

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

Class

PropertyLink ↗
public string Item.Class { get; }

Reads class on Item as string. The exact type and accessors are shown below.

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

Components

PropertyLink ↗
public EntityComponentInformation Item.Components { get; }

Reads components on Item as EntityComponentInformation. Open the value type below for its members and accepted values.

Value type: EntityComponentInformation
Explore EntityComponentInformation → members & methods

Provides entity component information data and the operations listed below. Related types link to the values this API consumes or returns.

CritialStrikeChance

PropertyLink ↗
public double Item.CritialStrikeChance { get; }

Reads critial strike chance on Item as double. The exact type and accessors are shown below.

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

CurrentCharges

PropertyLink ↗
public int Item.CurrentCharges { get; }

Reads current charges on Item as int. The exact type and accessors are shown below.

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

DisplayNote

PropertyLink ↗
public string Item.DisplayNote { get; }

Reads display note on Item as string. The exact type and accessors are shown below.

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

DroneCurrentCharges

PropertyLink ↗
public int Item.DroneCurrentCharges { get; }

Reads drone current charges on Item as int. The exact type and accessors are shown below.

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

DroneMaxCharges

PropertyLink ↗
public int Item.DroneMaxCharges { get; }

Reads drone max charges on Item as int. The exact type and accessors are shown below.

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

EnergyShieldValue

PropertyLink ↗
public int Item.EnergyShieldValue { get; }

Reads energy shield value on Item as int. The exact type and accessors are shown below.

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

EvasionValue

PropertyLink ↗
public int Item.EvasionValue { get; }

Reads evasion value on Item as int. The exact type and accessors are shown below.

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

ExplicitStats

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

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

Value type: Dictionary<StatTypeGGG, int>
Explore StatTypeGGG → members & methods

Stats Type as rapresented in the game ggpk file.

FitsEquipRequirements

PropertyLink ↗
public bool Item.FitsEquipRequirements { get; }

Reads fits equip requirements on Item as bool. The exact type and accessors are shown below.

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

Flags

PropertyLink ↗
public HashSet<MetadataFlags> Item.Flags { get; }

Reads flags on Item as HashSet<MetadataFlags>. Open the value type below for its members and accepted values.

Value type: HashSet<MetadataFlags>
Explore MetadataFlags → members & methods

Named values for metadata flags. Select a value when an API accepts or returns MetadataFlags.

FullName

PropertyLink ↗
public string Item.FullName { get; }

Reads full name on Item as string. The exact type and accessors are shown below.

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

GemImbuedSupportGem

PropertyLink ↗
public IndexadleSupportGemsDat.IndexadleSupportGemsRecord Item.GemImbuedSupportGem { get; }

Return a IndexadleSupportGemsRecord class describing the Imbued gem, or null.

Value type: IndexadleSupportGemsDat.IndexadleSupportGemsRecord
Explore IndexadleSupportGemsDat.IndexadleSupportGemsRecord → members & methods

Provides indexadle support gems record data and the operations listed below. Related types link to the values this API consumes or returns.

GemTypes

PropertyLink ↗
public List<string> Item.GemTypes { get; }

Gets the gem types collection. Its element types are linked below.

Value type: List<string>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasCurrentAction

PropertyLink ↗
public bool Item.HasCurrentAction { get; }

Whether current action is present.

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

HasFullStack

PropertyLink ↗
public bool Item.HasFullStack { get; }

Whether full stack is present.

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

HasIncubator

PropertyLink ↗
public bool Item.HasIncubator { get; }

Whether incubator is present.

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

HasInventoryLocation

PropertyLink ↗
public bool Item.HasInventoryLocation { get; internal set; }

Whether inventory location is present.

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

HasMicrotransitionAttachment

PropertyLink ↗
public bool Item.HasMicrotransitionAttachment { get; }

Whether microtransition attachment is present.

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

HasSkillGemsEquipped

PropertyLink ↗
public bool Item.HasSkillGemsEquipped { get; }

Whether skill gems equipped is present.

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

HealthRecover

PropertyLink ↗
public int Item.HealthRecover { get; }

Reads health recover on Item as int. The exact type and accessors are shown below.

Value type: intNo 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 backpack item details

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 name = item.FullName;
    var rarity = item.Rarity;
    var count = item.StackCount;
}

Read on the bot thread. This only reads item data; it does not pick up, move or consume items. A visible panel can still be loading its contents.

Guides using this class

See how these APIs fit together. Labs include complete source; the FollowBot walkthrough teaches you to build your own bot from selected fragments and checkpoints.

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