Script::GetCraftReagentItemLink
function · ui · primitive
- Address
0x4f7730· 370 bytes, up to0x4f78a1- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the item link of a craft reagent
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- tradeskill/craft#reagents-and-links
Finding: Reagents and links in tradeskill: craft
GetCraftNumReagents (0x4f7420), GetCraftReagentInfo (0x4f74d0) and GetCraftReagentItemLink (0x4f7730) run the same code as GetTradeSkillNumReagents, GetTradeSkillReagentInfo and GetTradeSkillReagentItemLink of bindings on the craft rows; the item request of the info function carries the callback 0x4f7710, which rebuilds the craft list. GetCraftItemLink (0x4f72a0) returns an enchant link for a spell whose cast-UI field (+0xc) is 3:
|cffffffff|Henchant:<spell id>|h[<spell name>]|h|r. For any other spell it scans the three effect slots for effect 24 and links the first created item whose template is cached, in the form of the item links of bindings; with none it returns no value.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 9
- __ftol crt
- FormatItemLink ui
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- FormatItemName objectlayer
- 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.