WoW API: GetBattlefieldWinner
Jump to navigation
Jump to search
Get the winner of the battleground
battlefieldWinner = GetBattlefieldWinner()
Parameters
Arguments
None
Returns
- battlefieldWinner
- battlefieldWinner
- Integer - A code indicating the battleground winner. (nil for no one; 0 for Horde; 1 for Alliance)
Details
- Gets the winner of the current battleground that the player is inside.