benilla-re systems structs docs

OnQuestItemRecord

function · ui · orchestration

Address
0x4e0830 · 24 bytes, up to 0x4e0847
Signature
void __fastcall (uint32_t arg1, void *arg2, void *, uint32_t status)
Meaning
Signals QUEST_LOG_UPDATE when a quest log item record arrives; does nothing on a refusal
Confidence
verified, proof one
Finding
ui/questobjectives#cache-query-callbacks

Finding: Cache query callbacks in ui: quest objectives

GetQuestLogLeaderBoard passes 0x4e07d0 with a creature lookup, 0x4e0800 with a game object lookup and 0x4e0830 with an item lookup; GetQuestLogRewardInfo and GetQuestLogChoiceInfo pass 0x4e0830 too. A cache calls each with its status: on 1 (the record arrived) it signals event 308, QUEST_LOG_UPDATE; on 0 (refused) the creature and object callbacks write Invalid creature in quest or Invalid object in quest to the console in class 0, and the item callback does nothing. Only the status's low byte is read.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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