mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
resyncQuestLogFromServerSlots now reads the state field (slot*stride+1) alongside the quest ID field, and marks quest.complete=true when the server reports QuestStatus=1 (complete/ready-to-turn-in). Previously, quests that were already complete before login would remain incorrectly marked as incomplete until SMSG_QUESTUPDATE_COMPLETE fired, which only happens when objectives are NEWLY completed during the session. applyQuestStateFromFields() is a lightweight companion called from both the CREATE and VALUES update handlers that applies the same state-field check to already-tracked quests mid-session, catching the case where the last objective completes via an update-field delta rather than the dedicated quest-complete packet. Works across all expansion strides (Classic stride=3, TBC stride=4, WotLK stride=5); guarded against stride<2 (no state field available). |
||
|---|---|---|
| .. | ||
| audio | ||
| auth | ||
| core | ||
| game | ||
| network | ||
| pipeline | ||
| platform | ||
| rendering | ||
| third_party | ||
| ui | ||