WoW API: GetBattlefieldWinner

From AddOn Studio
Revision as of 17:30, 12 July 2006 by WoWWiki>Shadowed (Forgot to change some things when changing this to another format)
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.

WoW API < GetBattlefieldWinner