Fandom

WoWWiki

API GetBattlefieldTeamInfo

104,809pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetBattlefieldTeamInfo

Returns information regarding an Arena team

teamName, oldTeamRating, newTeamRating, teamRating = GetBattlefieldTeamInfo( index );

Parameters Edit

Arguments Edit

( index )
index 
Integer - Which team to get information on, 0 is Green team and 1 is Gold Team

Returns Edit

teamName, oldTeamRating, newTeamRating
teamName 
String - Teams name inside a rated arena match.
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
teamRating 
Integer - Formerly known as match making rating

Details Edit

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.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.