Class Trinket
- Namespace
- GuildWars2.Items
- Assembly
- GW2SDK.dll
Information about a trinket. This type is the base type for all trinkets. Cast objects of this type to a more specific type to access more properties.
[JsonConverter(typeof(TrinketJsonConverter))]
public record Trinket : Item, IEquatable<Item>, ICombatEquipment, IUpgradable, IEquatable<Trinket>
- Inheritance
-
Trinket
- Implements
- Derived
- Inherited Members
Properties
- AttributeAdjustment
The Attribute Adjustment factor. To calculate the final item stats of the item, multiply this value with an attribute's multiplier, then add the result to the attribute's base value.
- AttributeCombinationId
The ID of the item's attribute combination, used for items with fixed stats. This property is not used for items with selectable stats.
- Attributes
The effective stats of the item.
- Buff
The effect which is applied to the player when the item is equipped.
- InfusionSlotCount
The number of infusion slots available on the trinket.
- InfusionSlots
The infusion slots of the trinket (only available on ascended and legendary items).
- StatChoices
The IDs of the attribute combinations that can be chosen for the item. This property is only used for items with selectable stats.
- SuffixItemId
The ID of the upgrade component in the upgrade slot, if any.
- UpgradeSlotCount
The number of upgrade slots available on the trinket.
- UpgradeSlots
The upgrade slots of the trinket.