WoW:API GetArenaTeam: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
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.


  teamName, teamSize, teamRating, weekPlayed, weekWins, seasonPlayed, seasonWins, playerPlayed, teamRank = GetArenaTeam(id);
  teamName, teamSize, teamRating, weekPlayed, weekWins, seasonPlayed, seasonWins, playerPlayed, seasonPlayerPlayed, teamRank, playerRating = GetArenaTeam(id);


== Parameters ==
== Parameters ==
Line 20: Line 20:
:;seasonWins : Integer - Total games that the team has played this season
:;seasonWins : Integer - Total games that the team has played this season
:;playerPlayed : Integer - Total games that the player has played this week
:;playerPlayed : Integer - Total games that the player has played this week
:;seasonPlayerPlayed : Integer - Total games that the player has played this season
:;teamRank : Integer - Current ranking the team is, this is typically updated when arena points calculate
:;teamRank : Integer - Current ranking the team is, this is typically updated when arena points calculate
:;playerRating : Integer - Player rating, 1850 or more to buy weapons and 2000 to buy shoulders
:;background (red) : Float - Amount of red in the teams banner background
:;background (red) : Float - Amount of red in the teams banner background
:;background (green) : Float - Amount of green in the teams banner background
:;background (green) : Float - Amount of green in the teams banner background
Anonymous user