DPB2Class · Utilities and settings

ItemStats

Provides item stats data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Models

public class ItemStatsView DPB1 version →

Members and overloads

3 results

ItemStats

MethodLink ↗
public ItemStats.ItemStats(Entity item)

Creates a new ItemStats instance using the supplied arguments.

itemEntity
Specifies item.

AddToMod

MethodLink ↗
public void ItemStats.AddToMod(ItemStatEnum stat, float value)

Adds to mod using the supplied arguments.

statItemStatEnum
Specifies stat.
valuefloat
Specifies value.

GetStat

MethodLink ↗
public float ItemStats.GetStat(ItemStatEnum stat)

Returns stat using the supplied arguments.

statItemStatEnum
Specifies stat.

Returns: The float result.

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.