Script::GetTalentPrereqs
function · ui · primitive
- Address
0x4f34d0· 459 bytes, up to0x4f369a- Signature
int __fastcall (lua_State *L)- Meaning
- Returns tier, column and learned flag for each prerequisite of a talent
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/talents#prerequisites
Finding: Prerequisites in ui: talents
GetTalentPrereqs(tab, index) returns three values for each populated prerequisite slot of the talent: the prerequisite's
tier and column from 1, and 1 or nil for whether the player knows the prerequisite at the required rank or higher. The
prerequisite row is found by id. A talent with no prerequisite returns nothing.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 11
- __ftol crt
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGUnit_C::KnowsSpell objectlayer
- CGUnit_C::KnowsHigherRank objectlayer
- lua_checkstack lua
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnil lua
- lua_pushnumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.