WoW API: GetBattlegroundInfo
← WoW API < GetBattlegroundInfo
Returns information about a battleground type.
name, canEnter, isHoliday, minLevel = GetBattlegroundInfo(index);
Arguments
- index
- Number: battleground type index, 1 to GetNumBattlegroundTypes().
Returns
- name
- String - Localized battleground name.
- canEnter
- Flag - 1 if the player can queue for this battleground, nil otherwise.
- isHoliday
- Flag - 1 if this battleground is currently granting bonus honor due to a battleground holiday, nil otherwise.
- minLevel
- Number - Minimum character level required to queue for this battleground.