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)See Also
Section titled “See Also”- struct EntityId
- interface IEntityDetail
- namespace Stellar.Abstractions.Services