hero-lib icon indicating copy to clipboard operation
hero-lib copied to clipboard

[Auras] New tracking for players + all direct reachable unitid but nameplates

Open aethys256 opened this issue 8 years ago • 2 comments

Instead of tracking it on demand on each pulse, rather make an event listener to build the buffs table (on aura applied / removed). Player is the top priority but the handler should be flexible to take any UnitIDs/GUID (so, in the future it could be extended to UnitIDs even if the GUID changes, which is something that can happen with nameplates tracking especially).

aethys256 avatar Aug 01 '17 07:08 aethys256

@EvanMichaels did a first step towards this direction in https://github.com/herotc/hero-lib/commit/78228fcf6bdd5b4351527ec0491e61ae98968eb5 . Might re-use that for Auras since it's one of the other big resource consumer.

aethys256 avatar Jul 26 '18 18:07 aethys256

Still planned for Shadowlands development. Talked with WA folks to know if they were interested to make their internal tracker an external lib in order to improve overall addons performance since it means that each addon has to reimplement the same system (and thus duplicate both the processing power and memory storage requirements). They are not interested so I will either make it its own lib and use it inside HL or just add it into HL.

aethys256 avatar Oct 13 '20 05:10 aethys256