Class ItemAttribute
Represents an attribute instance for an item, such as strength, durability, or custom stat. Holds a reference to the attribute template and its current value.
public class ItemAttribute
- Inheritance
-
ItemAttribute
- Inherited Members
Constructors
ItemAttribute(int, int)
Constructs an ItemAttribute from a template ID and value. Looks up the template using the provided ID.
public ItemAttribute(int templateID, int value)
Parameters
Fields
Value
The current value of this attribute instance.
public int Value
Field Value
Properties
Template
The template that defines the type and metadata of this attribute.
public ItemAttributeTemplate Template { get; }