public ItemStats.ItemStats(Entity item)
Creates a new ItemStats instance using the supplied arguments.
Parameters
item- Parameter type:
EntitySpecifies 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 ItemStatspublic ItemStats.ItemStats(Entity item)
Creates a new ItemStats instance using the supplied arguments.
itemEntitySpecifies item.
public void ItemStats.AddToMod(ItemStatEnum stat, float value)
Adds to mod using the supplied arguments.
voidNo return value.statItemStatEnumSpecifies stat.
valuefloatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies value.
public float ItemStats.GetStat(ItemStatEnum stat)
Calls GetStat on ItemStats with stat and returns float. Open the return contract below before using the result.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.statItemStatEnumSpecifies stat.
Returns: The float result.
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.