Refactor API functions to enhance parameter aliasing and improve documentation clarity

This commit is contained in:
2025-05-18 14:16:07 +02:00
parent bbb138c938
commit b595bc5573
11 changed files with 111 additions and 99 deletions

View File

@@ -1,17 +1,19 @@
---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param professionID 773
---@param 164
---@param 165
---@param 171
---@param 182
---@param 186
---@param 197
---@param 202
---@param 333
---@param 393
---@param 755
---@param 773
---@alias professionID
---| 164 - Blacksmithing
---| 165 - Leatherworking
---| 171 - Alchemy
---| 182 - Herbalism
---| 186 - Mining
---| 197 - Tailoring
---| 202 - Engineering
---| 333 - Enchanting
---| 393 - Skinning
---| 755 - Jewelcrafting
---| 773 - Inscription
---@param professionID professionID
---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.
function CollapseGuildTradeSkillHeader(professionID, 164, 165, 171, 182, 186, 197, 202, 333, 393, 755, 773) end
function CollapseGuildTradeSkillHeader(professionID) end