ICombatBuffEffectLookup interface
Per-buff-instance “effect ids” decoded off the combat wire — the extra payload a buff instance carries that ActiveBuff does not: the BuffEffectLogicPlayEffect.effect_id of its PlayEffect logic entries, or the values of a BuffEventCustomize event (slot / lock codes). Raid mechanics encode per-player meaning there (e.g. a slash order, a colour pattern). A base of ICombatLookup, so it is reached as services.CombatLookup.TryGetBuffEffectIds(...); it is a separate interface only because ICombatLookup is at the 8-member cap. Needs framework ≥ 2.30.0.
public interface ICombatBuffEffectLookupMembers
Section titled “Members”| name | description |
|---|---|
| TryGetBuffEffectIds(…) | Latest effect ids of buff instance buffUuid (BuffUuid) on entityId. Update rules per BuffEffect (same as resonance-logs-cn): an AddBuff’s embedded BuffInfo PlayEffect ids, then the effect’s own PlayEffect ids when it carries an AddBuff/BuffChange entry, then a Customize event’s values — each non-empty one replaces the previous; a buff removal drops them. Keyed by the entity part of the uuid (Value >> 16), so the local player’s client-flagged uuid and the wire uuid both match. Cleared on scene change. Returns false (and an empty list) when nothing is known. Thread-safe and allocation-free; the returned list must not be mutated. |
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Services