→Returns: Returns nil, 0 or 1 not nil, 1, 2
No edit summary |
(→Returns: Returns nil, 0 or 1 not nil, 1, 2) |
||
| Line 16: | Line 16: | ||
:winnerCode | :winnerCode | ||
:;winnerCode : integer - A code indicating the battleground winner. (nil for no one; 1 for Alliance | :;winnerCode : integer - A code indicating the battleground winner. (nil for no one; 0 for Horde; 1 for Alliance) | ||
==Details== | ==Details== | ||
<!-- Details not appropriate for the main description can go here --> | <!-- Details not appropriate for the main description can go here --> | ||
: Returns an | : Returns an interger value which can be nil, 0 or 1 indicating the winner of the current battleground the player is in. If the battleground isn't finished or they aren't inside one nil is returned. | ||
---- | ---- | ||
__NOTOC__ | __NOTOC__ | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||