mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Add playerClassRaceCache_ that stores classId and raceId from SMSG_NAME_QUERY_RESPONSE. This enables UnitClass and UnitRace to return correct data for players who were previously seen but are now out of UPDATE_OBJECT range. Fallback chain for UnitClass/UnitRace is now: 1. Entity update fields (UNIT_FIELD_BYTES_0) — for nearby entities 2. Name query cache — for previously queried players 3. getPlayerClass/Race() — for the local player This improves class-colored names in chat, unit frames, and nameplates for players who move out of view range. |
||
|---|---|---|
| .. | ||
| addons | ||
| audio | ||
| auth | ||
| core | ||
| game | ||
| network | ||
| pipeline | ||
| platform | ||
| rendering | ||
| third_party | ||
| ui | ||