benilla-re systems structs docs

Script::GetQuestLogLeaderBoard

function · ui · primitive

Address
0x4e0110 · 1727 bytes, up to 0x4e07ce
Signature
int __fastcall (lua_State *L)
Meaning
Returns the text, type and finished flag of a quest objective line
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/questobjectives#asking-for-a-line

Finding: Asking for a line in ui: quest objectives

GetQuestLogLeaderBoard(line [, row]) needs the line number (else it raises Usage: GetQuestLogLeaderBoard(index)). The optional 1-based row is a row of the quest list, which must not be a header; without it the selected quest is used. A quest id of 0, a missing template or a missing quest slot gives three nils. Otherwise it returns three values: the text with the counts inside it, the line's type (event, monster, object, item or reputation) and finished, which is the number 1 or nil.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 23

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