WoW:API GetArenaTeamRosterInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Initial import.)
 
(Added personalRating)
Line 2: Line 2:
Requests information regarding the arena team that the player is in, see Returns for a full list of what this returns.
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 = GetArenaTeamRosterInfo(teamindex, playerid);
  name, rank, level, class, online, played, win, seasonPlayed, seasonWin, personalRating = GetArenaTeamRosterInfo(teamindex, playerid);


== Parameters ==
== Parameters ==
Line 22: Line 22:
:;seasonPlayed : Integer - Number of games played the entire season.
:;seasonPlayed : Integer - Number of games played the entire season.
:;seasonWin : Integer - Number of games this player has won this week.
:;seasonWin : Integer - Number of games this player has won this week.
:;personalRating : Integer - Players personal rating with this team

Revision as of 23:55, 19 November 2007

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