WoW API: GetBattlegroundInfo

From AddOn Studio
Revision as of 12:30, 21 August 2009 by WoWWiki>Starlightblunder (Created page with '{{wowapi}} Returns information about a battleground type. name, canEnter, isHoliday, minLevel = GetBattlegroundInfo(index); ==Arguments== ;index : Number: battleground type ind...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.