benilla-re systems structs docs

Script::GetQuestLogItemLink

function · ui · primitive

Address
0x4e0ee0 · 396 bytes, up to 0x4e106b
Signature
int __fastcall (lua_State *L)
Meaning
Returns the item link of a reward or choice of the selected quest
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/questlogverbs#reward-links-and-money

Finding: Reward links and money in ui: quest log verbs on the selected quest

GetQuestLogItemLink(type, index) takes "choice" or "reward" (compared without regard to case) and a 1-based index, and returns the item link of that entry, built from the item's name with its suffix text and its quality colour, or nil for an uncached template or item, a zero id, an unknown type or an index outside the list. Other arguments raise Usage: GetQuestLogItemLink("type", index). GetQuestLogRewardMoney() returns the template money when it is not negative, plus the bonus money when the player's level is 60 or more, else 0. GetQuestLogRequiredMoney() returns the money negated when it is negative, else 0.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 13

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