This function or event no longer exists in version 6.0.2 (19034) of World of Warcraft. Please check the main API page for an up-to-date listing of the valid API functions
Returns arena team information about the currently inspected unit. Only available if data has been downloaded from the server; see HasInspectHonorData()
and RequestInspectHonorData()
.
See also Inspect functions.
Signature:
teamName,
teamSize,
teamRating,
teamPlayed,
teamWins,
playerPlayed,
playerRating,
bg_red,
bg_green,
bg_blue,
emblem,
emblem_red,
emblem_green,
emblem_blue,
border,
border_red,
border_green,
border_blue
=
GetInspectArenaTeamData(team)
Arguments:
team
- Index of one of the unit's arena teams (number
, arenaTeamID)
Returns:
teamName
- Name of the arena team (string
)teamSize
- Size of the team (2 for 2v2, 3 for 3v3, or 5 for 5v5) (number
)teamRating
- The team's current rating (number
)teamPlayed
- Number of games played by the team in the current week (number
)teamWins
- Number of games won by the team in the current week (number
)playerPlayed
- Number of games in which the unit has participated in the current week (number
)playerRating
- The unit's personal rating with this team (number
)bg_red
- Red component of the color value for the team banner's background (number
)bg_green
- Green component of the color value for the team banner's background (number
)bg_blue
- Blue component of the color value for the team banner's background (number
)emblem
- Index of the team's emblem graphic; full path to the emblem texture can be found using the format"Interface\PVPFrame\Icons\PVP-Banner-Emblem-"..emblem
(number
)emblem_red
- Red component of the color value for the team banner's emblem (number
)emblem_green
- Green component of the color value for the team banner's emblem (number
)emblem_blue
- Blue component of the color value for the team banner's emblem (number
)border
- Index of the team's border graphic; full path to the border texture can be found by using the format"Interface\PVPFrame\PVP-Banner-"..teamSize.."-Border-"..border
(number
)border_red
- Red component of the color value for the team banner's border (number
)border_green
- Green component of the color value for the team banner's border (number
)border_blue
- Blue component of the color value for the team banner's border (number
)