mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Fix quest item loot parsing and quest item progress tracking
- add SMSG_QUESTUPDATE_ADD_ITEM logical opcode mapping (0x197) - handle quest item progress updates in GameHandler - parse quest-item section in SMSG_LOOT_RESPONSE (regular + quest items) - add quest item progress storage in quest log entries - show tracked kill/item progress in Quest Log UI
This commit is contained in:
parent
d3b04640f3
commit
98212a3f91
7 changed files with 79 additions and 1 deletions
|
|
@ -702,6 +702,8 @@ public:
|
|||
bool complete = false;
|
||||
// Objective kill counts: objectiveIndex -> (current, required)
|
||||
std::unordered_map<uint32_t, std::pair<uint32_t, uint32_t>> killCounts;
|
||||
// Quest item progress: itemId -> current count
|
||||
std::unordered_map<uint32_t, uint32_t> itemCounts;
|
||||
};
|
||||
const std::vector<QuestLogEntry>& getQuestLog() const { return questLog_; }
|
||||
void abandonQuest(uint32_t questId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue