fix: populate item subclass names for TBC expansion

The TBC item query parser left subclassName empty, so TBC items showed
no weapon/armor type in tooltips or the character sheet (e.g., "Sword",
"Plate", "Shield" were all blank). The Classic and WotLK parsers
correctly map subClass IDs to names.

Fix: call getItemSubclassName() in the TBC parser, same as WotLK.
Expose getItemSubclassName() in the header (was static, now shared
across parser files).
This commit is contained in:
Kelsi 2026-03-22 20:30:08 -07:00
parent 7967878cd9
commit 3b4909a140
3 changed files with 3 additions and 2 deletions

View file

@ -698,6 +698,7 @@ public:
* Get human-readable string for chat type
*/
const char* getChatTypeString(ChatType type);
const char* getItemSubclassName(uint32_t itemClass, uint32_t subClass);
// ============================================================
// Text Emotes