CGPlayer_C::ReadQuestComplete
function · objectlayer · primitive
- Address
0x5dc400· 782 bytes, up to0x5dc70d- Meaning
- Reads a completed quest's rewards and prints the completion, experience, money and item lines
- Confidence
- verified, proof one
- Finding
- objectlayer/quests#quest-completion
Finding: Quest completion in objectlayer: quests
0x191 reads the quest, a value, the experience, the money and a count of reward items into
5-entry stack arrays, unbounded. It shows ERR_QUEST_COMPLETE_S with the title of a quest whose
record +0x24 is 0, ERR_QUEST_REWARD_EXP_I for nonzero experience, ERR_QUEST_REWARD_MONEY_S
for money above 0, and ERR_QUEST_REWARD_ITEM_S with a link for each reward item and then the
chosen item 0xbe0828, which it clears. A record not yet cached shows its line when it arrives.
The derivation is in the doc.
Callers 1
- HandleQuestGiverMessage objectlayer
Callees 11
- CDataStore::GetInt32 base
- CGGameUI::DisplayError ui
- ReportQuestDeclined ui
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- QuestCacheGetRecord dbcache
- OnRewardItemRecord objectlayer
- RefreshQuestGiverStatuses objectlayer
- SStrCopy storm
- SStrPrintf storm
- SplitCopper unassigned
- FrameScript_GetText ui
Calls and jumps by a bare address, from tables/calls.tsv.