benilla-re systems structs docs

s_questTemplatesPending

global · ui

Address
0xbb7498 · 4 bytes, up to 0xbb749b
Type
uint32_t
Meaning
Holds the number of quest templates asked for and not yet arrived
Confidence
verified, proof one
Finding
ui/questlog#the-rebuild

Finding: The rebuild in ui: the quest log list

0x4de510(full) rebuilds the list. It is called with 1 from the world-enter set-up 0x4de430, from the watcher of the player's quest slots 0x4de4d0 and from the template callback; with 0 by the faction standing message, which then only fires QUEST_LOG_UPDATE (id 308). A full call returns at once while the in-flight counter 0xbb7498 is non-zero. Otherwise it saves the collapse state, clears the list and visits each non-empty slot. A quest with a cached template gets a row, and a header row after it when its group has none yet (the group is the template's zone-or-sort value). A quest without one gets no row and adds 1 to the counter.

The derivation is in the doc.