feat: parse and display StartQuest field from item query response

Items that begin a quest (like quest starter drop items) now show
"Begins a Quest" in the tooltip.

All three expansion parsers (WotLK/TBC/Classic) now read the
PageText/LanguageID/PageMaterial/StartQuest fields after Description.
startQuestId is propagated through all 5 inventory rebuild paths and
stored in ItemDef.
This commit is contained in:
Kelsi 2026-03-10 17:05:04 -07:00
parent 5fcf71e3ff
commit 62b7622f75
7 changed files with 36 additions and 0 deletions

View file

@ -56,6 +56,7 @@ struct ItemDef {
// Generic stat pairs for non-primary stats (hit, crit, haste, AP, SP, etc.)
struct ExtraStat { uint32_t statType = 0; int32_t statValue = 0; };
std::vector<ExtraStat> extraStats;
uint32_t startQuestId = 0; // Non-zero: item begins a quest
};
struct ItemSlot {

View file

@ -1566,6 +1566,7 @@ struct ItemQueryResponseData {
// Generic stat pairs for non-primary stats (hit, crit, haste, AP, SP, etc.)
struct ExtraStat { uint32_t statType = 0; int32_t statValue = 0; };
std::vector<ExtraStat> extraStats;
uint32_t startQuestId = 0; // Non-zero: item begins a quest
bool valid = false;
};