LatchQuestExpiry
function · ui · primitive
- Address
0x4df4f0· 81 bytes, up to0x4df540- Meaning
- Sets a row's expiry latch unless its quest can be turned in, calls 0x5eb070 and returns 1; else returns 0
- Confidence
- verified, proof one
- Finding
- ui/questtimers#getquesttimers
Finding: GetQuestTimers in ui: quest timers
GetQuestTimers() returns one number for each timed quest that is still running, in list order, and no
value when there are none. A quest is skipped when its row is a header, its slot is out of range, its timer is
0, its state byte has bit 1 (failed) or its expiry latch is set. A negative time is not returned: for a row whose quest cannot yet be turned in, it sets the latch, calls 0x5eb070 and,
when the quest is cached, prints the quest-failed line (message 0x8b with the quest's title); a quest that
can be turned in is left unlatched. A time of 0 is returned. QUEST_LOG_UPDATE fires once after the walk, only when a quest latched.
The derivation is in the doc.
Callers 3
Callees 4
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CanTurnInQuest ui
- RefreshQuestGiverStatuses objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.