GetInspectArenaData

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.4.0 / 1.15.0

Returns the inspected unit's rated PvP stats.

rating, seasonPlayed, seasonWon, weeklyPlayed, weeklyWon = GetInspectArenaData(bracketId)

Arguments

bracketId
number - rated PvP bracket to query, ascending from 1 for 2v2, 3v3, and 5v5 arenas, and Rated Battlegrounds respectively.

Returns

rating
number - inspected unit's current personal rating in the specified bracket.
seasonPlayed
number - number of games played in the bracket during the current season.
seasonWon
number - number of games won in the bracket during the current season.
weeklyPlayed
number - number of games played in the bracket during the current week.
weeklyWon
number - number of games won in the bracket during the current week.

Details

Patch changes

Mists of Pandaria Patch 5.4.0 (2013-09-10): Added, replaced GetInspectArenaTeamData.