benilla-re systems structs docs

s_selectedQuestId

global · ui

Address
0xbb7480 · 4 bytes, up to 0xbb7483
Type
uint32_t
Meaning
Holds the id of the quest selected in the quest log
Confidence
verified, proof one
Finding
ui/questlog#the-selection

Finding: The selection in ui: the quest log list

The selected quest is a quest id in 0xbb7480, set only by SelectQuestLogEntry(i) (0x4dfae0) through 0x4def30, which refuses an index outside the list and a header row and then leaves the old selection. GetQuestLogSelection() re-derives the row by searching for the id (0 when it has no row). No rebuild changes the selection, so it survives re-sorts, and with the selected quest uncached it reads 0 until the completing rebuild.

The derivation is in the doc.