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

Members and overloads

3 declared here

AddToMod

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

Adds to mod using the supplied arguments.

Return type: voidNo return value.

Parameters

stat
Parameter type: ItemStatEnum

Specifies stat.

value
Parameter type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies value.

GetStat

MethodLink ↗
public float ItemStats.GetStat(ItemStatEnum stat)

Calls GetStat on ItemStats with stat and returns float. Open the return contract below before using the result.

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

Parameters

stat
Parameter type: ItemStatEnum

Specifies stat.

Returns: The float result.

DPB2 0.4.5.103 · 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.