Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(→‎Returns: playerRating -> personalRating, it's referred to as personal rating pretty much every where.)
KethoBot (talk | contribs)
m (Details)
Tag: WoW API docs
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
+
{{wowapi}}
 
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, seasonPlayerPlayed, teamRank, playerRating = GetArenaTeam(id);
+
teamName, teamSize, teamRating, weekPlayed, weekWins, seasonPlayed, seasonWins, playerPlayed, seasonPlayerPlayed, teamRank, playerRating = GetArenaTeam(id)
   
== Parameters ==
+
==Parameters==
=== Arguments ===
+
===Arguments===
 
:;index:Index of the team you want information on, can be a value between 1 and 3.
 
:;index : Index of the team you want information on, can be a value between 1 and 3.
 
   
 
----
 
----
=== Returns ===
+
===Returns===
 
:;teamName:{{apitype|string}} - Teams name, nil if they aren't on a team or the data wasn't received yet.
 
 
:;teamSize:{{apitype|number}} - Team size (2, 3 or 5)
:;teamName : String - Teams name, nil if they aren't on a team or the data wasn't received yet.
 
  +
:;teamRating:{{apitype|number}} - Teams rating, for a team that hasn't played any games this season it'll be 1500
:;teamSize : Integer - Team size (2, 3 or 5)
 
:;teamRating : Integer - Teams rating, for a team that hasn't played any games this season it'll be 1500
+
:;weekPlayed:{{apitype|number}} - Total games the team has played for the current week
:;weekPlayed : Integer - Total games the team has played for the current week
+
:;weekWins:{{apitype|number}} - Total games the team has won for the current week
:;weekWins : Integer - Total games the team has won for the current week
+
:;seasonPlayed:{{apitype|number}} - Total games that the team has played this season
:;seasonPlayed : Integer - Total games that the team has played this season
+
:;seasonWins:{{apitype|number}} - Total games that the team has played this season
:;seasonWins : Integer - Total games that the team has played this season
+
:;playerPlayed:{{apitype|number}} - Total games that the player has played this week
:;playerPlayed : Integer - Total games that the player has played this week
+
:;seasonPlayerPlayed:{{apitype|number}} - Total games that the player has played this season
 
:;teamRank:{{apitype|number}} - Teams current ranking, this is updated once a week typically when points are calculated
:;seasonPlayerPlayed : Integer - Total games that the player has played this season
 
 
:;personalRating:{{apitype|number}} - Players personal rating with this team
:;teamRank : Integer - Teams current ranking, this is updated once a week typically when points are calculated
 
 
:;background (red):Float - Amount of red in the teams banner background
:;personalRating : Integer - Players personal rating, used for arena season 3
 
:;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
+
:;background (blue):Float - Amount of blue in the teams banner background
  +
:;emblem:{{apitype|number}} - Emblem graphic name
:;background (blue) : Float - Amount of blue in the teams banner background
 
:;emblem : Integer - Emblem graphic name
+
:;emblem - (red):Float - Amount of red in the teams emblem color
:;emblem - (red) : Float - Amount of red in the teams emblem color
+
:;emblem - (green):Float - Amount of green in the teams emblem color
:;emblem - (green) : Float - Amount of green in the teams emblem color
+
:;emblem (blue):Float - Amount of blue in the teams emblem color
  +
:;border:{{apitype|number}} - Border graphic name
:;emblem (blue) : Float - Amount of blue in the teams emblem color
 
:;border : Integer - Border graphic name
+
:;border (red):Float - Amount of red in the teams border color
:;border (red) : Float - Amount of red in the teams border color
+
:;border (green):Float - Amount of green in the teams border color
:;border (green) : Float - Amount of green in the teams border color
+
:;border (blue):Float - Amount of blue in the teams border color
:;border (blue) : Float - Amount of blue in the teams border color
 
   
 
----
 
----
   
=== Details ===
+
==Details==
 
The team information is not kept up to date ARENA_TEAM_UPDATE is fired when the client gets the team information. The game will call [[API ArenaTeamRoster|ArenaTeamRoster]] when the player first logs in and when the game ends.
 
The team information is not kept up to date ARENA_TEAM_UPDATE is fired when the client gets the team information. The game will call [[API ArenaTeamRoster|ArenaTeamRoster]] when the player first logs in and when the game ends.
   
 
Emblem graphics are located in Interface\\PVPFrame\\Icons\\PVP-Banner-Emblem-##
 
Emblem graphics are located in Interface\\PVPFrame\\Icons\\PVP-Banner-Emblem-##
 
Interface\\PVPFrame\\PVP-Banner-<TEAM SIZE>-Border-<BORDER NUMBER>
 
Interface\\PVPFrame\\PVP-Banner-<TEAM SIZE>-Border-<BORDER NUMBER>
  +
  +
==Patch changes==
  +
{{Patch 5.4.0|note=Removed.}}

Latest revision as of 17:23, 3 August 2022

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, seasonPlayerPlayed, teamRank, playerRating = GetArenaTeam(id)

Parameters

Arguments

index
Index of the team you want information on, can be a value between 1 and 3.

Returns

teamName
string - Teams name, nil if they aren't on a team or the data wasn't received yet.
teamSize
number - Team size (2, 3 or 5)
teamRating
number - Teams rating, for a team that hasn't played any games this season it'll be 1500
weekPlayed
number - Total games the team has played for the current week
weekWins
number - Total games the team has won for the current week
seasonPlayed
number - Total games that the team has played this season
seasonWins
number - Total games that the team has played this season
playerPlayed
number - Total games that the player has played this week
seasonPlayerPlayed
number - Total games that the player has played this season
teamRank
number - Teams current ranking, this is updated once a week typically when points are calculated
personalRating
number - Players personal rating with this team
background (red)
Float - Amount of red in the teams banner background
background (green)
Float - Amount of green in the teams banner background
background (blue)
Float - Amount of blue in the teams banner background
emblem
number - Emblem graphic name
emblem - (red)
Float - Amount of red in the teams emblem color
emblem - (green)
Float - Amount of green in the teams emblem color
emblem (blue)
Float - Amount of blue in the teams emblem color
border
number - Border graphic name
border (red)
Float - Amount of red in the teams border color
border (green)
Float - Amount of green in the teams border color
border (blue)
Float - Amount of blue in the teams border color

Details

The team information is not kept up to date ARENA_TEAM_UPDATE is fired when the client gets the team information. The game will call ArenaTeamRoster when the player first logs in and when the game ends.

Emblem graphics are located in Interface\\PVPFrame\\Icons\\PVP-Banner-Emblem-## Interface\\PVPFrame\\PVP-Banner-<TEAM SIZE>-Border-<BORDER NUMBER>

Patch changes

Mists of Pandaria Patch 5.4.0 (2013-09-10): Removed.