Files
pfUI/modules
Brues 63001b7b0c Move nameplates onto ClassicAPI stable nameplate tokens
ClassicAPI now assigns retail-exact, per-plate-stable "nameplateN" tokens and
fires vanilla UNIT_* events for them, so the nameplate module can key off the
token instead of Nampower/SuperWoW GUID primitives:

- Events: UNIT_AURA_GUID/UNIT_FLAGS_GUID -> UNIT_AURA/UNIT_FLAGS, matched by
  the "nameplateN" token (guarded on the token prefix, since these also fire
  for target/party/raid). Registered unconditionally -- no GetUnitField gate.
- Health: GetUnitField(guid, "health"/"maxHealth") -> UnitHealth/UnitHealthMax
  on the plate's cached token. Same UNIT_FIELD_HEALTH the server broadcasts
  (real HP on Turtle; the ~= 100 scaled-vs-real guard is unchanged).
- Combat/target in GetCombatStateColor: GetUnitField("flags") + HasFlag ->
  UnitAffectingCombat(token); GetUnitField("target") + SuperWoW "<guid>target"
  -> the "nameplateNtarget" chain. Dropped the now-dead HasFlag,
  UNIT_FLAG_IN_COMBAT, and guidTargetTokenCache.
- GetCastInfo now takes the token directly; every caller already holds it, so
  the UnitTokenFromGUID(guid) round-trip is gone (unused module-wide now).

NAME_PLATE_UNIT_ADDED caches the token as plate.nameplate.unit alongside the
GUID; REMOVED clears both. GUID is retained only as the stable cache key
(debuffCache/threatMemory/combatColorCache). Only GetUnitField("npcFlags")
remains -- it has no token/vanilla equivalent.
2026-07-24 20:09:42 -05:00
..
2026-07-10 20:26:05 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-07-09 23:01:52 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-07-09 23:01:52 -05:00
2017-07-19 10:35:01 +02:00
2026-07-06 17:07:41 -05:00
2026-07-09 23:01:52 -05:00
2026-07-09 23:01:52 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-07-09 23:01:52 -05:00
2026-07-09 00:56:06 -05:00
2026-07-09 23:01:52 -05:00
2026-07-09 00:56:06 -05:00
2026-07-09 23:01:52 -05:00
2026-05-25 18:50:53 -05:00
2026-07-06 17:07:51 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-07-09 23:01:52 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-07-09 23:01:52 -05:00
2026-07-09 23:01:52 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-07-09 23:01:52 -05:00
2026-07-12 14:01:25 -05:00
2026-07-24 16:08:36 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00