Script::GetCraftInfo
function · ui · primitive
- Address
0x4f6e90· 605 bytes, up to0x4f70ec- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the seven values of a craft row: name, rank text, difficulty, available count, cost and level
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- tradeskill/craft#craft-rows
Finding: Craft rows in tradeskill: craft
GetCraftInfo (0x4f6e90) returns seven values for an index. A header row gives the skill line name, nil, header, 0, 1 when the group is not collapsed or nil when it is, 0 and 0. A recipe row gives the spell name, its rank text, the difficulty word of the row (none, optimal, medium, easy, trivial or used from the table 0x807e00), the available count, nil, and a cost and a required level.
An index out of range gives three nils, then 0, nil, 0 and 0.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 11
- __ftol crt
- ClntObjMgrObjectPtr objectlayer
- IsCraftGroupCollapsed ui
- CGUnit_C::FindSkillLineAbility objectlayer
- CGUnit_C::GetSpellRequiredLevel objectlayer
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnil lua
- lua_pushnumber lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.