API GetNumBattlegroundTypes

Returns the number of battleground types. numBattlegrounds = GetNumBattlegroundTypes;

Returns

 * numBattlegrounds : Number - the number of distinct battleground types offered by the server. The player may not be able to join all of those due to level restrictions.