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 set 2
---@param 0
---@param 1
---@param 2
---@alias bindingSet
---| 0 - Default key bindings
---| 1 - Account-wide key bindings
---| 2 - Character-specific key bindings
---@param set bindingSet
---Loads a set of key bindings. The UPDATE_BINDINGS event fires when the new bindings have taken effect.
function LoadBindings(set, 0, 1, 2) end
function LoadBindings(set) end