Script::GetQuestItemLink
function · ui · primitive
- Address
0x502090· 264 bytes, up to0x502197- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the item link of a quest dialog item, or nil
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/questpanel#item-arrival-and-links
Finding: Item arrival and links in ui: quest panel state and the quest dialog verbs
When an item record arrives for the panel, 0x5018c0 signals QUEST_ITEM_UPDATE (305) provided its arrival flag is set and the
record is cached. GetQuestItemLink(type, index) returns the item link of the same entries, built as the quest log link, or nil
for an unknown type, an index of 8 or more, a zero id or an uncached item (the test is ja 6 after the decrement at 0x501924, so index 7 passes and reads past the sixth record); other arguments raise
Usage: GetQuestItemLink("type", index).
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 12
- __ftol crt
- GetQuestItemId ui
- FormatItemLink ui
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- FormatItemName objectlayer
- lua_isnumber lua
- lua_isstring lua
- lua_tonumber lua
- lua_tostring lua
- lua_pushnil lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.