Refactor API functions to improve parameter aliasing and enhance documentation clarity
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
---@meta
|
||||
|
||||
---@param index 1
|
||||
---@param 0
|
||||
---@param 1
|
||||
---@return string teamName
|
||||
---@return number teamRating
|
||||
---@return number newTeamRating
|
||||
---@return number teamMMR
|
||||
---@return number numPlayers
|
||||
---@alias battlegroundGroup
|
||||
---| 0 - Green Team/Horde
|
||||
---| 1 - Gold Team/Alliance
|
||||
|
||||
---@param index battlegroundGroup
|
||||
---@return string teamName
|
||||
---@return number teamRating
|
||||
---@return number newTeamRating
|
||||
---@return number teamMMR
|
||||
---@return number numPlayers
|
||||
---Returns info about teams and their rating and MMR in a rated arena match. Usable following the UPDATE_BATTLEFIELD_SCORE event.
|
||||
function GetBattlefieldTeamInfo(index, 0, 1) end
|
||||
function GetBattlefieldTeamInfo(index) end
|
||||
|
||||
Reference in New Issue
Block a user