benilla-re systems structs docs

Script::GetNumQuestLogEntries

function · ui · primitive

Address
0x4df8b0 · 127 bytes, up to 0x4df92e
Signature
int __fastcall (lua_State *L)
Meaning
Returns the number of rows and of quest rows in the quest log
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/questlog#visible-rows

Finding: Visible rows in ui: the quest log list

After the sort 0xbb7490 is the row count minus one for each quest whose header is collapsed, and because those quests sort last, the first 0xbb7490 rows are the visible ones. GetNumQuestLogEntries() returns the visible count and the number of quests (the rows that are not headers), and the other getters still index all rows, so a hidden quest stays addressable.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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