benilla-re systems structs docs

Script::GetAvailableLevel

function · ui · primitive

Address
0x501ba0 · 117 bytes, up to 0x501c14
Signature
int __fastcall (lua_State *L)
Meaning
Returns the level of an available quest row, or 0
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/questpanel#money-and-the-title

Finding: Money and the title in ui: quest panel state and the quest dialog verbs

GetRewardMoney() returns the reward money cell and GetQuestMoneyToGet() the wanted money cell. GetTitleText() and GetObjectiveText() return the title and the objective buffers. GetAvailableTitle(i) and GetActiveTitle(i) return nil beyond the pool; GetAvailableLevel(i) and GetActiveLevel(i) return 0 there. The level functions raise Usage: GetGetAvailableLevel(index) and Usage: GetGetActiveLevel(index) for a non-number. CloseQuest() runs ReportQuestDeclined with no sharer flag.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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