Script::GetCraftDescription
function · ui · primitive
- Address
0x4f7a90· 372 bytes, up to0x4f7c03- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the expanded description of a craft row
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- tradeskill/craft#spell-focus-and-description
Finding: Spell focus and description in tradeskill: craft
GetCraftSpellFocus (0x4f78b0) returns the same flat list as GetTradeSkillTools of bindings: the spell focus object with the constant flag 1, then each totem item with a cached template and the flag 1 or nil, with the callback 0x4f7710; it returns twice the pair count. GetCraftDescription (0x4f7a90) returns the description of the spell (+0x228) with its dollar tokens expanded
when it is not empty. When it is empty, it uses the description of the first learned spell of a learn effect (36 or 57) and, with none, returns nil. The expansion takes the pet flag from the craft type for the spell itself and from the effect for the learned spell.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- __ftol crt
- ExpandSpellText ui
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnil lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.