Files
pfUI/modules
Brues 11f9cd848b tooltip:GetUnit via HasUnit + UnitTokenFromGUID
GameTooltip:HasUnit() / GameTooltip:GetUnitGUID() ask the tooltip
directly what unit it's displaying (returns the GUID), and
UnitTokenFromGUID resolves that to a unit token. So instead of
iterating mouseover/player/pet/target plus party1..4, partypet1..4,
raid1..40, raidpet1..40 and string-matching each against
GameTooltipTextLeft1:GetText(), this is now a three-line lookup.

Bonus: drops the UnitName / UnitPVPName fallback string match (which
broke on duplicate names across the realm and on tooltips showing PVP
titles that didn't exactly match a token's UnitPVPName output). GUID
is canonical.
2026-05-21 17:27:27 -05:00
..
2026-05-16 13:02:38 -05:00
2026-05-21 10:40:42 -05:00
2026-05-16 13:02:38 -05:00
2026-01-03 12:58:31 +01:00
2026-05-21 02:35:46 -05:00
2026-05-21 03:10:59 -05:00
2026-05-21 02:35:46 -05:00
2026-05-16 13:02:38 -05:00
2026-01-25 08:44:16 +01:00
2017-07-19 10:35:01 +02:00
2026-05-21 02:35:46 -05:00
2026-03-20 21:02:13 +01:00
2026-04-10 16:33:06 +02:00
2026-03-20 17:25:15 +01:00
2026-03-09 03:06:41 +01:00
2026-05-16 13:02:38 -05:00
2026-01-10 15:28:16 +01:00
2026-02-17 16:59:30 +01:00
2026-05-21 02:35:46 -05:00
2026-05-16 13:02:38 -05:00
2026-01-08 12:25:18 +01:00
2026-05-21 02:35:46 -05:00
2026-02-06 16:32:13 +01:00
2026-05-21 02:35:46 -05:00
2026-01-11 17:00:11 +01:00
2026-03-23 11:37:31 +01:00
2026-05-16 13:02:38 -05:00