RSS

Суббота, 21.12.2024, 16:49
Главная » WoW API » API Функции » Арена »

GetArenaTeam

[ править ]
Returns information about one of the player's arena teams.
[клоны]
Returns information about one of the player's arena teams.

Signature:
Code
teamName, teamSize, teamRating, teamPlayed, teamWins, seasonTeamPlayed, seasonTeamWins, playerPlayed, seasonPlayerPlayed, teamRank, playerRating, bg_red, bg_green, bg_blue, emblem, emblem_red, emblem_green, emblem_blue, border, border_red, border_green, border_blue = GetArenaTeam(team)

Arguments:
  • team - Index of one of the player's arena teams (number, arenaTeamID)

Returns:
  • teamName - Name of the arena team (string)
  • teamSize - Size of the team (2 for 2v2, 3 for 3v3, or 5 for 5v5) (number)
  • teamRating - The team's current rating (number)
  • teamPlayed - Number of games played by the team in the current week (number)
  • teamWins - Number of games won by the team in the current week (number)
  • seasonTeamPlayed - Number of games played by the team in the current arena season (number)
  • seasonTeamWins - Number of games won by the team in the current arena season (number)
  • playerPlayed - Number of games in which the player has participated in the current week (number)
  • seasonPlayerPlayed - Number of games in which the player has participated in the current arena season (number)
  • teamRank - The team's current rank among same-size teams in its battlegroup (number)
  • playerRating - The player's personal rating with this team (number)
  • bg_red - Red component of the color value for the team banner's background (number)
  • bg_green - Green component of the color value for the team banner's background (number)
  • bg_blue - Blue component of the color value for the team banner's background (number)
  • emblem - Index of the team's emblem graphic; full path to the emblem texture can be found using the format "Interface\PVPFrame\Icons\PVP-Banner-Emblem-"..emblem (number)
  • emblem_red - Red component of the color value for the team banner's emblem (number)
  • emblem_green - Green component of the color value for the team banner's emblem (number)
  • emblem_blue - Blue component of the color value for the team banner's emblem (number)
  • border - Index of the team's border graphic; full path to the border texture can be found by using the format "Interface\PVPFrame\PVP-Banner-"..teamSize.."-Border-"..border (number)
  • border_red - Red component of the color value for the team banner's border (number)
  • border_green - Green component of the color value for the team banner's border (number)
  • border_blue - Blue component of the color value for the team banner's border (number)

Также смотрите: Арена , Arena functions
Ссылки: http://wowprogramming.com/docs/api/GetArenaTeam