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-21 16:20:19 -05:00
2026-01-08 12:25:18 +01:00
2024-11-03 13:23:56 +01:00
2026-01-08 12:25:18 +01:00
2026-05-16 13:02:38 -05:00
2026-05-21 10:40:42 -05:00
2026-05-21 17:24:14 -05:00
2026-05-16 13:02:38 -05:00
2026-01-03 12:58:31 +01:00
2026-01-08 12:25:18 +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-08 12:25:18 +01:00
2026-01-08 12:25:18 +01:00
2026-01-08 12:25:18 +01:00
2026-01-25 08:44:16 +01:00
2017-07-19 10:35:01 +02:00
2026-01-08 12:25:18 +01:00
2026-03-14 17:12:14 +01:00
2025-04-20 14:15:51 +02:00
2026-01-08 12:25:18 +01:00
2026-01-08 12:25:18 +01:00
2026-03-23 14:41:40 +01:00
2026-05-21 02:35:46 -05:00
2026-03-20 21:02:13 +01:00
2019-06-10 17:06:31 +02:00
2026-01-08 12:25:18 +01:00
2026-01-08 12:25:18 +01:00
2026-04-10 16:33:06 +02:00
2026-03-20 17:25:15 +01:00
2026-01-08 12:25:18 +01:00
2026-03-09 03:06:41 +01:00
2026-03-22 12:36:47 +01:00
2026-05-21 16:57:12 -05:00
2026-05-16 13:02:38 -05:00
2026-01-08 12:25:18 +01:00
2026-03-24 13:02:22 +01:00
2026-03-16 15:45:04 +01:00
2024-06-07 09:16:02 +02:00
2026-03-21 12:27:35 +01:00
2026-04-10 17:31:02 +02:00
2026-01-10 15:28:16 +01:00
2026-01-08 12:25:18 +01:00
2026-02-17 16:59:30 +01:00
2026-05-21 02:35:46 -05: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-01-08 12:25:18 +01:00
2026-01-08 12:25:18 +01:00
2026-03-24 14:31:26 +01:00
2026-05-21 16:20:19 -05:00
2026-05-21 02:35:46 -05:00
2026-01-08 12:25:18 +01:00
2026-01-08 12:25:18 +01:00
2026-05-21 17:19:29 -05:00
2026-04-11 21:24:36 +02:00
2026-02-06 16:32:13 +01:00
2026-01-08 12:25:18 +01:00
2026-05-21 02:35:46 -05:00
2026-05-21 16:53:26 -05:00
2026-01-08 12:25:18 +01:00
2026-01-08 12:25:18 +01:00
2026-03-06 06:44:11 +01:00
2026-01-08 12:25:18 +01:00
2026-03-01 07:41:57 +01:00
2026-01-08 12:25:18 +01:00
2026-05-21 17:27:27 -05:00
2026-01-11 17:00:11 +01:00
2026-04-02 19:32:00 +02:00
2026-05-21 17:19:29 -05:00
2026-03-29 19:28:04 +02:00
2026-03-23 11:37:31 +01:00
2026-01-08 12:25:18 +01:00
2026-05-21 17:04:00 -05:00
2026-03-28 15:01:32 +01:00
2025-02-14 10:12:29 +01:00
2026-05-16 13:02:38 -05:00