WoW API: GetArenaTeamRosterInfo

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetArenaTeamRosterInfo to API GetArenaTeamRosterInfo without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetArenaTeamRosterInfo

Requests information regarding the arena team that the player is in, see Returns for a full list of what this returns.

name, rank, level, class, online, played, win, seasonPlayed, seasonWin, personalRating = GetArenaTeamRosterInfo(teamindex, playerid);

Parameters

Arguments

teamindex
Index of the team you want information on, can be a value between 1 and 3.
playerindex
Index of the team member. Starts at 1.

Returns

name
String - Name of the player.
rank
Integer - 0 denotes team captain, while 1 denotes a regular member.
level
Integer - Player level.
class
String - The localized class of the player.
online
Integer - 1 denotes the player being online. nil denotes the player as offline.
played
Integer - Number of games this player has played this week.
win
Integer - Number of games this player has won this week.
seasonPlayed
Integer - Number of games played the entire season.
seasonWin
Integer - Number of games this player has won this week.
personalRating
Integer - Players personal rating with this team