Skip to content
Version 2.32.0
↓ Get the launcher

ICombatBuffEffectLookup.TryGetBuffEffectIds method

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.

public bool TryGetBuffEffectIds(EntityId entityId, int buffUuid, out IReadOnlyList<int> effectIds)