Script::GetActiveLevel
function · ui · primitive
- Address
0x501c20· 117 bytes, up to0x501c94- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the level of an active 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
- __ftol crt
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.