WoW API: RequestBattlegroundInstanceInfo

From AddOn Studio
Jump to navigation Jump to search

WoW API < RequestBattlegroundInstanceInfo

Requests information about the available instances of a particular battleground.

RequestBattlegroundInstanceInfo(index);

Arguments[edit]

index
Number - Index of the battleground type to request instance information for; valid indices start from 1 and go up to GetNumBattlegroundTypes().

Triggers events[edit]

Notes[edit]

  • Calling JoinBattlefield after calling this function, but before {api|t=e|PVPQUEUE_ANYWHERE_SHOW}}, will fail silently; you must wait for the instance list to become available before you can queue for an instance.

See Also[edit]