Requests information about available instances of a battleground from the server. The PVPQUEUE_ANYWHERE_SHOW
event fires once information is available; data can then be retrieved by calling GetNumBattlefields()
and GetBattlefieldInstanceInfo()
.
See also Battlefield functions.
Signature:
RequestBattlegroundInstanceInfo(index)
Arguments:
index
- Index of a battleground (between 1 andNUM_BATTLEGROUNDS
) (number
)
This function must query the remote server, and any results will not be immediately available to the game client. Please see the function's documentation for more information about how to retrieve any results.