public ItemStats.ItemStats(Entity item)
Creates a new ItemStats instance using the supplied arguments.
itemEntity- Specifies item.
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 →public ItemStats.ItemStats(Entity item)
Creates a new ItemStats instance using the supplied arguments.
itemEntitypublic void ItemStats.AddToMod(ItemStatEnum stat, float value)
Adds to mod using the supplied arguments.
statItemStatEnumvaluefloatpublic float ItemStats.GetStat(ItemStatEnum stat)
Returns stat using the supplied arguments.
statItemStatEnumReturns: 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.