mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-27 05:23:51 +00:00
feat: display gem socket slots and socket bonus in item tooltips
This commit is contained in:
parent
a90f2acd26
commit
0a2cd213dc
3 changed files with 52 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue