benilla-re systems structs docs

OnCraftItemRecord

function · ui · orchestration

Address
0x4f7710 · 19 bytes, up to 0x4f7722
Signature
uint32_t __stdcall (void *record, bool ready)
Meaning
Rebuilds the craft list when an item record arrives
Confidence
verified, proof one
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 1

Calls and jumps by a bare address, from tables/calls.tsv.