Get the winner of the battleground
battlefieldWinner = GetBattlefieldWinner()
Parameters
Arguments
None
---
Returns
- battlefieldWinner
- battlefieldWinner
- Integer - Faction/Team that has won the battlefield/arena. Results are: nil if nobody has won, 0 for Horde and 1 for Alliance in a battleground, 0 for Green Team and 1 for Yellow in an arena.
Details
- Gets the winner of the current battleground that the player is inside.
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |