WoW:API IsActiveBattlefieldArena: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Small formatting change) |
||
Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | |||
Used for checking if the player is inside an arena or if it's a rated match | |||
isArena, isRegistered = IsActiveBattlefieldArena(); | |||
== Parameters == | |||
=== Returns === | === Returns === | ||
:; | :; isArena : Integer - 1 if the player is inside an arena, nil if they aren't | ||
:; | :; isRegistered : Integer - 1 if the player is playing a rated arena match, nil if they aren't | ||
Revision as of 03:38, 25 March 2007
← WoW API < IsActiveBattlefieldArena
Used for checking if the player is inside an arena or if it's a rated match
isArena, isRegistered = IsActiveBattlefieldArena();
Parameters
Returns
- isArena
- Integer - 1 if the player is inside an arena, nil if they aren't
- isRegistered
- Integer - 1 if the player is playing a rated arena match, nil if they aren't