GetArenaTeamIndexBySize
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 5.2.0 |
This API only exists in Cata Classic and Classic Era. |
Returns the index of an arena team for the specified team size.
index = GetArenaTeamIndexBySize(size)
Arguments
- size
- number - team size (number of people), i.e. 2, 3, or 5.
Returns
- index
- number - arena team index for the specified team size, or nil if the player is not in a team of the specified size.
Details
- Arena team indices typically correspond to their creation/join order, and may be discontinuous.
- You can get information about a given team from its index using GetArenaTeam.
Patch changes
Patch 5.4.0 (2013-09-10): Fixed arena teams removed.
Patch 5.2.0 (2013-03-05): Added.