Skip to content
Version 2.11.0
↓ Get the launcher

IEntityDetail.GetAttribute method

The entity’s value for a SINGLE broadcast numeric attribute, or 0 when the entity or the attribute has not been observed. The cheap single-key read of GetAttributes — no dictionary copy — for surfacing one attribute per entity on a hot path (e.g. a meter row’s Illusion-Breaking Strength, attr 11440), the same way GetFightPoint surfaces the ability score.

public long GetAttribute(EntityId entity, int attrId)