SetCraftExpandedMask
function · ui · orchestration
- Address
0x4f6be0· 21 bytes, up to0x4f6bf4- Meaning
- Stores the expanded mask of the craft groups, re-sorts and signals CRAFT_UPDATE
- Confidence
- verified, proof one
- Finding
- tradeskill/craft#collapse-and-cast
Finding: Collapse and cast in tradeskill: craft
CollapseCraftSkillLine (0x4f7c10) and ExpandCraftSkillLine (0x4f7c90) take the index of a header row. An index of 0 or below collapses or expands every group by setting the collapse mask 0x84d0f0 to 0 or to all ones. Otherwise the row must be a header row, and its group's bit is cleared or set; any other row raises Bad skill line in CollapseCraftSkillLine or Bad skill line in ExpandCraftSkillLine.
A clear bit means the group is collapsed. Each change re-sorts the list and raises CRAFT_UPDATE. DoCraft (0x4f7d10) casts the spell of the row once with the active player as caster, with no repeat and no check of the row type.
The derivation is in the doc.
Callers 2
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.