WoW:API GetBattlefieldTeamInfo: Difference between revisions

no edit summary
(Cleaned up)
No edit summary
Line 2: Line 2:
Returns information regarding an Arena team
Returns information regarding an Arena team
   
   
  teamName, oldTeamRating, newTeamRating = GetBattlefieldTeamInfo( index );
  teamName, oldTeamRating, newTeamRating, teamRating = GetBattlefieldTeamInfo( index );


== Parameters ==
== Parameters ==
Line 17: Line 17:
:;oldTeamRating : Integer - Old rating that the team entered with (0 is no team is found)
:;oldTeamRating : Integer - Old rating that the team entered with (0 is no team is found)
:;newTeamRating : Integer - New rating that the team is leaving with
:;newTeamRating : Integer - New rating that the team is leaving with
:;teamRating : Integer - Formerly known as ''match making rating''


----
----
=== Details ===
=== Details ===
This cannot be used until the arena has ended and UPDATE_BATTLEFIELD_SCORE is fired, if for some reason a game ends as soon as it starts with no enemy team joining, oldTeamRating will be 0.
This cannot be used until the arena has ended and UPDATE_BATTLEFIELD_SCORE is fired, if for some reason a game ends as soon as it starts with no enemy team joining, oldTeamRating will be 0.
Anonymous user