Refactor API functions to improve parameter aliasing and enhance documentation clarity

This commit is contained in:
2025-05-18 15:03:21 +02:00
parent b595bc5573
commit cbed6108ef
22 changed files with 165 additions and 170 deletions

View File

@@ -1,9 +1,11 @@
---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param articleId number
---@param searchType 2
---@param 1
---@param 2
---@alias searchType
---| 1 - Default "top issues" search
---| 2 - Search for specific text
---@param articleId number
---@param searchType searchType
---Requests a specific knowledge base article from the server
function KBArticle_BeginLoading(articleId, searchType, 1, 2) end
function KBArticle_BeginLoading(articleId, searchType) end