benilla-re systems structs docs

Script::GetQuestLogRewardSpell

function · ui · orchestration

Address
0x4e1130 · 237 bytes, up to 0x4e121c
Signature
int __fastcall (lua_State *L)
Meaning
Returns the icon, name and trade skill flag of the selected log quest's reward spell
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/questrewardspell#quest-log-reward-spell

Finding: Quest log reward spell in ui: quest reward spell functions

GetQuestLogRewardSpell() returns the same three values for the reward spell of the selected quest log entry. It reads the cached quest record of the selected quest id, with no query sent; a quest that is not cached gives three nils. The spell id is the dword at +0x30 of that record, the thirteenth u32 of the quest query reply (opcode 0x5d). From the spell id on the function is the body of GetRewardSpell.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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