benilla-re systems structs docs

SignalQuestLogForItem

function · ui · orchestration

Address
0x4df7b0 · 194 bytes, up to 0x4df871
Signature
void __fastcall (uint32_t entry)
Meaning
Signals QUEST_LOG_UPDATE once when a cached quest in the display list requires an item entry
Confidence
verified, proof one
Finding
ui/questobjectives#items-a-quest-needs

Finding: Items a quest needs in ui: quest objectives

0x4df7b0(entry) signals one QUEST_LOG_UPDATE when a quest in the display list needs an item entry. It walks every row in order, headers included, looks the row's id up in the quest cache without a callback, so an uncached quest is skipped and no query is sent, and compares the entry with the four ReqItemId (+0x14bc). At the first match it signals event 308, calls 0x5eb070 when there is a player, and returns. Three item paths call it with the item's OBJECT_FIELD_ENTRY, each for an item the active player owns: the record's arrival 0x5d8440, the stack count watcher 0x5d9400 and deactivation 0x5d8660.

The derivation is in the doc.

Callers 3

Callees 5

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