feat: display gem socket slots and socket bonus in item tooltips

This commit is contained in:
Kelsi 2026-03-12 12:15:08 -07:00
parent a90f2acd26
commit 0a2cd213dc
3 changed files with 52 additions and 0 deletions

View file

@ -1594,6 +1594,9 @@ struct ItemQueryResponseData {
struct ExtraStat { uint32_t statType = 0; int32_t statValue = 0; };
std::vector<ExtraStat> extraStats;
uint32_t startQuestId = 0; // Non-zero: item begins a quest
// Gem socket slots (WotLK/TBC): 0=no socket; color mask: 1=Meta,2=Red,4=Yellow,8=Blue
std::array<uint32_t, 3> socketColor{};
uint32_t socketBonus = 0; // enchantmentId of socket bonus; 0=none
bool valid = false;
};