Script::GetQuestTimers
function · ui · primitive
- Address
0x4e13d0· 421 bytes, up to0x4e1574- Signature
int __fastcall (lua_State *L)- Meaning
- Pushes the time left of each running timed quest in list order
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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 0
None by a direct call or jump.
Callees 10
- GetWallClockSeconds core
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::DisplayError ui
- IsQuestExpiryLatched ui
- LatchQuestExpiry ui
- QuestCacheGetRecord dbcache
- lua_checkstack lua
- lua_pushnumber lua
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.