Skip to content
Version 2.11.0
↓ Get the launcher

ICombatLookup interface

Per-entity combat lookups. Covers any entity observed in AOI on the combat wire — not limited to party members or the local player. Mirrors the lookup half of the original mixed combat surface; the polled local snapshot lives on ICombatSnapshot and the event stream lives on ICombatEvents.

public interface ICombatLookup
name description
BuffsFor(…) Active buffs on the given entity, derived from observed BuffChanged events. Empty if entity is unknown.
GetEntityName(…) Resolved display name for an entity, or null if unknown.
GetFightPoint(…) Last-known ability/combat score for an entity from the AttrFightPoint (id=10030) attribute on the combat wire (the “Ability Score” ZDPS shows). Returns 0 when never observed / out-of-AOI. Present per-entity for player (EntChar) entities in SyncNearEntities, so it’s available for the local player and visible party members alike.
GetLiveDps(…) 5-second sliding-window damage-per-second for a damage source (SourceId). Returns 0 for entities that have never been observed as a damage source, or when the source’s last hit fell out of the 5-second window. Aggregated automatically as DamageDealt events flow through — no per-plugin tracking needed.
GetLiveHps(…) 5-second sliding-window healing-per-second for a heal source (SourceId with IsHeal=true). Returns 0 for entities that have never been observed as a heal source, or when the source’s last heal fell out of the 5-second window. Aggregated automatically as DamageDealt heal events flow through — no per-plugin tracking needed.
GetSkillLevels(…) Last-known equipped skill loadout for an entity, decoded from the combat wire’s AttrSkillLevelIdList attribute (EAttrType=116). Broadcast per-entity for every player in AOI. Returns an empty list when the entity has never reported its loadout. Each entry carries skill id, current level, and tier; callers identify Battle Imagines by checking the skill’s SlotPositionId against the skill table.
GetTeamId(…) Last-known team id for an entity from the AttrTeamId (id=194) attribute on the combat wire. Returns 0 when the entity is solo, has never been observed, or is out-of-AOI. Two entities with the same non-zero team id are teammates. The cleanest way to identify in-AOI party members — does not require decoding the GrpcTeamNtf service.
GetVitals(…) Last-known HP / MaxHP snapshot for an entity from the combat wire’s AttrCollection stream. Returns Unknown for entities not yet observed. Works for every entity in AOI — not just party members.