benilla-re systems structs docs

OnQuestTemplateArrived

function · ui · primitive

Address
0x4de8b0 · 59 bytes, up to 0x4de8ea
Meaning
Counts an arrived quest template down and rebuilds the list when it was the last
Confidence
verified, proof one
Finding
ui/questlog#when-the-templates-arrive

Finding: When the templates arrive in ui: the quest log list

The callback 0x4de8b0 runs for each queried template. On success it decrements the counter and, when the counter reaches 0, runs the full rebuild; it also rebuilds when called with the counter already 0. On failure (the server answered with an empty title) it only logs Invalid quest log entry to the console and does not decrement, so the counter stays above 0 and every later rebuild returns at once until the world is entered again. With a cold cache the log therefore stays empty and then fills in one step; with a partial cache it holds the cached quests meanwhile.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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