RebuildQuestLog
function · ui · primitive
- Address
0x4de510· 913 bytes, up to0x4de8a0- Meaning
- Rebuilds the quest log list from the player's quests and cached templates, sorts it and fires QUEST_LOG_UPDATE
- 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.
Callers 4
- HandleSetFactionStandingPacket ui
- InitQuestLogForWorld ui
- OnQuestSlotChanged ui
- OnQuestTemplateArrived ui
Callees 12
- __alloca_probe crt
- CDataStore::PutUInt32 base
- GetWallClockSeconds core
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- SortQuestLog ui
- RemoveQuestWatchId ui
- LatchQuestExpiry ui
- QuestCacheGetRecord dbcache
- ClientServices::Send net
- FrameScript_SignalEvent ui
- _qsort crt
Calls and jumps by a bare address, from tables/calls.tsv.