ReadQuestGiverStatus
function · objectlayer · primitive
- Address
0x5dc9f0· 106 bytes, up to0x5dca59- Meaning
- Reads a GUID and a status and sets it on that unit when its NPC flags mark a quest giver
- Confidence
- verified, proof one
- Finding
- objectlayer/quests#quest-giver-messages
Finding: Quest giver messages in objectlayer: quests
0x5e59b0 dispatches nine opcodes for the active player through the bytes 0x5e5ab8 and the
cases 0x5e5a90 (value − 0x183, cmp 0x12); any other opcode returns 0.
| opcode | reader | reads |
|---|---|---|
| 0x183 | 0x5dc9f0 | GUID, i32 status: sets it on a unit whose NPC flags have 0x2 |
| 0x185 | 0x5dbb10 | the greeting list |
| 0x188 | 0x5dbd50 | the details |
| 0x18b | 0x5dc050 | the item request |
| 0x18d | 0x5dc1e0 | the reward offer |
| 0x18f | 0x5dbca0 | i32 reason: the invalid-quest error, then 0x501130(0, 0) |
| 0x191 | 0x5dc400 | the completion |
| 0x192 | 0x5dc840 | i32 quest, i32 reason: the failure |
| 0x195 | none | ERR_QUEST_LOG_FULL |
The derivation is in the doc.
Callers 1
- HandleQuestGiverMessage objectlayer
Callees 4
- CDataStore::GetInt32 base
- CDataStore::GetGuid base
- ClntObjMgrObjectPtr objectlayer
- CGUnit_C::SetQuestGiverStatus objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.