WoW:API GetBattlefieldTeamInfo: Difference between revisions
Jump to navigation
Jump to search
(→Remarks: Removed the sign/documented by. See http://www.wowwiki.com/WoWWiki_talk:Village_pump#Stop_the_signing_and_discussing_please) |
m (Move page script moved page API GetBattlefieldTeamInfo to API GetBattlefieldTeamInfo without leaving a redirect) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | |||
Returns information regarding an Arena team | |||
teamName, oldTeamRating, newTeamRating, teamRating = GetBattlefieldTeamInfo( index ); | |||
== Parameters == | |||
=== Arguments === | |||
:( index ) | |||
:;index : Integer - Which team to get information on, 0 is Green team and 1 is Gold Team | |||
---- | |||
=== Returns === | |||
: 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 === | |||
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 | |||
Latest revision as of 04:45, 15 August 2023
← 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.