benilla-re systems structs docs

GetSelectedQuestSlot

function · ui · primitive

Address
0x4df050 · 22 bytes, up to 0x4df065
Meaning
Returns the slot dword of the selected quest's row, or 0
Confidence
verified, proof one
Finding
ui/questlogverbs#selected-quest-text

Finding: Selected quest text in ui: quest log verbs on the selected quest

GetQuestLogQuestText() returns the details text and then the objectives text of the selected quest, each expanded for the player ($ macros) into a 0x400 byte buffer, or two nils when its template is not cached. GetAbandonQuestName() returns the title of the quest set by SetAbandonQuest() (the selected id copied to 0xbb7484), or nil. IsCurrentQuestFailed() returns 1 when the selected quest's slot has the failed bit or its expiry latch is set, else nil, and nil with no player or no selection.

The derivation is in the doc.

Callers 3

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.