Refactor API functions to improve parameter aliasing and enhance documentation clarity
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
---@meta
|
||||
|
||||
---@param tabIndex number
|
||||
---@param talentIndex number
|
||||
---@param isPet boolean
|
||||
---@param talentGroup nil
|
||||
---@param 1
|
||||
---@param 2
|
||||
---@param nil
|
||||
---@alias talentGroup
|
||||
---| 1 - Primary Talents
|
||||
---| 2 - Secondary Talents
|
||||
---| nil - Currently active talents
|
||||
|
||||
---@param tabIndex number
|
||||
---@param talentIndex number
|
||||
---@param isPet boolean
|
||||
---@param talentGroup talentGroup
|
||||
---Learns a talent, spending one talent point
|
||||
function LearnTalent(tabIndex, talentIndex, isPet, talentGroup, 1, 2, nil) end
|
||||
function LearnTalent(tabIndex, talentIndex, isPet, talentGroup) end
|
||||
|
||||
Reference in New Issue
Block a user