benilla-re systems structs docs

BuildTradeSkillList

function · ui · primitive

Address
0x4fca20 · 1884 bytes, up to 0x4fd17b
Meaning
Builds the profession window's recipe rows and item-type headers and sorts them
Confidence
verified, proof one
Finding
tradeskill/recipes#building-the-list

Finding: Building the list in tradeskill: recipes

0x4fca20 rebuilds the list and takes one flag. A set flag means the recipe set changed: the headers are saved, dropped and made again, and each new header takes the shown and collapsed flags of the saved header with the same class and subclass. A clear flag keeps the headers and refreshes the rows and counts. The build reads the spells of the open line from the local player, makes a row for each and a header row for each header, filters and sorts with 0x4fd180, and raises TRADE_SKILL_UPDATE. It makes nothing when no window is open, the player is missing or the line has no list.

The derivation is in the doc.

Callers 14

Callees 15

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