s_questGiverCases
global · objectlayer
- Address
0x5e5a90· 40 bytes, up to0x5e5ab7- Type
void *[10]- Meaning
- Holds the 10 case addresses of the quest giver switch in 0x5e59b0
- 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.