Refactor API functions to improve parameter aliasing and enhance documentation clarity
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user