Collapses the corresponding profession in the guild window. This function is used to collapse a single profession in the guild window (professions view) based on its ID. Can also be done while window is not visible. See ExpandGuildTradeSkillHeader() for opening the view.


See also Tradeskill functions, Guild functions.

Signature:

CollapseGuildTradeSkillHeader(professionID)

Arguments:

  • professionID - The ID of the corresponding profession (number)
    • 164 - Blacksmithing
    • 165 - Leatherworking
    • 171 - Alchemy
    • 182 - Herbalism
    • 186 - Mining
    • 197 - Tailoring
    • 202 - Engineering
    • 333 - Enchanting
    • 393 - Skinning
    • 755 - Jewelcrafting
    • 773 - Inscription

Examples:

CollapseGuildTradeSkillHeader(171)
-- Will collapse the list of people having alchemy as a profession.