WoW:API GetBattlefieldWinner: Difference between revisions
Jump to navigation
Jump to search
no edit summary
(→Returns: Returns nil, 0 or 1 not nil, 1, 2) |
No edit summary |
||
| Line 1: | Line 1: | ||
{{wowapi}} | |||
<center>'''GetBattlefieldWinner()''' ''-Documentation by [[user:Klishu|Klishu]]-''</center> | <center>'''GetBattlefieldWinner()''' ''-Documentation by [[user:Klishu|Klishu]]-''</center> | ||
| Line 16: | Line 18: | ||
:winnerCode | :winnerCode | ||
:;winnerCode : integer - A code indicating the battleground | :;winnerCode : integer - A code indicating if you've won the current battleground. (nil for no; 1 for yes) | ||
==Details== | ==Details== | ||
<!-- Details not appropriate for the main description can go here --> | <!-- Details not appropriate for the main description can go here --> | ||
: Returns an interger value which can be nil | : Returns an interger value which can be nil or 1 indicating whether the player has won the current battleground he is in. Returns nil if the player is not in a battleground or the battle still hasn't ended yet. | ||
---- | ---- | ||
__NOTOC__ | __NOTOC__ | ||