WoW API: GetArenaTeamRosterInfo

Revision as of 23:55, 19 November 2007 by WoWWiki>Shadowed (Added personalRating)

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