mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
Modern WoW returns the subtitle as UnitName's second return; vanilla 1.12's UnitName returns only one value, leaving no direct route to the subtitle. UnitSubName reads it straight off the engine's creature cache (`[unit + 0xB30] → [+0x10]`), no tooltip scrape required. Returns nil for players, unsynced NPCs, and NPCs with no subtitle.