WoW:API GetArenaTeamRosterInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Initial import.)
 
m (Move page script moved page API GetArenaTeamRosterInfo to API GetArenaTeamRosterInfo without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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

Latest revision as of 04:45, 15 August 2023

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[edit]

Arguments[edit]

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[edit]

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