HandleQuestGiverMessage
function · objectlayer · primitive
- Address
0x5e59b0· 224 bytes, up to0x5e5a8f- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Dispatches the nine quest giver messages to their readers when an active player exists
- 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 0
None by a direct call or jump.
Callees 11
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::DisplayError ui
- HandleQuestListPacket objectlayer
- ReadQuestInvalid objectlayer
- ReadQuestDetails objectlayer
- ReadQuestRequestItems objectlayer
- ReadQuestOfferReward objectlayer
- CGPlayer_C::ReadQuestComplete objectlayer
- ReadQuestFailed objectlayer
- ReadQuestGiverStatus objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.