benilla-re systems structs docs

AcceptQuestImpl

function · ui · orchestration

Address
0x501380 · 101 bytes, up to 0x5013e4
Meaning
Sends CMSG_QUESTGIVER_ACCEPT_QUEST for the open offer and closes the panel
Confidence
verified, proof one
Finding
ui/questshare#accepting-and-declining

Finding: Accepting and declining in ui: sharing a quest with the party

AcceptQuest() runs 0x501380: with a panel of kind 1, a local player and the acted latch 0xbe0844 clear it sends opcode 0x189 (CMSG_QUESTGIVER_ACCEPT_QUEST: u64 guid, u32 questId), sets the latch and closes the panel, without any share answer. DeclineQuest() runs 0x5013f0: when the latch is set it does nothing; for a unit with the gossip flag it sends opcode 0x17b (CMSG_GOSSIP_HELLO, the guid), for an item, a player or an offer with 0xbe0824 set it reports the decline as above, for a game object it calls the object's interact slot, and for a plain unit it sends opcode 0x184 (CMSG_QUESTGIVER_HELLO, the guid), which reopens the giver's list.

The derivation is in the doc.

Callers 1

Callees 5

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